Skip to main content

TenetAccount

Description

This is a Python module for the ISP TeNeT API.

Usage:

>>> from tenet import TenetAccount
>>> from tenet.utils import sizeof_fmt
>>> TenetAccount()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "tenet/__init__.py", line 34, in __init__
    "Usage: TenetAccount(username='user', password='pass')"
tenet.exceptions.TenetBaseException: Usage: TenetAccount(username='user', password='pass') or TenetAccount(username='user', md5password='hash')
>>> account = TenetAccount(
...     username='user-00000',
...     md5password='8b46a9e3095d350b2faeb1c503239b5e'
... )
>>> account.update()
>>> print(account.id)
00000
>>> print(account.state)
Normal
>>> print(account.enabled)
True
>>> print(account.tariff_plan)
Швидкісний Інтернет та Wi-Fi
>>> print(account.saldo)
374.60
>>> print(account.good_day)
False
>>> print(account.bonus_state)
Enabled
>>> account.toggle_bonus()
>>> print(account.bonus_state)
Disabled
>>> print(sizeof_fmt(account.bonus_rest))
10.0 GiB

Metadata

Release files for tenet 0.7.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 tenet 0.7.0
File Size Uploaded Provenance Actions
tenet-0.7.0.tar.gz 4.3 kB Without provenance Details for tenet-0.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 8.9 kB

Release files / tenet-0.7.0.tar.gz

Download URL tenet-0.7.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
30ddc5f1cb8e269c5418e350137b373e3dc82b6a190a656c2bf06f120fee29df
BLAKE2b-256 checksum
How to use checksums
8792f6f4e467a3b1615b7445c42325d94235fa8f7bc36e7540a45f5b21bb9f83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / tenet-0.7.0-py3-none-any.whl

Download URL tenet-0.7.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b6f4380e692caf506c3e379366a1d9ccef2ce6fb8d139226931040a6732bd8f
BLAKE2b-256 checksum
How to use checksums
38a9a6439f9b6a9d5ff237f374709a0cec444923d620696d96b5e1d2622d491a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for tenet 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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