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.comand 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
flake8and thepytesttest 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 details)
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 pycircleci-0.4.1.tar.gz.
File metadata
- Download URL: pycircleci-0.4.1.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec9ca605153bd1394ccae352d9b14fc5c694f2d752e9c49233bdebf6f6446aac
|
|
| MD5 |
d84d0dc12cff977c879bb5551adba135
|
|
| BLAKE2b-256 |
61753462909da4586c5b379006f4aa735f358f10c4eb89abda78bded48320416
|
File details
Details for the file pycircleci-0.4.1-py3-none-any.whl.
File metadata
- Download URL: pycircleci-0.4.1-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e2afd7429beef74a8ede1d94f8c5b172a895d578220648664a07728f12eb31d
|
|
| MD5 |
cdfccbeae015031461c91af400ace3b9
|
|
| BLAKE2b-256 |
8fe01365ad8327cacb268fb80233b3029135bae4f86668d2106c4a6e14f26208
|