datalogy-0.1.0
توضیحات
A collection of command-line tools that facilitate the obtaining, scrubbing
and exploring of data.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | datalogy-0.1.0 |
| نام | datalogy |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | UNKNOWN |
| ایمیل نویسنده | UNKNOWN |
| آدرس صفحه اصلی | https://github.com/michaeljoseph/datalogy |
| آدرس اینترنتی | https://pypi.org/project/datalogy/ |
| مجوز | UNKNOWN |
# 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
نحوه نصب
نصب پکیج whl datalogy-0.1.0:
pip install datalogy-0.1.0.whl
نصب پکیج tar.gz datalogy-0.1.0:
pip install datalogy-0.1.0.tar.gz