EAGLELIZ
Python binding for eagle.cool api.
Currently only supports the following endpoints:
- /api/application/info
- /api/item/addFromPaths
Installation
pip install eagleliz
Async file upload helper
The package now includes AsynchEagleApiExtended, which extends
AsyncEagleAPI and adds add_item_from_file(path, name, tags).
It reads a local image, converts it to a base64 data URI, and uploads it via
POST /api/item/addFromURL.
import asyncio
from eagleliz.api import AsynchEagleApiExtended
async def main():
client = AsynchEagleApiExtended()
item_id = await client.add_item_from_file(
path="/absolute/path/to/image.png",
name="Imported from file",
tags=["local", "upload"],
)
print(item_id)
asyncio.run(main())
Metadata
Release files for eagleliz 0.1.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 | |
|---|---|---|---|
| eagleliz-0.1.0.tar.gz | 45.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eagleliz-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 93.4 kB
Release files / eagleliz-0.1.0.tar.gz
| Download URL | eagleliz-0.1.0.tar.gz |
|---|---|
| Size | 45.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7aff1bd7d4e2ef2d6a554370c17ac767c63e75813391fb22ede2004dced87b6
|
|
BLAKE2b-256 checksum How to use checksums |
8e667599de5fbd6e97bd6b3618413d863ac4f54dec4a5d8abd548bcc46f8145f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / eagleliz-0.1.0-py3-none-any.whl
| Download URL | eagleliz-0.1.0-py3-none-any.whl |
|---|---|
| Size | 48.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
503ffa8a2cc13723fa72562abf048d4375b2b273e2a79bfda516534f28de6540
|
|
BLAKE2b-256 checksum How to use checksums |
c2b6b955717483c5ce613080d088fa1f1460e08948ac8b88ff037ba2b8bb94d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|