Skip to main content

Library used to query data from copy of Wait Wait Stats Database.

Project description

Overview

This project provides a Python library that provides an interface to retrieve data from a copy of the Wait Wait Stats Database.

If you are in need of a pre-built package to use to build applications, the library is available at PyPI.

Requirements

Starting with version 2.5.0, the minimum supported version of Python has been changed from Python 3.8 to 3.10. All versions prior to 3.10 will no longer be supported.

Testing for this library has been done using Python 3.10 and 3.12.

In addition to the Python version requirement, the library depends on a copy of the Wait Wait Stats Database running on a MySQL Server (or a distribution of MySQL Server like Percona) running version 8.0 or higher.

Running Tests

Included in this repository are tests that are written for use with pytest. To run the tests, simply run: pytest from the root of the repository.

A performance testing script is also included in the repository named, perf_test.py that tests the core class methods. This script can be used to create a performance baseline and also used to track changes in performance between code changes or configuration changes.

Documentation

This project uses reStructuredText located in docstrings and individual files for its documentation and makes use of Sphinx to build an HTML (and other formats supported by Sphinx) version of documents. To build the documentation for this project, use venv, virtualenv or a similar tool of your choice to create a virtual environment under docs/ and install the required packages in docs/requirements.txt, including Sphinx and the Flask theme.

The documentation style guide closely follows the one documented in the Python Developer’s Guide.

Once the required packages are installed, an HTML version of the documentation can be generated by running:

make html

An online version of the documentation is also available at docs.wwdt.me

Building

After tests have been successfully run, any and all documentation updates have been made, a release wheel can then be created for distribution. To create a wheel, run the following command with the virtualenv activated.

python -m build

Known Issues

For documentation on known issues with this project, check out the Known Issues documentation on docs.wwdt.me.

Code of Conduct

This projects follows version 2.1 of the Contributor Covenant’s Code of Conduct. A copy of the Code of Conduct document is included in this repository.

License

This library is licensed under the terms of the Apache License 2.0.

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

wwdtm-2.18.1b0.tar.gz (63.1 kB view details)

Uploaded Source

Built Distribution

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

wwdtm-2.18.1b0-py3-none-any.whl (56.0 kB view details)

Uploaded Python 3

File details

Details for the file wwdtm-2.18.1b0.tar.gz.

File metadata

  • Download URL: wwdtm-2.18.1b0.tar.gz
  • Upload date:
  • Size: 63.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for wwdtm-2.18.1b0.tar.gz
Algorithm Hash digest
SHA256 12a679507cdb0160c9cb45a06a6d5e2c2fa2f8fae16630c725aafe39f40b5889
MD5 469ea13045d4161f6af714f49761cd2b
BLAKE2b-256 b582866e4bf0ddaf76b912d03d44d15518079615e08820e1aa1abe5d280eafc2

See more details on using hashes here.

File details

Details for the file wwdtm-2.18.1b0-py3-none-any.whl.

File metadata

  • Download URL: wwdtm-2.18.1b0-py3-none-any.whl
  • Upload date:
  • Size: 56.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for wwdtm-2.18.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 caa95aea38339fc0703e4cb00b998a95e45b18eedf3724c85f3479e23ed09f0b
MD5 174edeb0bd0071ee428b8e7e74e9722f
BLAKE2b-256 d0e055839718e31f82c1b240ea03240784e61beb064fba3bea5de6969743fdae

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