A package to easily download and manipulate the lcss case datasets
Project description
A wrapper around the case-repository API currently hosted at lcsscaseapi.duckdns.org (if this changes you need to chang the domain name in lcsscaseapi/constants.py
).
Any use of the wrapper begins by initializing an LCSSClient object (defined in lcsscaseapi/client.py
). This requires supplying a valid username and password. After this, requests can be made using methods of the object, and will return objects of types specified in lcsscaseapi/types.py
.
Warning: Do not write the username and password supplied to the LCSSClient object in code that is committed to a repository. Fetch these details instead from environmental variblaes. Otherwise anyone reading your repository can access the API
Testing uses pytest and requests-mocker and tests are located in the tests/
directory.
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
Built Distribution
Hashes for lcsscaseapi-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e9cd0c899b969282436a85c30bbda18ae76e734f9fb3bbace3f738c559a727d |
|
MD5 | bf3a69523a55f7d52acde12b9cb6434e |
|
BLAKE2b-256 | 8e490e48ab7e743bd032fb5fc5ab75b69f42a79cfe3219d8590f5eaf166778a5 |