Skip to main content

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)

Source distribution for blitz-async 1.0.0
File Size Uploaded
blitz_async-1.0.0.tar.gz 7.5 kB Details

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

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

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