Python Codecov API Wrapper
Project description
pycodecov
pycodecov
is an asynchronous API wrapper for the
Codecov API, designed
to streamline interaction with Codecov's services in Python. It
enables users to leverage Codecov's functionality asynchronously,
enhancing performance and usability.
Key Features
- Asynchronous Operations: Utilizes
asyncio
andaiohttp
for efficient API requests. - Data Schema: Built with Python's
dataclass
for clear and structured data representation. - Comprehensive Documentation: Explore detailed documentation for seamless integration and usage.
Installation
pip install pycodecov
Usage
import asyncio
import os
from pycodecov import Codecov
from pycodecov.enums import Service
CODECOV_API_TOKEN = os.environ["CODECOV_API_TOKEN"]
async def main():
async with Codecov(CODECOV_API_TOKEN) as codecov:
service_owners = await codecov.get_service_owners(Service.GITHUB)
print(service_owners)
asyncio.run(main())
Docs
You can start reading the documentation here.
Contributing
We welcome contributions to enhance pycodecov! Please review our contributing guidelines. before getting started.
Acknowledgements
We would like to thank Codecov for providing API services and also good documentation for using the API.
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
pycodecov-0.1.0.tar.gz
(24.9 kB
view details)
Built Distribution
pycodecov-0.1.0-py3-none-any.whl
(57.4 kB
view details)
File details
Details for the file pycodecov-0.1.0.tar.gz
.
File metadata
- Download URL: pycodecov-0.1.0.tar.gz
- Upload date:
- Size: 24.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f83db628026fc66f47c9afb7d460bf5bfe9f38b55d99ebd9faf0558248cd4e6 |
|
MD5 | e87f3863665287446186b71e143e9e89 |
|
BLAKE2b-256 | 0a12f94102de8b84c8e6a1766e07bad1ef1f890deca4eb355a911251cdf1c2e6 |
File details
Details for the file pycodecov-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pycodecov-0.1.0-py3-none-any.whl
- Upload date:
- Size: 57.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e5c97e4816e5de682e693f097d097390a6c0484be72cdabfd0d5b0dbea761d8 |
|
MD5 | 381d512067b5097142f9fd564d1dee51 |
|
BLAKE2b-256 | 3cc1cbba099ac8dd23ea148af68fef3546c9b5d3ffea087b72a70cb93fd58f62 |