Skip to main content

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

More documentation is on Read The Docs.

Metadata

Release files for PyCodebase 0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyCodebase 0.7
File Size Uploaded Provenance
PyCodebase-0.7.tar.gz 11.0 kB Without provenance Details

Release files / PyCodebase-0.7.tar.gz

Download URL PyCodebase-0.7.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fc78e86bb151645cb52ffa78e9a1b4f79e8101116e536cb2f41b2e82bb9b4f6b
BLAKE2b-256 checksum
How to use checksums
8a091425af12d2caed5ce34eea277fe8877d9f0e96d367e71d72001e95e858af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for PyCodebase 0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page