Skip to main content

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).render()

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


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.16.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ninjalib-0.0.16-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file ninjalib-0.0.16.tar.gz.

File metadata

  • Download URL: ninjalib-0.0.16.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for ninjalib-0.0.16.tar.gz
Algorithm Hash digest
SHA256 86dc15e22e5e99bdd794a52b96eee6d2a2ea8b80dc72c2656ff4f4dd23a9c170
MD5 fc742df2d9e66872d8ab21e3b717a817
BLAKE2b-256 5259be5e76d35b3d31175e25f4b4e214c49f329fe9b19c564f294b99890641a1

See more details on using hashes here.

File details

Details for the file ninjalib-0.0.16-py3-none-any.whl.

File metadata

  • Download URL: ninjalib-0.0.16-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

Hashes for ninjalib-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 ce500c740ad6f10251924eb4bf922c5e02f02fd4c03c074049f136e771e1b752
MD5 43a8fe2895e906c2e45fb28ddee1cb37
BLAKE2b-256 207a241ef24f52c852fb6ce415d3588d36c7eca0a856d4e91900e1ed29fbdbc4

See more details on using hashes here.

Supported by

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