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
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request