Python data pipelines
Project description
Python data pipelines
Features
This package implements the basics for building pipelines similar to magrittr in R. Pipelines are created using >>. Internally it uses singledispatch to provide a way for a unified API for different kinds of inputs (SQL databases, HDF, simple dicts, …).
Basic example what can be build with this package:
>>> from my_library import append_col
>>> import pandas as pd
>>> pd.DataFrame({"a" : [1,2,3]}) >> append_col(x=3)
a X
0 1 3
1 2 3
2 3 3
In the future, this package might also implement the verbs from the R packages dplyr and tidyr for pandas.DataFrame and or I will fold this into one of the other available implementation of dplyr style pipelines/verbs for pandas.
Documentation
The documentaiton can be found on ReadTheDocs: https://pydatapipes.readthedocs.io
License
Free software: MIT license
Credits
magrittr and it’s usage in dplyr / tidyr for the idea of using pipelines in that ways
lots of python implementations of dplyr style pipelines: dplython, pandas_ply, dfply
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2016-10-22)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pydatapipes-0.1.0.tar.gz.
File metadata
- Download URL: pydatapipes-0.1.0.tar.gz
- Upload date:
- Size: 26.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43d95a0615151be1580e1ae99449c1d55824906088455dcd4b1ca4ea891cba37
|
|
| MD5 |
44aa6c3cef38a7e375b9f5e3f9ebde86
|
|
| BLAKE2b-256 |
219aa21a83cc3e9bd9198f633cb98eb48f3cc1af2505d5ee2712cbad029ff2b3
|
File details
Details for the file pydatapipes-0.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: pydatapipes-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
544b50867076f421216b034bb2dc1ca96b94e165698bfadf120b69354744f5a0
|
|
| MD5 |
d28c0c5e4665e0f8ec233593c35c1d4a
|
|
| BLAKE2b-256 |
7e3e0c973680e2d96259be569041c486e53c2e2474541850c25078db95a7f487
|