Skip to main content

Python wrappers around common dependencies

Project description

https://travis-ci.org/willmarkley/markwrap.svg?branch=master

Python wrappers around common dependencies

Goals

The goal of this Python package is to simplify calling common dependencies. Each module of the package wraps the calls of a dependency. Additionally, each module:

  • logs every stage of the dependency call, as well as an errors that occur

  • rigoriously validates the input before passing it to a dependency

  • liberally raises exceptions

A client of this package should be confident that no silent error has occured. Additionally, if an error occurs, the client should be able to easily trace it in the logs. Finally, if no error is brought to attend, then the client should be confident the functionality of the dependency correctly occured.

Dependencies

  • Python dependencies:

    • See setup.py for runtime dependencies

    • See requirements.txt for all dependencies

    • To install: pip install -r requirements.txt

  • Non-python dependencies:

Testing

gpg --import markwrap/test/tst.resources/4C7798F2.asc
echo -e "5\ny\n" | gpg --command-fd 0 --edit-key 4C7798F2 trust
pytest --log-format="[%(levelname)s] %(module)s.%(funcName)s - %(message)s"

Warning: the 4C7798F2 will be added to your default gpg keyring on whichever system this command is run

Note: the 4C7798F2 was a publically available key retrieved from the python-gnupg test_secring.gpg

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

markwrap-0.0.20.tar.gz (7.6 kB view hashes)

Uploaded Source

Built Distribution

markwrap-0.0.20-py3-none-any.whl (21.1 kB view hashes)

Uploaded Python 3

Supported by

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