:rocket: X-plan :facepunch:
Install
pip install xplan
from xplan.iterable import *
@X
def xfunc1(x):
_ = x.split()
print(_)
return _
@X
def xfunc2(x):
_ = '>>'.join(x)
print(_)
return _
'I am very like a linux pipe' | xfunc1 | xfunc2
-
xtqdm
-
xseries
-
xdataframe
iterable | xseries
iterable | xdataframe
0 I
1 am
2 very
3 like
4 a
5 linux
6 pipe
Name: iterable, dtype: object
- xcounts
- xsummary
iterable | xcounts
counts 7
uniques 7
missing 0
missing_perc 0%
types unique
Name: iterable, dtype: object
iterable | xsummary
am 1
very 1
linux 1
like 1
I 1
a 1
pipe 1
Name: iterable, dtype: int64
- xsort
- xmap
- xreduce
- xfilter
iterable | xfilter(lambda x: len(x) > 1) | xmap(str.upper) | xsort | xreduce(lambda x, y: x + '-' + y)
'AM-LIKE-LINUX-PIPE-VERY'
- ...
Metadata
Release files for x-plan 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| x-plan-0.0.1.tar.gz | 12.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| x_plan-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.6 kB
Release files / x-plan-0.0.1.tar.gz
| Download URL | x-plan-0.0.1.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40fa30d37eed486deb71fb946e7843f7a603bb1f20555aa3462fc7418b8e6c39
|
|
BLAKE2b-256 checksum How to use checksums |
eeb20a8fcb1286f90c0034e2f3e7ee84009560512fb8422376e1beee5dee299c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
|
Release files / x_plan-0.0.1-py3-none-any.whl
| Download URL | x_plan-0.0.1-py3-none-any.whl |
|---|---|
| Size | 38.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc7f5fdea5fee214063e9dbee5aceece3b264740987878792dbb5ede6e093325
|
|
BLAKE2b-256 checksum How to use checksums |
f3c135348f2ffa8169342848c8f616861a777c6e542a3b46e813f9d108fbff76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
|