Python SDK for building and running Xcrawl Actors.
Project description
xcrawl-actor
xcrawl-actor is a Python SDK for building and running Xcrawl Actor workloads.
Install
pip install xcrawl-actor
Import
from xcrawl_actor import Actor
The distribution name on PyPI uses a hyphen, but the Python import path uses an underscore.
from xcrawl-actor import Actor is not valid Python syntax.
Quick Start
from xcrawl_actor import Actor
async def main() -> None:
async with Actor:
Actor.log.info("xcrawl actor started")
if __name__ == "__main__":
import asyncio
asyncio.run(main())
Development Install
pip install -e .[dev]
Build And Publish
python -m pip install --upgrade build twine
python -m build
python -m twine check dist/*
python -m twine upload dist/*
Package Layout
xcrawl_actor/: runtime package exported to users.pyproject.toml: PyPI metadata and build configuration.MANIFEST.in: source distribution include rules.
Repository
- Homepage:
https://gitee.com/youquinc/xcrawlactorsdk - Repository:
https://gitee.com/youquinc/xcrawlactorsdk.git
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xcrawl_actor-0.1.2.tar.gz
(45.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xcrawl_actor-0.1.2.tar.gz.
File metadata
- Download URL: xcrawl_actor-0.1.2.tar.gz
- Upload date:
- Size: 45.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a078ccec447d8063dbe3b04fa598b7c4e816d888ef79ab2637a25b8358273a4
|
|
| MD5 |
5cb134c66e3c9e1ad2902cef9a69ce78
|
|
| BLAKE2b-256 |
7ffe095607581c8a7563044d91f9920a6e8eb9bec886c18c6a3dacf8e0cb0fc2
|
File details
Details for the file xcrawl_actor-0.1.2-py3-none-any.whl.
File metadata
- Download URL: xcrawl_actor-0.1.2-py3-none-any.whl
- Upload date:
- Size: 48.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31e693de79809b824830bce4deb2ab16a4432d14c71326b0591ff556036170b4
|
|
| MD5 |
496a3dba21b61d3d439c511ebd59fec6
|
|
| BLAKE2b-256 |
9d271d6742faf74d18cb53a8f26f2761a1df616a78205ba46f0690bf1806cabd
|