Skip to main content

Utility functions for statistical analyses.

Project description

Cookie's Statistics

Utility functions for statistical analyses.


Installation (for Users)

You can install the release version from PyPI.

pip install cookies_statistics

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_statistics.git
cd cookies_statistics
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_statistics.git
cd cookies_statistics
# make some changes to the code
pip install -e '.[dev]'  #  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_statistics.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_statistics-0.0.1.tar.gz
./dist/cookies_statistics-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_statistics-0.0.1.tar.gz (2.8 MB view details)

Uploaded Source

Built Distribution

cookies_statistics-0.0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file cookies_statistics-0.0.1.tar.gz.

File metadata

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

File hashes

Hashes for cookies_statistics-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8d78bccc7b6c356f3c49704fcc1d51a5ffffdb0db1c5579c30f20901d462f620
MD5 c11a94827d0fc79ab4655878fd91f861
BLAKE2b-256 c3d111859ada52a2ee7b1b57df191c28219359f0471c6872152267de966753e3

See more details on using hashes here.

File details

Details for the file cookies_statistics-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cookies_statistics-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f2aeecdef66988850aafdd89e3b24da0de574f566fb5555addac61d19078478
MD5 e67c67a41446a4e11913e98e1357b22e
BLAKE2b-256 5e482742d43076a02ef77021c9ed7c9e4e230b101a587c27bd5988c6bcf6fd7c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page