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 hashes)
Built Distribution
pycodecov-0.1.0-py3-none-any.whl
(57.4 kB
view hashes)
Close
Hashes for pycodecov-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e5c97e4816e5de682e693f097d097390a6c0484be72cdabfd0d5b0dbea761d8 |
|
MD5 | 381d512067b5097142f9fd564d1dee51 |
|
BLAKE2b-256 | 3cc1cbba099ac8dd23ea148af68fef3546c9b5d3ffea087b72a70cb93fd58f62 |