# datalogy
[](http://travis-ci.org/michaeljoseph/datalogy) [](https://waffle.io/michaeljoseph/datalogy) [](http://badge.fury.io/py/datalogy) [](https://crate.io/packages/datalogy?version=latest) [](https://coveralls.io/r/michaeljoseph/datalogy?branch=master)

A collection of python tools that facilitate the obtaining, scrubbing and exploring of data.
## scrape
Extract HTML elements using an XPath query or CSS3 selector.
### Example usage
- curl -s http://en.wikipedia.org/wiki/List_of_sovereign_states |
scrape -be ‘table.wikitable > tr > td > b > a’
## random-sample
Output lines from stdin to stdout with a given probability, for a given duration, and with a given delay between lines.
### Example usage
seq 100 | random-sample -r 20% -d 1000
## Testing
Install development requirements:
pip install -r requirements.txt
Run the tests with:
nosetests
Lint the project with:
flake8 datalogy tests
## API documentation
To generate the documentation:
cd docs && PYTHONPATH=.. make singlehtml
Metadata
Release files for datalogy 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 |
|---|---|---|---|---|
| datalogy-0.1.0.tar.gz | 18.6 kB | Without provenance | Details for datalogy-0.1.0.tar.gz |
Release files / datalogy-0.1.0.tar.gz
| Download URL | datalogy-0.1.0.tar.gz |
|---|---|
| Size | 18.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5854efc49f1ed796338b5a470c3441c2f3c9836f93888efd72aa16010391eab5
|
|
BLAKE2b-256 checksum How to use checksums |
f74ca77185da9f87dfb019134f9dc3910b83ca4ddef140792609bb1224b42da1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for datalogy 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.