Skip to main content

A python client to query the PureGym mobile API for live gym attendance

Reason this release was yanked:

PureGym V1 API deprecated

Project description

puregym-attendance

puregym-attendance is a Python client to query the PureGym Mobile API for live gym attendance statistics.

Installation

pip install puregym_attendance

Usage

puregym.py [email] [pin]

Optional Arguments
--gym [gym name OR gym ID] (defaults to puregym home gym)

Dependencies

Poetry - pip install poetry

  • poetry install will install the necessary packages into a venv from there.

  • poetry shell will enter into that venv for development.

  • poetry add [package] will add a package to the venv and associated lockfile.

  • poetry run python puregym.py [email] [pin] (per the Usage section) will run the script inside the venv without leaving your local environment.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

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

puregym_attendance-0.1.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

puregym_attendance-0.1.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file puregym_attendance-0.1.1.tar.gz.

File metadata

  • Download URL: puregym_attendance-0.1.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.2 Darwin/24.1.0

File hashes

Hashes for puregym_attendance-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7fed202f5af8d1ebdf34b5d5cf7be8a903f41cf78f97e94c4bce909deb323d38
MD5 705c001a04497704cd8f155cccbd7543
BLAKE2b-256 09e3e312ba7afb20c086efe1a1c6aca642e1e8aa4a9317e6e6da57d5ac8d61a1

See more details on using hashes here.

File details

Details for the file puregym_attendance-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: puregym_attendance-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.2 Darwin/24.1.0

File hashes

Hashes for puregym_attendance-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f5999ac97e0b5e71c03a4708bd00047d3ea0a3eea26157a1eb017d38c8b932c5
MD5 496d28f87872d8f92a37556bba748b8a
BLAKE2b-256 4ed409208634bda80a1262be67e4d792384adfe133d3ffa1b5d9b7492b0f88ae

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