Skip to main content

Utility functions.

Project description

Cookie's Utilities

Utility functions and classes.


Development Guide

Please execute the following at the root of the repository.

Test locally

Please run the following commands.

pip install -e .  # install the package in editable mode
python -m unittest discover tests -v  # test

If an error occurs, you can fix the code and rerun the tests without having to reinstall the package.

Update documentation

If you add a new function or class, please update the documentation accordingly.

cd docs
vi source/cookies_utilities.rst  # add a new function or class
./make.bat html  # or 'make html' (not on Windows)
# Please open 'docs/build/html/index.html' in your browser and check the content.
cd ..

Build the distribution archives

Please run the following commands. More details are here.

pip install --upgrade build  # upgrade 'build'
python -m build

The following files will be generated.

./dist/cookies_utilities-0.0.1.tar.gz
./dist/cookies_utilities-0.0.1-py3-none-any.whl

Upload the distribution archives to TestPyPI (PyPI)

Please run the following commands. More details are here.

pip install --upgrade twine
python -m twine upload --repository testpypi dist/*  # TestPyPI
python -m twine upload dist/*  # PyPI

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

cookies_utilities-0.0.2.tar.gz (2.8 MB view hashes)

Uploaded Source

Built Distribution

cookies_utilities-0.0.2-py3-none-any.whl (3.9 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