Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xcrawl_actor-0.1.2-py3-none-any.whl (48.8 kB view details)

Uploaded Python 3

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

Hashes for xcrawl_actor-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8a078ccec447d8063dbe3b04fa598b7c4e816d888ef79ab2637a25b8358273a4
MD5 5cb134c66e3c9e1ad2902cef9a69ce78
BLAKE2b-256 7ffe095607581c8a7563044d91f9920a6e8eb9bec886c18c6a3dacf8e0cb0fc2

See more details on using hashes here.

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

Hashes for xcrawl_actor-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 31e693de79809b824830bce4deb2ab16a4432d14c71326b0591ff556036170b4
MD5 496a3dba21b61d3d439c511ebd59fec6
BLAKE2b-256 9d271d6742faf74d18cb53a8f26f2761a1df616a78205ba46f0690bf1806cabd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page