Skip to main content

ject

functional extensions

Features

  • length: get length of function parameters
  • oneself: returns the parameter itself
  • pipe: pipe chain of functions

Usage

get length of function parameters

from ject import length

def fun(a, b, *args, **kwargs): return a, b, args, kwargs

print(length(fun)) # 4

pipe chain of functions

from ject import pipe

def add_one(n): return n + 1
def times_two(n): return n * 2

add_one_then_times_two = pipe(add_one, times_two)
print(add_one_then_times_two(4))  # 10

Metadata

Release files for ject 0.0.3

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

Source distribution (sdist)

Source distribution for ject 0.0.3
File Size Uploaded Provenance Actions
ject-0.0.3.tar.gz 2.0 kB Without provenance Details for ject-0.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 4.6 kB

Release files / ject-0.0.3.tar.gz

Download URL ject-0.0.3.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7c72dc613b5c601ee6b0f9d33464753053e92bc7c01833320fab4c53ca5bdd1c
BLAKE2b-256 checksum
How to use checksums
8288da717af0d4cfc9f4c71bf1a732442c5f847acbb88c5c9c5f52eef3a329eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.8.2 Linux/5.7.1-050701-generic

Release files / ject-0.0.3-py3-none-any.whl

Download URL ject-0.0.3-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84546456bc0d8e2f4d44333082f6b3ca2e9bcc0e6499e0a5f5db25ac701dde42
BLAKE2b-256 checksum
How to use checksums
bf7846d62e4ecfbf3cec26f57619c5544c89f69333eeab0a66f63744132e540e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.8.2 Linux/5.7.1-050701-generic

Security for ject 0.0.3

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