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.1.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.1-py3-none-any.whl (48.7 kB view details)

Uploaded Python 3

File details

Details for the file xcrawl_actor-0.1.1.tar.gz.

File metadata

  • Download URL: xcrawl_actor-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e8ce8415183b920d3f73b9d2c9710faa5edc84ccb66296db93f64054a26d6dc0
MD5 86912cb3e4e7063aa07e776ee3270f91
BLAKE2b-256 901317b6c62335445be82c9e757d747035edb8d5cc85ee04cd63bef01c1b92ca

See more details on using hashes here.

File details

Details for the file xcrawl_actor-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: xcrawl_actor-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 48.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d135d31155c8c6d6383baa09d5ee6fcf264b7a2cd83f0dc7a0f3fb305d44198f
MD5 0c55a34ebdabfdb2865fb61b70fadc30
BLAKE2b-256 162a85abc0b75b7fcd1af51de17111cf36895d15da4a220a626c8c30db1fb8c0

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