Agon
Agon is a thin wrapper around jmespath which let you to compose projections in a more natural manner.
It's usage is quite simple
from agon import Agon
assert Agon("foo | bar") == Agon("foo") | Agon("bar") == Agon("foo") | "bar"
assert {"foo": {"bar": "baz"}} | Agon("foo | bar") == "baz"
assert {"foo": {"bar": "baz"}} | Agon("foo") | Agon("bar") == "baz"
assert {"foo": {"bar": "baz"}} | (Agon("foo") | "bar") == "baz"
Metadata
Release files for agon 0.1.0.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agon-0.1.0.post1.tar.gz | 1.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agon-0.1.0.post1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.4 kB
Release files / agon-0.1.0.post1.tar.gz
| Download URL | agon-0.1.0.post1.tar.gz |
|---|---|
| Size | 1.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
210146ddb395e17d065a4e3b2979cd5647a9b3c1f0db1c6b1326f90a14241510
|
|
BLAKE2b-256 checksum How to use checksums |
8dcc71088c1616b24358405a3c6a6fdec9b303b7fce2b75b980efa31d8c18e82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.8.5 Darwin/19.6.0
|
Release files / agon-0.1.0.post1-py3-none-any.whl
| Download URL | agon-0.1.0.post1-py3-none-any.whl |
|---|---|
| Size | 1.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7eb75d1850f65af04c5b5614e73745cf9b857605bb5c0f43cab28d4dc95d363e
|
|
BLAKE2b-256 checksum How to use checksums |
267c6f5f8b3b5043666cca2ffe1a40f3cb0b22a4722629a3f9542edec99fe531
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.8.5 Darwin/19.6.0
|