semvec/pypi-packages huggingface dataset:
axew 1.0.7
Python bindings for Arcane
Requires Python: >=3.8

## Axew

A set of python bindings for [Arcane](https://arcane.koldfusion.xyz/) 
featuring sane error handling and caching to reduce requests. 

```python
from axew import AxewClient, Entry


def main():
    client: AxewClient = AxewClient()
    entry: Entry = client.create_paste(
        code="Testing", 
        error="My error", 
        name="My code", 
        description="It does this and that."
    )
    print(entry.resolve_url())

    # Returns the cached entry and saves making a request
    cached_entry = client.get_paste(entry.slug)
    print(cached_entry)


async def async_main():
    client: AxewClient = AxewClient()
    entry: Entry = await client.async_create_paste(code="Async testing", error="My error")
    print(entry.resolve_url())

    # Returns the cached entry and saves making a request
    cached_entry = await client.async_get_paste(entry.slug)
    print(cached_entry)
```