Skip to main content

Find yourself doing these over and over again everytime you start a new project or notebook?

pip3 install pandas scikit-learn matplotlib numpy statmodels scipy seaborn ...

and

import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
import scipy
...

dslibs eases your pain with an unified module that automatically installs and imports frequently used data science modules like numpy, pandas, scikit-learn, etc. in just a sec.

Installation

pip install dslibs-baosws

Usage

Just from dslibs import *:

>>> from dslibs import *
-------------------------------------------------------
Following modules was installed and imported by dslibs:
"numpy" as "np"
"pandas" as "pd"
"sklearn" as "skl"
"sklearn.preprocessing" as "spp"
"sklearn.model_selection" as "sms"
"sklearn.pipeline" as "spl"
"sklearn.metrics" as "smt"
"sklearn.feature_selection" as "sfs"
"matplotlib.pyplot" as "plt"
"statsmodels.api" as "sma"
"scipy" as "sp"
-------------------------------------------------------
>>>  # now we can use 'pd' without 'import pandas as pd' as usual
>>> df = pd.DataFrame({'A': [1, 2, 3], 'B': [4, 5, 6]})
>>> df
A  B
0  1  4
1  2  5
2  3  6

Currently supported imports

module alias
numpy np
pandas pd
sklearn skl
sklearn.preprocessing spp
sklearn.model_selection sms
sklearn.pipeline spl
sklearn.metrics smt
sklearn.feature_selection sfs
matplotlib.pyplot plt
statsmodels.api sma
scipy sp
seaborn sns

Metadata

Release files for dslibs-baosws 0.0.1

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

Source distribution (sdist)

Source distribution for dslibs-baosws 0.0.1
File Size Uploaded
dslibs-baosws-0.0.1.tar.gz 2.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dslibs-baosws 0.0.1
File Interpreter ABI Platform
dslibs_baosws-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.5 kB

Release files / dslibs-baosws-0.0.1.tar.gz

Download URL dslibs-baosws-0.0.1.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
cd165d0ce52e04d2a3052408d681cd831c203fa38579e991807ffff62199b5af
BLAKE2b-256 checksum
How to use checksums
b444eeac11692aa2c1f11997ed863f6422adf9a1a1a76a8c06886774a5903f7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9

Release files / dslibs_baosws-0.0.1-py3-none-any.whl

Download URL dslibs_baosws-0.0.1-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
21fc5e9b77eca641fd0ac4c106a0ea923246ef29f5dd7772126882aec2ad6526
BLAKE2b-256 checksum
How to use checksums
e2dde4129c3b90552974477fe592f870cb2749224fd31ad202713ac6dba58729
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

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