Skip to main content

datasci

Tents: tabular entries

Build a TSV

from datasci import Tents

header = ["col1", "col2", "col3"]
tents = Tents(header=header)
for val1, val2, val3 in zip([1,2], [3,4], [5,6]):
    new_tent = tents.new()
    new_tent.update(col1=val1)
    new_tent.col2 = val2
    new_tent["col3"] = val3
    tents.add(new_tent)
with open("outfile.tsv", "w") as ofstream:
    print(tents, file=ofstream)
$cat outfile.tsv
col1	col2	col3
1	3	5
2	4	6

Load a TSV

from datasci import Tents

tents = Tents.from_tsv("outfile.tsv") # If the TSV does not have a header, you can also specify it with the 'header' argument
tents.sort(key_name="col1", descending=True)
print(tents)
col1	col2	col3
2	4	6
1	3	5

Metadata

Release files for datasci-bricoletc 0.4.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 datasci-bricoletc 0.4.1
File Size Uploaded Provenance Actions
datasci_bricoletc-0.4.1.tar.gz 49.6 kB Without provenance Details for datasci_bricoletc-0.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for datasci-bricoletc 0.4.1
File Interpreter ABI Platform Actions
datasci_bricoletc-0.4.1-py3-none-any.whl Python 3 none any Details for datasci_bricoletc-0.4.1-py3-none-any.whl

Total release size: 54.2 kB

Release files / datasci_bricoletc-0.4.1.tar.gz

Download URL datasci_bricoletc-0.4.1.tar.gz
Size 49.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fcf3b6800eccee3f370343a7cc5e3ea37912f061705089885660afd2d3d76d75
BLAKE2b-256 checksum
How to use checksums
64591f082b1ec66cab0e18d1a7830b8f6ad54bbe561cfb65a3f83970c757f014
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.14

Release files / datasci_bricoletc-0.4.1-py3-none-any.whl

Download URL datasci_bricoletc-0.4.1-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be6ff5f633fbc43f05365a80ca8031782c21dad4eeefb37450f0a9fcbebb9c0b
BLAKE2b-256 checksum
How to use checksums
d3d9fe99c39039fba604e32ae0819d90709c158d1725719256c6bff36ecca690
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.14

Security for datasci-bricoletc 0.4.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.

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