Skip to main content

prefect-soda-cloud

PyPI

Visit the full docs here to see additional examples and the API reference.

Collection of Prefect tasks to interact with Soda Cloud APIs.

Resources

For more tips on how to use tasks and flows in a Collection, check out Using Collections!

Installation

Install prefect-soda-cloud with pip:

pip install prefect-soda-cloud

Requires an installation of Python 3.8+.

We recommend using a Python virtual environment manager such as pipenv, conda or virtualenv.

These tasks are designed to work with Prefect 2.0. For more information about how to use Prefect, please refer to the Prefect documentation.

Examples

Note, to use the load method on Blocks, you must already have a block document saved through code or saved through the UI.

Below is an example on saving block documents through code.

from prefect_soda_cloud import SodaCloudCredentials

SodaCloudCredentials(
    user_or_api_key_id="<username or API key ID>",
    pwd_or_api_key_secret="<password or API key secret>"
).save("your_block_fancy_name")
from prefect_soda_cloud import SodaCloudAuthConfig, SodaCloudCredentials

# Assuming you have already registered your Soda Cloud credentials in a block, you can load it
creds = SodaCloudCredentials.load("your_block_fancy_name")

SodaCloudAuthConfig(
    api_base_url="https://cloud.soda.io",
    creds=creds
).save("another_fancy_name")

!!! info "Registering blocks"

Register blocks in this module to
[view and edit them](https://docs.prefect.io/ui/blocks/)
on Prefect Cloud:

```bash
prefect block register -m prefect_soda_cloud
```

A list of available blocks in prefect-soda-cloud and their setup instructions can be found here.

Feedback

If you encounter any bugs while using prefect-soda-cloud, feel free to open an issue in the prefect-soda-cloud repository.

If you have any questions or issues while using prefect-soda-cloud, you can find help in either the Prefect Discourse forum or the Prefect Slack community.

Feel free to star or watch prefect-soda-cloud for updates too!

Contributing

If you'd like to help contribute to fix an issue or add a feature to prefect-soda-cloud, please propose changes through a pull request from a fork of the repository.

Here are the steps:

  1. Fork the repository
  2. Clone the forked repository
  3. Install the repository and its dependencies:
pip install -e ".[dev]"
  1. Make desired changes
  2. Add tests
  3. Insert an entry to CHANGELOG.md
  4. Install pre-commit to perform quality checks prior to commit:
pre-commit install
  1. git commit, git push, and create a pull request

Metadata

Release files for prefect-soda-cloud 0.0.1

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

Source distribution (sdist)

Source distribution for prefect-soda-cloud 0.0.1
File Size Uploaded Provenance
prefect-soda-cloud-0.0.1.tar.gz 33.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for prefect-soda-cloud 0.0.1
File Interpreter ABI Platform
prefect_soda_cloud-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 46.9 kB

Release files / prefect-soda-cloud-0.0.1.tar.gz

Download URL prefect-soda-cloud-0.0.1.tar.gz
Size 33.6 kB
Tags Source
SHA-256 checksum
How to use checksums
17d4e6e1bf71dead6b07b2ab080a0d78d45537798729f0bd1af4847c59556fbb
BLAKE2b-256 checksum
How to use checksums
1774c570b5d818f70b16b1faadcf626688ecbbe725d5c99f76927ac565072d17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.8

Release files / prefect_soda_cloud-0.0.1-py3-none-any.whl

Download URL prefect_soda_cloud-0.0.1-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a59914e345e5c9a9f2a16bc14255e04df0926763fb070906465263f38ab2543f
BLAKE2b-256 checksum
How to use checksums
a86682b3f12a88b2f529b1878c5eb612c601f0fc73c63270442afbe079d5a26b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.8

Security for prefect-soda-cloud 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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