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 thepytest
test suite successfully run 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.1.tar.gz
(9.8 kB
view hashes)
Built Distribution
Close
Hashes for pycircleci-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e2afd7429beef74a8ede1d94f8c5b172a895d578220648664a07728f12eb31d |
|
MD5 | cdfccbeae015031461c91af400ace3b9 |
|
BLAKE2b-256 | 8fe01365ad8327cacb268fb80233b3029135bae4f86668d2106c4a6e14f26208 |