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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file markwrap-0.0.20.tar.gz.

File metadata

  • Download URL: markwrap-0.0.20.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for markwrap-0.0.20.tar.gz
Algorithm Hash digest
SHA256 89f2cf36d82d2279ad8e0ffd706ecb351ccda409b9f8c689719de57896a531c2
MD5 f1ec05f13584bb2cd7e2248f51632c0b
BLAKE2b-256 15f620cd5f689c3ef150da33c435689854b7131c4f8c75033195d63f35fadab9

See more details on using hashes here.

File details

Details for the file markwrap-0.0.20-py3-none-any.whl.

File metadata

  • Download URL: markwrap-0.0.20-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for markwrap-0.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 3eb9b9fa2c5107020c4d7b2ae7eab17ac387749def1b3c5c9c9d37d1ba763dd9
MD5 7009846672c597732016a1050d62faaa
BLAKE2b-256 cd46c97f665e877c20de96cdd6035f28638ac988081d99e459a2f94dbabaf859

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