ninjalib is a data science library
Project description
ninjalib is a data science library
import ninjalib
ninja = ninjalib.ninjalib(data).anomaly()
ninja = ninjalib.ninjalib(data,nth=0).flatten_list()
ninja = ninjalib.ninjalib(data,nth=0).flatten_tuple()
ninja = ninjalib.ninjalib(data).project()
ninja = ninjalib.ninjalib(data,axis,angle).rotate_camera()
ninja = ninjalib.ninjalib(data).mean()
ninja = ninjalib.ninjalib(team_1,team_2).odds()
ninja = ninjalib.ninjalib([host,port],protocol=-1).status()
ninja = ninjalib.ninjalib(data).varint()
Notes:
flatten_list and flatten_tuple will by default flatten down to 1D. To control this, pass the amount to flatten
project and rotate camera are for 3D rendering on a 2D plane
varint is for Minecraft Java
rotate_camera accepts data as a 2D list of x,y,z coordinates, axis as a string (x,y,or,z) and an angle (90 degrees for right angle)
odds calculates the odds of two ncaa teams. Pass the scores as a list of game points
status returns the packets needed to query the status of a Minecraft Java server. As of 1.21.5, it is 770. -1 Queries the server protocol
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
ninjalib-0.0.20.tar.gz
(15.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ninjalib-0.0.20-py3-none-any.whl
(15.1 kB
view details)
File details
Details for the file ninjalib-0.0.20.tar.gz.
File metadata
- Download URL: ninjalib-0.0.20.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4deb21f387dcd5ab1ecf50b4624bca50c27b5a16fd9f6d6d5d2dd8a40561f4fb
|
|
| MD5 |
8bf1d6e5a0cc9a772a3ef5927f692375
|
|
| BLAKE2b-256 |
4ff674d1857ea3b01d34346a9d145e35e09519497194359d75bfbcccd1f07ab5
|
File details
Details for the file ninjalib-0.0.20-py3-none-any.whl.
File metadata
- Download URL: ninjalib-0.0.20-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0cbb9f2942fd09a41fb7ea673f5b9451a4b3812f0eaa42c95c2a2746ccfa4a5
|
|
| MD5 |
8ce7b71e2e3664902a32de8b96c53a83
|
|
| BLAKE2b-256 |
728b626672b08e38987a72a84a3e367561233db38c472fed561d0e6929be092b
|