timetiles
Python SDK for building TimeTiles scrapers — CSV output helper.
Currently provides timetiles.scraper for building web scrapers. The timetiles namespace is extensible for future sub-packages.
Install
pip install timetiles
Usage
from timetiles.scraper import output
# Fetch your data
events = fetch_events()
# Write rows
for event in events:
output.write_row({
"title": event["name"],
"date": event["date"],
"location": event["venue"],
})
# Save as CSV
output.save()
print(f"Wrote {output.row_count} events")
API
output (singleton)
output.write_row(row)— Append a dict as a CSV row (headers auto-detected from first row)output.write_rows(rows)— Append multiple rowsoutput.save(filename=None)— Write CSV to disk (default:data.csv)output.row_count— Number of rows writtenoutput.to_csv_string()— Get CSV as string (for debugging)
OutputWriter (class)
Create custom instances:
from timetiles.scraper import OutputWriter
writer = OutputWriter(output_dir="./output")
writer.write_row({"title": "Event", "date": "2026-01-01"})
writer.save("events.csv")
Environment
TIMESCRAPE_OUTPUT_DIR— Output directory (default:/output, set automatically in TimeTiles containers)
License
AGPL-3.0-or-later
Metadata
Release files for timetiles 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| timetiles-0.1.0.tar.gz | 2.5 kB | Without provenance | Details for timetiles-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| timetiles-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for timetiles-0.1.0-py3-none-any.whl |
Total release size: 6.1 kB
Release files / timetiles-0.1.0.tar.gz
| Download URL | timetiles-0.1.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f936b1d862ebcc627317b8b149f1146de2483a0a5556ed8a5671bf6ef5b8b2d4
|
|
BLAKE2b-256 checksum How to use checksums |
2535262a56545ab6f8fa82eaf3e5ae5e2ae7c7b1396a9a764508c16fb0dd9404
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / timetiles-0.1.0-py3-none-any.whl
| Download URL | timetiles-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6995b80a31939be5e038b9c76cffe0da26632ffb9e46c1c9fb589aff4ed1943
|
|
BLAKE2b-256 checksum How to use checksums |
abfdc2f171fa43042cbaafab9091445d9f689deaf40a30742e8db307fa67316e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for timetiles 0.1.0
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.