Skip to main content

cs2tc

Helper functions for converting Compute Studio parameters to a format compatible with Tax-Calculator.

pip install -U cs2tc
import cs2tc

adj = {
    "STD": [
        {"MARS": "single", "year": 2019, "value": 10},
        {"MARS": "mjoint", "year": 2019, "value": 1},
        {"MARS": "mjoint", "year": 2022, "value": 10}
    ],
    "STD_checkbox": [{"value": False}]
}

cs2tc.convert_policy_adjustment(adj)

# {'STD': [{'MARS': 'single', 'year': 2019, 'value': 10},
#   {'MARS': 'mjoint', 'year': 2019, 'value': 1},
#   {'MARS': 'mjoint', 'year': 2022, 'value': 10}],
#  'STD-indexed': [{'value': False}]}

Metadata

Release files for cs2tc 0.1.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 cs2tc 0.1.1
File Size Uploaded Provenance Actions
cs2tc-0.1.1.tar.gz 2.5 kB Without provenance Details for cs2tc-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cs2tc 0.1.1
File Interpreter ABI Platform Actions
cs2tc-0.1.1-py3-none-any.whl Python 3 none any Details for cs2tc-0.1.1-py3-none-any.whl

Total release size: 5.8 kB

Release files / cs2tc-0.1.1.tar.gz

Download URL cs2tc-0.1.1.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7d1a21267e74d88516a711de37defb32576f4a5e7f8c242662d53d0c856c8f72
BLAKE2b-256 checksum
How to use checksums
435e762643161d11fad86f6b8bd27f4f46c79b7a69bbe7bb5f0913253274ff09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200325 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1

Release files / cs2tc-0.1.1-py3-none-any.whl

Download URL cs2tc-0.1.1-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
40f6b4b05bd5c76ba3686908b376fe332890dedc5a20b4f32eca26e62c6cdd3d
BLAKE2b-256 checksum
How to use checksums
82c3e219ea4c5919afdb75bda699d729e01990826a4abd00b2dd56deef8dd65e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200325 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1

Security for cs2tc 0.1.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.

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

Release history Release notifications | RSS feed

This release

0.1.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