Skip to main content

ninjalib is a data science library

import ninjalib

center = ninjalib.ninjalib(data).center()

flatten = ninjalib.ninjalib(data,nth=0).flatten()

gravity = ninjalib.ninjalib(grams,meters).gravity()

mean = ninjalib.ninjalib(data).mean()

project = ninjalib.ninjalib(focal_length,x,y,z).project()

NOTES:

center expects a 2D list/tuple of 2D OR 3D vertices. It will also accept a 1D list/tuple of floats and/or ints. Returns the center of the line, 2D, or 3D shape.

flatten: list or tuple expected; flatten nth times. returns a flattened array. If nth is left blank, it will flatten to a 1D list.

gravity: expects int or float. Returns the gravitational pull of an object with mass in grams and diameter in meters.

mean = list or tuple expected. Returns the mean of a tuple or list.

project = expects floats and/or ints. Returns the projected 3D coordinates on a 2D plane.

Metadata

Release files for ninjalib 0.0.29

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

Source distribution (sdist)

Source distribution for ninjalib 0.0.29
File Size Uploaded Provenance Actions
ninjalib-0.0.29.tar.gz 14.5 kB Without provenance Details for ninjalib-0.0.29.tar.gz

Built distribution (wheel)

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

Total release size: 29.0 kB

Release files / ninjalib-0.0.29.tar.gz

Download URL ninjalib-0.0.29.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4e4b290c7b315fccfae836aff1915903b4de652c1a6440a3c49aea574ff1a7d9
BLAKE2b-256 checksum
How to use checksums
92293ac043a51f401015627055e602e62395d0dd06ed5d21de1cd8cb2b5fa4a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / ninjalib-0.0.29-py3-none-any.whl

Download URL ninjalib-0.0.29-py3-none-any.whl
Size 14.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57b0dfee3abeea3ddf881f6fadf5915b5936efa8a42b43f4c7399915612230a7
BLAKE2b-256 checksum
How to use checksums
01deecda3cfe6dfc94ae8182dae7e9f8792e78f44e7ab921db4aaeae6e41bc9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Security for ninjalib 0.0.29

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.

Release history Release notifications | RSS feed

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