Skip to main content

Reusable python scripts and snippets I find useful

Project description

Latest version Supported Python versions https://travis-ci.org/pignacio/pignacio_scripts.svg?branch=master https://coveralls.io/repos/pignacio/pignacio_scripts/badge.svg?branch=master License

Reusable python scripts and snippets I find useful.

This is a bundle of scripts and snippets I packaged to avoid copypasting code.

Some are tested, some are not. Some are not tested at all.

You’ve been warned: here be dragons.

Suggestions, comments, bug reports and pull requests are always accepted. :)

Features

History

0.0.2 (2015-04-30)

  • Simpler NagiosLogger interface. (backwards incompatible)

  • Feature: Testcase.assertSoftCalledWith method for mock partial call assertions.

  • FIX: NagiosLogger was not restoring stdout.

  • FIX: NagiosLogger choked when output contained empty lines.

  • Feature: namedtuple_with_defaults uses a lambda instead of a classmethod for mutable defaults. (backwards incompatible)

0.0.1 (2015-03-29)

  • Packaging

  • Namedtuple with defaults

  • Mock namedtuple

  • NagiosLogger

  • Custom TestCase

  • capture_stdout

  • Colors for the terminal

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pignacio_scripts-0.0.2.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pignacio_scripts-0.0.2-py2.py3-none-any.whl (4.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pignacio_scripts-0.0.2.tar.gz.

File metadata

File hashes

Hashes for pignacio_scripts-0.0.2.tar.gz
Algorithm Hash digest
SHA256 087376e69427ab45dbcb6fb3a3ca41dbbe2ce2da411c7a6b564c60a18cc37063
MD5 5febc917b2970fafa1e88ee4ce4a6b56
BLAKE2b-256 c80832369520a9122275378f7895929bc6f20dd3a76661bbdea29171b55a2d27

See more details on using hashes here.

File details

Details for the file pignacio_scripts-0.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pignacio_scripts-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 048813a4100afb49f55f4224ffe8269ab057b57cb5134fd9c49e8300f1758ff9
MD5 58bdb9a88a697e424d76e51e215ee468
BLAKE2b-256 06d4a8eef221abc6c5248d5f6f65a2da694ad76cf84cd0173b46e1991b2343d9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page