DataAdvisor (data-advisor)
Quick guide on how to upload this package to PyPI and how to use it on any other system.
🚀 Part 1: How to Upload to PyPI (From This System)
Run these commands in PowerShell inside this directory:
1. Build the Package
python -m build
(This bundles all 52 DAUP questions and 17 IoT lab solutions directly inside the package).
2. Upload to PyPI
python -m twine upload dist/*
- Username:
__token__ - Password:
<paste your PyPI API token starting with pypi-...>
If you don't have a token yet: Register at pypi.org, enable 2FA in Account Settings, and create an API Token.
💻 Part 2: What to Do on Other Systems
Once uploaded, on any other computer, VM, or lab machine with Python installed:
1. Install via pip
pip install data-advisor
2. How to Use on the Other System
A. View / Retrieve Complete Code Files
Directly from terminal:
# View complete code with header & line count:
data-advisor --get q1
data-advisor --get q24 --line-numbers
data-advisor --get q52
# View IoT sketches and scripts:
data-advisor --get sketch.ino
data-advisor --get weather_analysis.py
# List all available 52 questions & 17 IoT projects:
data-advisor --list
Or inside Python / Jupyter Notebook:
from data_advisor import get_file, read_file
# Print complete code directly:
get_file("q1")
get_file(24, line_numbers=True)
# Or get the code as a string to copy / save:
code = read_file("q24")
B. Run Any File Directly
Execute any question or project script directly:
data-advisor --run q24
data-advisor --run 10
data-advisor --run iss
Or inside Python:
from data_advisor import run_file
run_file("q24")
C. Search by Keyword
data-advisor --search "linear regression"
data-advisor --search "dht22"
data-advisor --search "kmeans"
Or inside Python:
from data_advisor import search
search("linear regression")
D. Audit Any Exam Dataset & Generate Python Code
When given an exam dataset (e.g. exam_dataset.csv):
# Print diagnostic report + complete executable Python solution:
data-advisor exam_dataset.csv --target churn --code
# Save generated Python script directly to a file:
data-advisor exam_dataset.csv --target churn --output solution.py
Or inside Python:
from data_advisor import data_advisor
data_advisor("exam_dataset.csv", target="churn")
Metadata
Release files for data-advisor 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 |
|---|---|---|---|---|
| data_advisor-0.2.0.tar.gz | 2.4 MB | Without provenance | Details for data_advisor-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| data_advisor-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for data_advisor-0.2.0-py3-none-any.whl |
Total release size: 4.9 MB
Release files / data_advisor-0.2.0.tar.gz
| Download URL | data_advisor-0.2.0.tar.gz |
|---|---|
| Size | 2.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
951746738c4cf66febb41902b1f2d17d7244bee88036523879073b0daba4b0eb
|
|
BLAKE2b-256 checksum How to use checksums |
9b067836485037e224c3d84f5d05d603b015cb69e8d1b896a58d0bf03d0f727b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / data_advisor-0.2.0-py3-none-any.whl
| Download URL | data_advisor-0.2.0-py3-none-any.whl |
|---|---|
| Size | 2.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
42984ae9ed07b5e87fe3cfca070095f8ee54653b2db6a8787e63c827f726fd68
|
|
BLAKE2b-256 checksum How to use checksums |
c2233d2b8c376f9085f589c273360c2b79f23769272ce6b97d26ac115f9fc6d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Security for data-advisor 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.