Python client for CircleCI API
Project description
pycircleci
Python client for CircleCI API.
Based on the discontinued circleci.py project.
Original Author & Credit: Lev Lazinskiy (https://levlaz.org)
Features
- Supports API v1.1 and API v2
- Supports both
circleci.com
and self-hosted Enterprise CircleCI
Installation
$ pip install pycircleci
Usage
Create a personal API token.
from pycircleci.api import Api
circleci = Api(YOUR_CIRCLECI_TOKEN)
# get current user info
circleci.get_user_info()
# get list of projects
circleci.get_projects()
Contributing
- Fork it
- Install dev dependencies (
pip install -r requirements-dev.txt
) - Create your feature branch (
git checkout -b my-new-feature
) - Make sure flake8 and the pytest test suite runs locally
- Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
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
pycircleci-0.4.0.tar.gz
(9.6 kB
view hashes)
Built Distribution
Close
Hashes for pycircleci-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b81254b3795683c4bbe8eee68569c7fb385ac35b7cc2a9344106c8b8cffde8b |
|
MD5 | 7d486b11e6871d797e05f73f51f66f15 |
|
BLAKE2b-256 | c184f78673d7ae7819c5fa0c17cf6f3f1c43c5929364243abd24b0ee974463a4 |