Axew
A set of python bindings for Arcane featuring sane error handling and caching to reduce requests.
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)
Metadata
Release files for axew 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| axew-1.0.7.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| axew-1.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / axew-1.0.7.tar.gz
| Download URL | axew-1.0.7.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9d82bf5aff770316484876ecd23471a4bc3589b5f460ac29fe151f948a0d1a8
|
|
BLAKE2b-256 checksum How to use checksums |
ee19fd27226070d7d0b31ab8d685ffdd9a060247bdd7ef6489f10d62b60eb874
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5
|
Release files / axew-1.0.7-py3-none-any.whl
| Download URL | axew-1.0.7-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e6535d4e2725343403af68db1f407dd9feeebe189ba07a34f1d6ea7b7a0bf922
|
|
BLAKE2b-256 checksum How to use checksums |
b0b57be75293e7e38135efd1f5b7f5ea43eb9e1811dc34348d90b1dcd4bc5a42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5
|