Blitz Async
A Python application that allows you to interact with the Blitz control panel
## How To Install
```
pip install blitz_async
```
```python
from blitz_async import Blitz
blitz = Blitz(
full_address='full_address',
token_api='token',
https=True,
verify_ssl=False,
timeout=30,
)
```
- Add client
```python
result = await blitz.add_user(AddUserInputBody(
username='username',
traffic_limit=0,
expiration_days=0,
unlimited=True
))
```
- Get client's information:
```python
client = await blitz.get_user(username='username')
key_client = await blitz.get_user_uri(username='username')
```
- Delete client from the existing inbound:
```python
result = await blitz.delete_user(username='username')
```
- Update the existing client
```python
result = await blitz.edit_user(
username=username,
body=EditUserInputBody(
blocked=True
)
)
```
Metadata
Release files for blitz-async 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| blitz_async-1.0.0.tar.gz | 7.5 kB | Without provenance | Details for blitz_async-1.0.0.tar.gz |
Release files / blitz_async-1.0.0.tar.gz
| Download URL | blitz_async-1.0.0.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
893961be249e9360dd4121ed9b544130ce9a60293eda1c38e0e91d5b4868c1d0
|
|
BLAKE2b-256 checksum How to use checksums |
9bec5dbf4a04c0cfa620bc8edab05829739c8c9d960f1ef625ec09f44a2edc68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.0
|
Security for blitz-async 1.0.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.