Skip to main content

pyiv-common

Ubiquitous-library integrations for pyiv: PyYAML (YAMLSerDe) and requests (RequestsClient). Core pyiv stays stdlib-only.

Docs: https://rl337.org/pyiv/

Install

pip install pyiv-common

Or pip install pyiv[common]. Requires Python 3.8+. Unreleased main:

pip install "pyiv-common @ git+https://github.com/rl337/pyiv.git#subdirectory=extras/pyiv-common"

Quick start

from pyiv import Config, get_injector
from pyiv_common.serde import YAMLSerDe
from pyiv_common.network import RequestsClient

class MyConfig(Config):
    def configure(self):
        self.register(YAMLSerDe, YAMLSerDe)
        self.register(RequestsClient, RequestsClient)

injector = get_injector(MyConfig)
serde = injector.inject(YAMLSerDe)
client = injector.inject(RequestsClient)

License

MIT — same as pyiv.

Release files for pyiv-common 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 pyiv-common 0.1.0
File Size Uploaded
pyiv_common-0.1.0.tar.gz 5.2 kB Details

Built distribution (wheel)

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

Total release size: 10.4 kB

Release files / pyiv_common-0.1.0.tar.gz

Download URL pyiv_common-0.1.0.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3c82e1e2ab4b85f656ab6fcffe27244a49674ed13b0fba0e603d0b15af14e394
BLAKE2b-256 checksum
How to use checksums
9405e78e8f9572904ff7220fd6bdef5022e15a8232890863836b4850ab5edc11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL pyiv_common-0.1.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f624f6df98824da4b60d6fa319dc2371dc503df9c4a2aa346d1c8f2c562574a
BLAKE2b-256 checksum
How to use checksums
54b69c562641d4d50c1d68e4eb8e8f03e2b0efc98deb711a36d87dd1b75097b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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