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.0.tar.gz
(44.3 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.0.tar.gz.
File metadata
- Download URL: xcrawl_actor-0.1.0.tar.gz
- Upload date:
- Size: 44.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
453be95882c1dd5afdd0b8d17a069d78e883f0fc467f84985604959dff62a69e
|
|
| MD5 |
394476a4927129bae77038e91ae365d1
|
|
| BLAKE2b-256 |
2849842dd85a6e60ada142faeca82cf0162b86ac3dc182891fe5d028912beee9
|
File details
Details for the file xcrawl_actor-0.1.0-py3-none-any.whl.
File metadata
- Download URL: xcrawl_actor-0.1.0-py3-none-any.whl
- Upload date:
- Size: 47.9 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 |
0d2dbeb88e44c67d1e4e6a2b05fdae909adc6fa8f4c11fe57ed0b37c572b0cb3
|
|
| MD5 |
9e2f4b38903ea19f57f69f5b40e8a30c
|
|
| BLAKE2b-256 |
a4bd77e4c775e602e06c23961e508962d7e44eb2330e1d4c9fd2f37611fbf5b6
|