Metadata-Version: 2.1
Name: wwdtm
Version: 2.0.4
Summary: Library used to query data from copy of Wait Wait Stats Database.
Home-page: https://github.com/questionlp/wwdtm
Author: Linh Pham
Author-email: dev@wwdt.me
License: Apache-2.0
Project-URL: Source Code, https://github.com/questionlp/wwdtm
Project-URL: Issue Tracker, https://github.com/questionlp/wwdtm/issues
Project-URL: Twitter, https://twitter.com/questionlp
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.8
Description-Content-Type: text/x-rst
License-File: LICENSE

***********************
Wait Wait Stats Library
***********************

**NOTE:** This version of the Wait Wait Stats Library contained in this
repository is currently in its early stages of development and should not be
considered stable or ready for use. There will be breaking changes made and
significant amount of refactoring left to do as code is ported into this new
library.

For the current version of the library, check out the `libwwdtm`_ repository.

Overview
========

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

Requirements
============

This version of the library is developed to use features that are included
in Python 3.8; and, thus, is the minimum version of Python supported.

In addition to the Python version requirement, the library depends on a copy
of the `Wait Wait Stats Database`_ that runs on MariaDB or MySQL.

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:

.. code-block:: shell

    make html

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

Known Issues
============

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


.. _reStructuredText: https://docutils.sourceforge.io/rst.html
.. _Sphinx: https://www.sphinx-doc.org/en/master/
.. _Flask: https://flask.palletsprojects.com/
.. _Python Developer's Guide: https://devguide.python.org/documenting/#style-guide
.. _docs.wwdt.me: https://docs.wwdt.me/
.. _Known Issues: https://docs.wwdt.me/known_issues.html

Code of Conduct
===============

This projects follows version 2.1 of the `Contributor Convenant's`_ Code of
Conduct. A copy of the `Code of Conduct`_ document is included in this
repository.

.. _Contributor Convenant's: https://www.contributor-covenant.org/
.. _Code of Conduct: https://github.com/questionlp/wwdtm/blob/main/CODE_OF_CONDUCT.md

License
=======

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

.. _libwwdtm: https://github.com/questionlp/libwwdtm
.. _Wait Wait Stats Database: https://github.com/questionlp/wwdtm_database
.. _Apache License 2.0: https://github.com/questionlp/wwdtm/blob/main/LICENSE


