A client for the Codebase API.
Project description
PyCodebase is a client for the Codebase API. It works in Python 2.7. The source code and project lives on GitHub.
Installation
You can install from PyPI:
$ pip install pycodebase
Usage
First you need a client to connect to Codebase. You can pass a 2-tuple of your API username and key:
import codebase # Your API username and key, shown on Codebase's profile page. secrets = ('example/alice', 'abc123def456') client = codebase.Client(secrets)
An alternative is to create a file with the username and key:
$ cat ~/.codebase.ini [api] username = example/alice key = abc123def456
You can then create the client, telling it the path of your secrets file.
import codebase client = codebase.Client.with_secrets('~/.codebase.ini')
From there you can get projects in your account and all the ticket and status information related to those projects.
Documentation
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
PyCodebase-0.7.tar.gz
(11.0 kB
view details)
File details
Details for the file PyCodebase-0.7.tar.gz
.
File metadata
- Download URL: PyCodebase-0.7.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc78e86bb151645cb52ffa78e9a1b4f79e8101116e536cb2f41b2e82bb9b4f6b |
|
MD5 | dcaf886f8fa8bcab60fe14bd03190603 |
|
BLAKE2b-256 | 8a091425af12d2caed5ce34eea277fe8877d9f0e96d367e71d72001e95e858af |