satva
Satva is a data pipeline engine. This package runs the same YAML pipelines as the satva command-line tool.
Requires Python 3.9 or newer. Licensed under the MIT License.
Install
pip install satva
Usage
import satva
summary = satva.run("pipeline.yaml")
print(summary["processed"], summary["succeeded"], summary["skipped"], summary["failed"])
# Raises RuntimeError on the first record failure.
satva.run("pipeline.yaml", stop_on_error=True)
satva.run returns a dict with processed, succeeded, skipped, failed, and logs. logs is a list of strings. stop_on_error defaults to False: failed records are counted and the call returns. File paths inside the YAML config are relative to the process working directory.
source:
type: json
path: input.jsonl
sink:
type: json
path: output.jsonl
stages:
- type: filter
expression: 'active == true && salary >= 70000'
- type: set_field
field: bonus
expression: 'salary * 0.15'
Sources and sinks: CSV, TSV, JSONL (json), JSON array (json_array), Parquet, and Excel. Pipeline and expression details are in the repository docs.
Metadata
Release files for satva 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| satva-0.1.1.tar.gz | 85.2 kB | Details |
Built distributions (wheels)
Total release size: 524.0 MB
Release files / satva-0.1.1.tar.gz
| Download URL | satva-0.1.1.tar.gz |
|---|---|
| Size | 85.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
322604fd4b4c75762d0f638f96d6158253be7162e323beea47c9435a2fee7abb
|
|
BLAKE2b-256 checksum How to use checksums |
5ee593aa760f51b85f14be862b1aa9abcbd454cfd7eae5bbe342dc7b8400f1a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / satva-0.1.1-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | satva-0.1.1-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 59.0 MB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.11 PyPy 3.11 7.3 |
|
SHA-256 checksum How to use checksums |
27b511542800dbf2c276bf54d15bdeab7729637fadc1ff9fe0c5a23d63f117fc
|
|
BLAKE2b-256 checksum How to use checksums |
111b9f532f3c59139b025ee64f8c012d105bf2e30f00494683a44cdf55541bb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / satva-0.1.1-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | satva-0.1.1-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 59.0 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
00db12e1f2b5f69ec7208f828ae0ce6a999f9230948761864dedbb6f40b7da7e
|
|
BLAKE2b-256 checksum How to use checksums |
3da918652b9e860d461ca835d045f4b3bda2c776de2f86271c6765c92a4ac474
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / satva-0.1.1-cp314-cp314-win_amd64.whl
| Download URL | satva-0.1.1-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 5.6 MB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5870aecd11be83d225a42fc9ba5d0b99ad37092616e383a52fcd0400c1ee906a
|
|
BLAKE2b-256 checksum How to use checksums |
4cfd81c142b919b77c37a44c6b49e8c6523f7be689a909f29a12ef9870cac44c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / satva-0.1.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | satva-0.1.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 59.0 MB |
| Tags | CPython 3.14 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
25415754a795e7b666bdf48c98bf0471a3c60d86d7e6e61baaccf27e411066e9
|
|
BLAKE2b-256 checksum How to use checksums |
345f71e2f17c9d97c9f796079183f381558bc095ce16ff8cb014cd96faabf65c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / satva-0.1.1-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | satva-0.1.1-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 5.9 MB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
11f58a91eb2fa9970c5db9cdc37390b7a08e09970cbd732e1ebfcbc246597e7b
|
|
BLAKE2b-256 checksum How to use checksums |
37574043b18829029d9011ebcabb9269a734456c9bfcfca9963ded0b5900ff32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / satva-0.1.1-cp313-cp313-win_amd64.whl
| Download URL | satva-0.1.1-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 5.6 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
11409c258730193c07ac43d927f5f1b67120fe92464612b1672dbd8fe180bc92
|
|
BLAKE2b-256 checksum How to use checksums |
6e9d0b53e8fc256ce4ddb9c3ce4d91b84f87e79d65888630c2a453be6d5cd86b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / satva-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | satva-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 59.0 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
5bdb63da12023949635e3b7db55b4d66ca3c7a591e33025cdc55ae27a00c74e8
|
|
BLAKE2b-256 checksum How to use checksums |
16a70672516c251ac4f0ebb4086b15a7152671ced6b02b8fc595d104dcead056
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / satva-0.1.1-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | satva-0.1.1-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 5.9 MB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
4f3652c16b714c25a734dcc6044a28afd2c00adee5d28b3bed067bace875b7af
|
|
BLAKE2b-256 checksum How to use checksums |
230155bd80dff7cf63f07963b54a53cd0ac90f93fadc4b6fc0bf755fd7f9a267
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / satva-0.1.1-cp312-cp312-win_amd64.whl
| Download URL | satva-0.1.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 5.6 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c0eff5721fa225c3b8e5b58d25e334dca28b0a4e4516d41a9cac74f0a13c7224
|
|
BLAKE2b-256 checksum How to use checksums |
bd4aac3d407f64b728d9d91d9482fa6ccec3aea411a670b4d4f816e29a154f34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / satva-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | satva-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 59.0 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
d3fea8d9deeb50d0382b4c9549a5cbda77a89c6004f436d16b0ce0d1261e604e
|
|
BLAKE2b-256 checksum How to use checksums |
54a03afa1e465215ead8159434b758e6ecf89fbe3767a85060bd86f37c072004
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / satva-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | satva-0.1.1-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 5.9 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
6d0b25c9b88d05f815ea390b2f160c1fb228a6ac364a748db0bebb0e4a6e9add
|
|
BLAKE2b-256 checksum How to use checksums |
895c343516952219631813d9cd5ea52566f10baaae6753b2e5128d3b6c123d3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / satva-0.1.1-cp311-cp311-win_amd64.whl
| Download URL | satva-0.1.1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 5.6 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3fe8214ea26178e2413ff6889d2b8028041c26b0dbe7f5b06dfa75e526f161a7
|
|
BLAKE2b-256 checksum How to use checksums |
eb5167dd1ea76fcb92a5fada54b183cbd644ed12a88bd7fe4ca272dae08ad92a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / satva-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | satva-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 59.0 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
687bfd90dc31ceaceead449b02ada30d18eba1950becd1e6f93ff6d183436d4b
|
|
BLAKE2b-256 checksum How to use checksums |
c3773e1b706b70eeb130159df5cc165561ca7334b9f7444e680b128b30c0185c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / satva-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | satva-0.1.1-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 5.9 MB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
c395a4a0df66622699bbcd4992e4300025fc0154ed6bf9eb10924411859262f5
|
|
BLAKE2b-256 checksum How to use checksums |
da3a017de4711820b439401b49740b90859d29f46cc747dd867a066a35311afd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / satva-0.1.1-cp310-cp310-win_amd64.whl
| Download URL | satva-0.1.1-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 5.6 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
909f8bd4f3e1c9b8dd83565208a55de032d0267fa207443ce878dea92d76fa61
|
|
BLAKE2b-256 checksum How to use checksums |
c1290085174ce3b17db589177057770923347c398c954e807856ef9b359bae63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / satva-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | satva-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 59.0 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
64b4b29b67b10677ccda90ee6531cbdc7130913ecc6b8e11b572ca9394318bc7
|
|
BLAKE2b-256 checksum How to use checksums |
2dfd95cbaad0d959df4c08aea578781e5518682fe8ecb9d385ca17f94ab644b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / satva-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | satva-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 59.0 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
dc1694d91e15c7a238cc45e95806073559d0d9134619e4ded5c17be7c1660a4f
|
|
BLAKE2b-256 checksum How to use checksums |
bdc42d099292bb12c4a868c9251edebdb404cbedd069bd14b02da77349b5214e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|