Skip to main content

Utility functions.

Project description

Cookie's Utilities

Utility functions and classes.


Installation (for Users)

You can install the release version from PyPI.

pip install cookies_utilities

If you want to use the latest version that has not been released, clone this repository and install from the local directory.

git clone https://github.com/CookieBox26/cookies_utilities.git
cd cookies_utilities
pip install .

Development Guide (for Developers)

Please execute the following at the root of the repository.

Test locally

Please run the following commands.

git clone https://github.com/CookieBox26/cookies_utilities.git
cd cookies_utilities
# make some changes to the code
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 ..

If you are not an administrator, please open a pull request at this point.

Build and upload the distribution archives (for administrator only)

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

Then 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.4.tar.gz (2.8 MB view details)

Uploaded Source

Built Distribution

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

cookies_utilities-0.0.4-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file cookies_utilities-0.0.4.tar.gz.

File metadata

  • Download URL: cookies_utilities-0.0.4.tar.gz
  • Upload date:
  • Size: 2.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for cookies_utilities-0.0.4.tar.gz
Algorithm Hash digest
SHA256 9922b2b57a3f0c397c36ddd2c5bfed409cc29baf872275cf8d704f7cecd81b09
MD5 fe6bccee1606e854bfc8b12df717cde9
BLAKE2b-256 d4f9fdaedcc5d1b7c2ab533daff714f2600ae884423f855ae5654624df658218

See more details on using hashes here.

File details

Details for the file cookies_utilities-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for cookies_utilities-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a5dd9260d4e77176bd22c7b81defb23f0d5b5715d6e7869d8c3b00579b2d654c
MD5 6406a3596f5f26409d4853a33400d08d
BLAKE2b-256 4a2966f0619627e7b3d1a36067f8a42a5796d51512397ca3252f480bf7018237

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