Skip to main content

The unofficial API to the TSA Compass membership database

Project description

Compass Interface - Core

PyPI - Python Version PyPI - Status PyPI Latest Release Conda Latest Release License Code style: black

The Compass Interface project aims to provide a unified and well-documented API to the Scouts' national membership system, Compass.

Notice

This is not an official API to Compass and as such should be used in a way that doesn't cause a high request load on the Compass system.

Please also remember your personal data handling obligations (under both GDPR and Scouting policies) whilst using this module.

Where to get it

The source code for the project is hosted on GitHub at the-scouts/compass-interface-core

Installers for the latest release are availibe on Conda and at the Python Package Index (PyPI).

# conda
conda install compass-interface-core
# or PyPI
pip install compass-interface-core

Dependencies

License

Compass Interface - Core is naturally open source and is licensed under the MIT license.

Core Module

This sub-project hosts the extraction functionaility of Compass Interface, and is itself a standalone module for querying Compass.

The main project is found at the-scouts/compass-interface.

Example Usage

import compass as ci

# Turn on debug logging for development
ci.logging.enable_debug_logging()

# Login to Compass
compass_session = ci.logon(username=..., password=...)

# Setup Compass Helpers
hierarchy = ci.Hierarchy(compass_session)
people = ci.People(compass_session)

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

compass-interface-core-0.2.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

compass_interface_core-0.2.0-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file compass-interface-core-0.2.0.tar.gz.

File metadata

  • Download URL: compass-interface-core-0.2.0.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for compass-interface-core-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ad9090106b5e0a466306c88a11f5e56625b228714fd0ef39bf8ea3c179258ac8
MD5 2c3f438c99305a405575c612acd8923c
BLAKE2b-256 eefcb494e3d95de4d1c8fff8aa9f413aaab7520e0c227f2f24f6c4cf175cf686

See more details on using hashes here.

File details

Details for the file compass_interface_core-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: compass_interface_core-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for compass_interface_core-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5e5847e9176f52558a28c4444c81ef2bf36beacf0377778d0e211606afbe8532
MD5 067112a246abaf20fcb604ba1f819e51
BLAKE2b-256 c380016f9c77ce5025582eac9104892c8a80d031f2147e01f0be4df8b5a200d1

See more details on using hashes here.

Supported by

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