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.2.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.2-py3-none-any.whl
(2.0 kB
view details)
File details
Details for the file npms-0.1.2.tar.gz.
File metadata
- Download URL: npms-0.1.2.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 |
d6ea75613b09f9cee3fdb0bf9f10c4ac004a906f99a576cbbf3d8561aceaa675
|
|
| MD5 |
e1ba0e809d0c85a8b25089db5b88b2e6
|
|
| BLAKE2b-256 |
89f15ba3d29c7921e8e7894a07873535b276432c3a75d3f1c5f4bf51c042f361
|
File details
Details for the file npms-0.1.2-py3-none-any.whl.
File metadata
- Download URL: npms-0.1.2-py3-none-any.whl
- Upload date:
- Size: 2.0 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 |
a2209e5c414268b9007d13d5afc74cb48682312e93e6ea75ebf78aed66be5548
|
|
| MD5 |
8440fed79dc75288f2ca5ab5bfb25efa
|
|
| BLAKE2b-256 |
0177100e2db5f423fb53560399e4688c4182e28314ee708863b42eb1c48cd180
|