description
Project description
: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'
- ...
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
x-plan-0.0.1.tar.gz
(12.6 kB
view details)
Built Distribution
x_plan-0.0.1-py3-none-any.whl
(38.0 kB
view details)
File details
Details for the file x-plan-0.0.1.tar.gz
.
File metadata
- Download URL: x-plan-0.0.1.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40fa30d37eed486deb71fb946e7843f7a603bb1f20555aa3462fc7418b8e6c39 |
|
MD5 | 52c85df9a0a712708f367a8eb8e7b458 |
|
BLAKE2b-256 | eeb20a8fcb1286f90c0034e2f3e7ee84009560512fb8422376e1beee5dee299c |
File details
Details for the file x_plan-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: x_plan-0.0.1-py3-none-any.whl
- Upload date:
- Size: 38.0 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc7f5fdea5fee214063e9dbee5aceece3b264740987878792dbb5ede6e093325 |
|
MD5 | 9297fba7aac9bfc62cba03bc03f9ff28 |
|
BLAKE2b-256 | f3c135348f2ffa8169342848c8f616861a777c6e542a3b46e813f9d108fbff76 |