DS Practical Codes
A Python package to quickly access and display Data Science practical codes and automatically download their associated datasets.
Installation
To install the package locally in editable mode:
pip install -e .
Usage
import dspracticalcodes as ds
# Print code for Practical 1 and download its dataset
ds.print_practical(1)
# Print theory for Practical 1
ds.print_theory(1)
# Print code for Practical 5 (Linear Regression)
ds.print_practical(5)
Features
- Instant Code Access: Get the exact source code for practicals 1 through 11.
- Auto-Download: Automatically checks for and downloads required CSV files (e.g.,
Social_Network_Ads.csv,titanic.csv) if they are missing from your workspace. - Formatted Output: Prints code with clear headers and sections.
Available Practicals
- Data Wrangling I
- Data Wrangling II
- Descriptive Statistics
- Data Analytics I (Linear Regression)
- Data Analytics II (Logistic Regression)
- Data Analytics III (Naive Bayes)
- Text Analytics
- Data Visualization I
- Data Visualization II
- Data Visualization III
- Big Data Analytics (Impala/SQLite)
- Big Data Analytics (Scala)
Metadata
Release files for dspracticalcodes 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dspracticalcodes-0.2.0.tar.gz | 11.5 kB | Without provenance | Details for dspracticalcodes-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dspracticalcodes-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for dspracticalcodes-0.2.0-py3-none-any.whl |
Total release size: 23.5 kB
Release files / dspracticalcodes-0.2.0.tar.gz
| Download URL | dspracticalcodes-0.2.0.tar.gz |
|---|---|
| Size | 11.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6964a0ec15cb268273dcf63bd8f6d426da6cca05a0e2c0d7fdce8c5232d5a4f1
|
|
BLAKE2b-256 checksum How to use checksums |
a6c10c8fd200fec7b86cab75ac8cdd07de4f1c16dc90f916f22f78963fab4abb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Release files / dspracticalcodes-0.2.0-py3-none-any.whl
| Download URL | dspracticalcodes-0.2.0-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
255d6c3fa4994481e11d66363d10db0a5118ffa96c291c358e707a74794f0fed
|
|
BLAKE2b-256 checksum How to use checksums |
60a034fe5b3657cfbdb96b87ad15230cbf34f1a0642a30c2dbf9cf4df92410ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Security for dspracticalcodes 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.