Skip to main content

Build status Lint status Documentation Coverage Code style Version License

Collection of tasks for working with ARCADE. Designed to be used both in Prefect workflows and as modular, useful pieces of code.

Installation

The collection can be installed using:

pip install arcade-collection

We recommend using Poetry to manage and install dependencies. To install into your Poetry project, use:

poetry add arcade-collection

Usage

Prefect workflows

All tasks in this collection are wrapped in a Prefect @task decorator, and can be used directly in a Prefect @flow. Running tasks within a Prefect flow enables you to take advantage of features such as automatically retrying failed tasks, monitoring workflow states, running tasks concurrently, deploying and scheduling flows, and more.

from prefect import flow
from arcade_collection.<module_name> import <task_name>

@flow
def run_flow():
    <task_name>()

if __name__ == "__main__":
    run_flow()

See cell-abm-pipeline for examples of using tasks from different collections to build a pipeline for simulating and analyzing agent-based model data.

Individual tasks

Not all use cases require a full workflow. Tasks in this collection can be used without the Prefect @task decorator by simply importing directly from the module:

from arcade_collection.<module_name>.<task_name> import <task_name>

def main():
    <task_name>()

if __name__ == "__main__":
    main()

or using the .fn() method:

from arcade_collection.<module_name> import <task_name>

def main():
    <task_name>.fn()

if __name__ == "__main__":
    main()

Metadata

Release files for arcade-collection 0.16.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arcade-collection 0.16.0
File Size Uploaded Provenance Actions
arcade_collection-0.16.0.tar.gz 26.3 kB Without provenance Details for arcade_collection-0.16.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for arcade-collection 0.16.0
File Interpreter ABI Platform Actions
arcade_collection-0.16.0-py3-none-any.whl Python 3 none any Details for arcade_collection-0.16.0-py3-none-any.whl

Total release size: 62.6 kB

Release files / arcade_collection-0.16.0.tar.gz

Download URL arcade_collection-0.16.0.tar.gz
Size 26.3 kB
Tags Source
SHA-256 checksum
How to use checksums
09a4be8af6cb3f1127f41be57f31ba7d13a7fd128ef034a3ab28ee6e58e49a73
BLAKE2b-256 checksum
How to use checksums
dbcf1a06cb385cc2c05a8d15206c646af43d8b70f487c756bb361f0f53a10f31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / arcade_collection-0.16.0-py3-none-any.whl

Download URL arcade_collection-0.16.0-py3-none-any.whl
Size 36.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
32316ad595831ba6cf2c224a65fe5baed0d3212eedb4b14354c88fd177850a67
BLAKE2b-256 checksum
How to use checksums
762c71fd7461e66c22e02cb717eca91a23e11c2cd3b7928f489ea88809e58673
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Security for arcade-collection 0.16.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page