A Python wrapper for the Polympics API.


Keywords
api-wrapper, polytopia
License
MIT
Install
pip install polympics==0.6.2

Documentation

Polympics API Python Wrapper

This project is available on PyPI, and can be installed with

$ python3 -m pip install polympics

(Or the equivalent for however you use pip.)

For instructions on setting the project up for development, see below.

Setup

This project requires Python3.9+ (Python 4 is not acceptable). Depending on your operating system, you may be able to install it from your package manager, an external PPA (like deadsnakes), or the official website.

This project uses pipenv to manage dependencies. To get started, you'll need to install pipenv from PyPI, eg:

$ python3 -m pip install pipenv

Once you have pipenv installed, you can create a virtual enviroment and install the project's dependencies with

$ pipenv shell
$ pipenv install

To additionally install development dependencies, do

$ pipenv install -d

Testing

Automated testing requires having a server set up on 127.0.0.1:8000. See the server repo for instructions on how to set this up.

Usage

Docs are available here.