Skip to main content

Python storage for humans.

Project description

Consign

Consign is a simple library to validate and store data in different sources.

>>> import consign
>>> import requests
>>> r = requests.get('https://api.github.com/user', auth=('user', 'pass'))
>>> r.status_code
200
>>> consign.text(r.text, './local_file.txt')
>>> consign.json(r.json(), './local_file.json')
>>> consign.blob(r.json(), './cloud_file.json', provider='azure', connection_string=private_keys, container=container_name)

Consign allows you to validate and store data extremely easily, whether in a local file or in a cloud storage.

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

consign-0.1.5.tar.gz (8.4 kB view hashes)

Uploaded Source

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