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
Release history Release notifications | RSS feed
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.2.2.tar.gz
(8.3 kB
view details)
File details
Details for the file consign-0.2.2.tar.gz
.
File metadata
- Download URL: consign-0.2.2.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dba30cb79041f39a66778b04d5d51f991487548d29a16d93e9c83b1f3f54883a |
|
MD5 | 587205cf2521deb4e8b2c4096daf1c2b |
|
BLAKE2b-256 | cfecc77dfdb7d8a037e2f826b3acfb2474ce77ef1859f71b54155016b62302c8 |