Skip to main content

pycodecov

Test CodeQL Docs codecov pre-commit security: bandit Checked with mypy Ruff pypi python License: MIT

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 and aiohttp 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.

Metadata

Release files for pycodecov 0.1.0

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

Source distribution (sdist)

Source distribution for pycodecov 0.1.0
File Size Uploaded
pycodecov-0.1.0.tar.gz 24.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pycodecov 0.1.0
File Interpreter ABI Platform
pycodecov-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 82.2 kB

Release files / pycodecov-0.1.0.tar.gz

Download URL pycodecov-0.1.0.tar.gz
Size 24.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2f83db628026fc66f47c9afb7d460bf5bfe9f38b55d99ebd9faf0558248cd4e6
BLAKE2b-256 checksum
How to use checksums
0a12f94102de8b84c8e6a1766e07bad1ef1f890deca4eb355a911251cdf1c2e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via poetry/1.8.3 CPython/3.12.5 Linux/6.5.0-1025-azure

Release files / pycodecov-0.1.0-py3-none-any.whl

Download URL pycodecov-0.1.0-py3-none-any.whl
Size 57.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e5c97e4816e5de682e693f097d097390a6c0484be72cdabfd0d5b0dbea761d8
BLAKE2b-256 checksum
How to use checksums
3cc1cbba099ac8dd23ea148af68fef3546c9b5d3ffea087b72a70cb93fd58f62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via poetry/1.8.3 CPython/3.12.5 Linux/6.5.0-1025-azure

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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