Skip to main content

:rocket: Yuan :facepunch:


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

https://www.kaggle.com/c/elo-merchant-category-recommendation/discussion/82055#479196 Competitions


Install

pip install Yuan

Usage

from yuan.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
  • ...

Metadata

Release files for Yuan 1.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Yuan 1.0.9
File Size Uploaded Provenance Actions
Yuan-1.0.9.tar.gz 54.5 kB Without provenance Details for Yuan-1.0.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Yuan 1.0.9
File Interpreter ABI Platform Actions
Yuan-1.0.9-py3-none-any.whl Python 3 none any Details for Yuan-1.0.9-py3-none-any.whl

Total release size: 1.3 MB

Release files / Yuan-1.0.9.tar.gz

Download URL Yuan-1.0.9.tar.gz
Size 54.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bda8011aa3bc6ea9871c66cb574d4c6c802aac63e4def033dd2735c8e0fa711d
BLAKE2b-256 checksum
How to use checksums
b98970ec2f14431194867387fe92840b2b1e3db89b9885dcc6b3ca9395ff23f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

Release files / Yuan-1.0.9-py3-none-any.whl

Download URL Yuan-1.0.9-py3-none-any.whl
Size 1.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
1644a944dd327ab9865b77a9ea2b6b8d34bf7b6cc90a129df44820d67140e74d
BLAKE2b-256 checksum
How to use checksums
ebfb7c006edc143be0ae171d703ef6a38c98ccb4196d15aa1816570383e8d209
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

Security for Yuan 1.0.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page