Python client library for JIRA API
Project description
py-jira
A Python client library for JIRA API that provides easy-to-use interfaces for interacting with Atlassian JIRA instances.
Installation
Install from GitHub
⚠️ Important: Replace codegen-sh/py-jira with your actual GitHub username and repository name in the commands below.
You can install this package directly from GitHub using pip or uv:
# Using pip
pip install git+https://github.com/codegen-sh/py-jira.git
# Using uv
uv add git+https://github.com/codegen-sh/py-jira.git
Install specific version or branch
# Install specific tag/version
pip install git+https://github.com/codegen-sh/py-jira.git@v0.1.0
# Install from specific branch
pip install git+https://github.com/codegen-sh/py-jira.git@main
Install with optional dependencies
# Install with development dependencies
pip install "git+https://github.com/codegen-sh/py-jira.git[dev]"
Usage
from jira_client import ApiClient, Configuration
from jira_client.api.issues_api import IssuesApi
# Configure the client
config = Configuration()
config.host = "https://code-gen.atlassian.net"
# Add authentication configuration as needed
# Initialize the client
api_client = ApiClient(configuration=config)
issues_api = IssuesApi(api_client)
# Use the API
# issues = issues_api.search_for_issues_using_jql(jql="project = TEST")
Package Structure
This package includes:
- Complete JIRA REST API client generated from OpenAPI specifications
- Type hints support (
py.typedfile included) - All JIRA API endpoints and models
- Configurable authentication and connection settings
Dependencies
The package has minimal runtime dependencies:
urllib3>=1.25.3- HTTP clientpydantic>=2.0.0- Data validationpython-dateutil>=2.8.0- Date parsing utilities
Development
To set up the development environment:
# Clone the repository
git clone https://github.com/codegen-sh/py-jira.git
cd py-jira
# Install with development dependencies
uv sync --dev
# Run tests
pytest
# Run linting
ruff check .
# Run type checking
mypy .
# Build the package
uv build
Configuration for Publishing
If you want to use this package in your projects, make sure to:
-
Update the GitHub URLs in
pyproject.toml:- Replace
codegen-shwith your actual GitHub username - Update the repository name if different
- Replace
-
Update author information in
pyproject.toml:- Replace the placeholder name and email with your details
-
Create a proper README with usage examples specific to your implementation
-
Tag releases for version management:
git tag v0.1.0 git push origin v0.1.0
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
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
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 py_jira_client-0.1.0.tar.gz.
File metadata
- Download URL: py_jira_client-0.1.0.tar.gz
- Upload date:
- Size: 644.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93bc3de1224562d4c1b01761d4ef29f09045c0959d4de1f949dba5d4196c548d
|
|
| MD5 |
34e1212e9d1095437e0774ed6c42c8b6
|
|
| BLAKE2b-256 |
1b2de84f3d70d3fe0a7deb7e9a64850e3a1443446b962117ee304d7132993f97
|
Provenance
The following attestation bundles were made for py_jira_client-0.1.0.tar.gz:
Publisher:
release.yml on codegen-sh/py-jira
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
py_jira_client-0.1.0.tar.gz -
Subject digest:
93bc3de1224562d4c1b01761d4ef29f09045c0959d4de1f949dba5d4196c548d - Sigstore transparency entry: 229974945
- Sigstore integration time:
-
Permalink:
codegen-sh/py-jira@81dd4176f3fea052801ae8284acfd1bf098cece1 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/codegen-sh
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@81dd4176f3fea052801ae8284acfd1bf098cece1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file py_jira_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: py_jira_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4103bc9d5b148625f9eb036b52d7953fa60944fcff5f45d263f3da1c555fd087
|
|
| MD5 |
6197a2c5bebfac14af002a8a7a089e2f
|
|
| BLAKE2b-256 |
c93d95577e10715458176ce417de41a94e0788e2d6c6cda26659ba28d78a67d2
|
Provenance
The following attestation bundles were made for py_jira_client-0.1.0-py3-none-any.whl:
Publisher:
release.yml on codegen-sh/py-jira
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
py_jira_client-0.1.0-py3-none-any.whl -
Subject digest:
4103bc9d5b148625f9eb036b52d7953fa60944fcff5f45d263f3da1c555fd087 - Sigstore transparency entry: 229974948
- Sigstore integration time:
-
Permalink:
codegen-sh/py-jira@81dd4176f3fea052801ae8284acfd1bf098cece1 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/codegen-sh
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@81dd4176f3fea052801ae8284acfd1bf098cece1 -
Trigger Event:
push
-
Statement type: