Because datasets are often provided with scant metadata, I want to infer some of the conventional metadata without depending on special information. One such sort of metadata is the schema of the dataset.
Special snowflake looks for unique identifiers in arbitrary datasets. Run it like so.
$ snowflake bus_stops.csv route.number, stop.id, n.students time, n.students, location route.name, n.students, location route.name, stop.id route.number, stop.id, time
By default, you get all of the combinations of up to three columns inside bus_stops.csv that function as unique indices on the full spreadsheet.
Or call it from Python!
from special_snowflake import fromcsv
from pprint import pprint
with open('open-data-index.csv') as fp:
pprint(fromcsv(csv.DictReader(fp), n_columns = 2, only_adjacent = False))
This program finds all of the combinations of one or two columns inside open-data-index.csv that function as unique indices on the full spreadsheet.
Metadata
Release files for special_snowflake 0.0.9
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 |
|---|---|---|---|---|
| special_snowflake-0.0.9.tar.gz | 2.4 kB | Without provenance | Details for special_snowflake-0.0.9.tar.gz |
Release files / special_snowflake-0.0.9.tar.gz
| Download URL | special_snowflake-0.0.9.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1ceff7397502b6269a429fc6560357541f8bf3cf910e345859f5d0d3a535935
|
|
BLAKE2b-256 checksum How to use checksums |
2bcce9f2f6e593fb4fdae7d05dda78866f33ddba648473a84535b6952ec89629
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for special_snowflake 0.0.9
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.