Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

Datapunt Objectstore Libary

https://img.shields.io/badge/python-3.6%2C%203.5%2C%203.6-blue.svg https://img.shields.io/badge/license-MPLv2.0-blue.svg

Objecstore Libary

$ pip install datapunt-objectstore

Contains common used objectstore code for our API’s.

During import / ETL tasks we offten use data uploaded to the objecstore from data sources.

Contributing

Found a bug or want to work on the code? You can branch the repository on GitHub or file an issue at its issue tracker.

1. Install the dev dependencies in your virtual environment

$ pip install --upgrade setuptools
$ python setup.py install develop

The setuptools pakage must be upgraded (as shown above) because the version that is pre-packaged with Python 3.6 causes problems when running the tests.

When you get a PYTHONPATH error, use the install-dir argument:

$ python setup.py install develop --install-dir venv/lib/python3.6/site-packages

2. Run the tests

The test suite and test coverage are run as follows:

$ python setup.py test

The Python style checker Flake8 can be run as follows:

$ python setup.py flake8

3. Example configuration and usage

python -m objecstore.databasedumps /backups/postgres.dump objectstore_dir --upload-db

uploads given dump with a date and environment informtion to objectstore

python -m objecstore.databasedumps downloaddir objectstore_dir --download-db

Dowload latest dump with the name database.environment.latestdate.dump from given environmnet with from location directory in objectstore. - WILL DELETE OLD DUMPS more then 20 days old.

Release files for datapunt-objectstore 2020.9.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for datapunt-objectstore 2020.9.7
File Interpreter ABI Platform
datapunt_objectstore-2020.9.7-py3-none-any.whl Python 3 none any Details

Release files / datapunt_objectstore-2020.9.7-py3-none-any.whl

Download URL datapunt_objectstore-2020.9.7-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1d5a59cd31977395a480945fa788ce6bcc71d28fa251f19a814199f99bc3b17
BLAKE2b-256 checksum
How to use checksums
9310aa2eda3b6f0143adda5f498e28de5d7904ea94de9ecf7179721baa5f536c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.8
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page