A simple Python package that bundles pandas, numpy, matplotlib, and scikit-learn under one unified namespace.
Project description
NPMS - Unified Data Science Package
A simple Python package that bundles pandas, numpy, matplotlib, and scikit-learn under one unified namespace.
Installation
pip install -e .
Usage
import npms as ns
# Pandas
df = ns.DataFrame({'A': [1, 2, 3], 'B': [4, 5, 6]})
print(df)
# Numpy
arr = ns.array([1, 2, 3, 4, 5])
print(ns.mean(arr))
# Matplotlib
ns.plot([1, 2, 3, 4], [1, 4, 9, 16])
xlabel = plt.xlabel
ylabel = plt.ylabel
title = plt.title
ns.xlabel('X')
ns.ylabel('Y')
ns.show()
# Scikit-learn
from npms import linear_model
model = linear_model.LinearRegression()
Features
- Single import for all major data science libraries
- Simplified namespace (use
ns.for everything) - Automatically installs dependencies via pip (pandas, numpy, matplotlib, scikit-learn)
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
npms-0.1.1.tar.gz
(2.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
npms-0.1.1-py3-none-any.whl
(1.9 kB
view details)
File details
Details for the file npms-0.1.1.tar.gz.
File metadata
- Download URL: npms-0.1.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d250c0c6f4dc83f41e953b6d0000fcc85a7f2d438055ccf892194b5b72f9cffb
|
|
| MD5 |
4adb080c870d8a9bd9fe890c23954593
|
|
| BLAKE2b-256 |
e372782c6101753be10ef3309f6ec95b8804c30be6edd25e113aa82eb2a58bf5
|
File details
Details for the file npms-0.1.1-py3-none-any.whl.
File metadata
- Download URL: npms-0.1.1-py3-none-any.whl
- Upload date:
- Size: 1.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2fbaeece7266390d886746fbff10a32e183982705f1c6323bb9602a65fe8bed
|
|
| MD5 |
e69d62d0df9a607e6fdbe3498ec294a9
|
|
| BLAKE2b-256 |
c006999e8e43df35b508687d3cc0ecfe63d0f3f5a1ffcd9afccce09de1a0416c
|