Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

circleci_api_python-0.0.2.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

circleci_api_python-0.0.2-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

Details for the file circleci_api_python-0.0.2.tar.gz.

File metadata

  • Download URL: circleci_api_python-0.0.2.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

Hashes for circleci_api_python-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f692a70475c284a41d0b5b2fc45ac701a7032f00c0da273fd3b611a2f4415278
MD5 c89496cdcee56780bd8dfb6ffe59f0b6
BLAKE2b-256 a354e87fcfd7ad57e1638179611adf783fef22ce91dfe72c4cce001aaa3430f5

See more details on using hashes here.

File details

Details for the file circleci_api_python-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for circleci_api_python-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 af4f290255735e6fee803553ffeb50e659d4ef3944fdfb0ceec576f23aac6d47
MD5 065074f3b7ef4a070c8edf69aff426f0
BLAKE2b-256 e879db423d1744487a970f931847bea21d1fa04f6b7281cddf2dd76ebf254ac1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page