Python API for CircleCI
Project description
CircleCI API Python Client
A simple Python client for interacting with the CircleCI API.
Installation
You can install the package using pip:
pip install circleci-api-python
Requirements
This package requires Python 3.8 or higher.
All the dependencies are listed in the requirements.txt file are installed automatically when you install the package.
Usage
Initialization
To use the CircleCI API Python client, you need to initialize it with your CircleCI token:
from circleci_api_python.client import CircleCI
client = CircleCI(token="your_circleci_token")
Development
Running Unit Tests
To run the unit tests, you can use the provided shell script:
./run_unit_tests.sh
Alternatively, you can run the tests using unittest directly:
python -m unittest discover -s tests
Running Linting Checks
To run the linting checks, you can use the provided shell script:
./run_linting_checks.sh
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file circleci_api_python-0.0.1.tar.gz.
File metadata
- Download URL: circleci_api_python-0.0.1.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfaad7b5b836e699b0436e824e59ea560c3522b6f2766e27b383627edd9d75f9
|
|
| MD5 |
dd1ffa07a11c1402662c91abfc4ca8c1
|
|
| BLAKE2b-256 |
f77569e76716aa8a30572972cf7bc05052873786c53dc072f16092588ad24e86
|
File details
Details for the file circleci_api_python-0.0.1-py3-none-any.whl.
File metadata
- Download URL: circleci_api_python-0.0.1-py3-none-any.whl
- Upload date:
- Size: 24.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22e95061b80b939579f90888d9ca7b961686d3ce80970b45bb369cb11557eeec
|
|
| MD5 |
c5d78a25b3882a1b4ab4241efc3d7527
|
|
| BLAKE2b-256 |
8f271d39a4ca2acb364c435381e0e6968e4458f5ce2c728c03066107dcaa3176
|