Skip to main content

description

Project description

:rocket: TQL :facepunch:


太强了:数据不是创造规律,而是展示那些原本的规律


Install

pip install tql

Usage

from tql.pipe 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

    tqdm

  • xfilter / xmap / xsort / xreduce

iterable | xfilter(lambda x: len(x) > 1) | xmap(str.upper) | xsort | xreduce(lambda x, y: x + '-' + y)

'AM-LIKE-LINUX-PIPE-VERY'
  • xsummary
iterable | xsummary

counts               7
uniques              7
missing              0
missing_perc        0%
types           unique
Name: iterable, dtype: object
  • ...

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

tql-0.0.1560998220.tar.gz (70.3 kB view details)

Uploaded Source

Built Distribution

tql-0.0.1560998220-py3-none-any.whl (2.3 MB view details)

Uploaded Python 3

File details

Details for the file tql-0.0.1560998220.tar.gz.

File metadata

  • Download URL: tql-0.0.1560998220.tar.gz
  • Upload date:
  • Size: 70.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1.post20180923 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.6

File hashes

Hashes for tql-0.0.1560998220.tar.gz
Algorithm Hash digest
SHA256 137e89aadcd6b85797d495fb009377cb8a986ee88821fef00fe25384c9e025aa
MD5 c84fc5f52a3171e3551d2baf646e8cd7
BLAKE2b-256 b79571bf14bd10ab076cca8bf10f4a4f2895bf5df53bdfc15c0afd92116684cd

See more details on using hashes here.

File details

Details for the file tql-0.0.1560998220-py3-none-any.whl.

File metadata

  • Download URL: tql-0.0.1560998220-py3-none-any.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1.post20180923 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.6

File hashes

Hashes for tql-0.0.1560998220-py3-none-any.whl
Algorithm Hash digest
SHA256 83f2c73e12590c64c884b943db7af692b263c00de187346bd0c5d789f5c88ef1
MD5 836f6562a53e8dd6e2700d50a8788525
BLAKE2b-256 ecbe1e1f9c74f879b253226deeabc9a372eb70a0400184065aafca7e513b6e3f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page