Skip to main content

DataAdvisor (data-advisor v0.5.0)

Autonomous Dataset Auditor, Diagnostic Engine & IoT Exam Code Bank
Engineered for students, practitioners, and engineers during timed practical examinations and data analysis tasks.
100% Offline: Requires zero internet connection to inspect datasets, search code, or retrieve solutions.


⚡ Quickstart

1. Search Any Keyword Across the Code Bank

Search instantly across all IoT questions, Arduino sketches, Python protocols, and Machine Learning models:

# Terminal CLI:
data-advisor --search "dht22"
data-advisor --search "coap"
data-advisor --search "mqtt"
data-advisor --search "random forest"
data-advisor --list                    # List all 36 available modules

Or inside a Python script / Jupyter Notebook:

from data_advisor import search

# List all available questions and experiments:
search()

# Search for any topic or keyword:
search("dht22")
search("coap")
search(["esp32", "mqtt"])

2. View / Retrieve Complete Question & Code Files (get_file)

Retrieve the full question statement, README setup instructions, and all source codes:

# Terminal CLI:
data-advisor --get Q1
data-advisor --get Q3
data-advisor --get CQ1
data-advisor --get SQ1
data-advisor --get 15 --line-numbers

Or inside Python:

from data_advisor import get_file, read_file

# Print the complete question, instructions, and clean code:
get_file("CQ1")
get_file("Q3", line_numbers=True)

# Or return the content as a string:
content = read_file("08")

3. Audit Any Exam Dataset & Generate Python Code (data_advisor)

When given an unknown dataset (CSV, TSV, Excel, Parquet):

# Terminal CLI: Print diagnostic report + executable Python solution:
data-advisor exam_dataset.csv --code

# Specify target column and save generated Python script to a file:
data-advisor exam_dataset.csv --target churn --output solution.py

Or inside Python:

from data_advisor import data_advisor

# 1-Line: Outputs diagnostic report AND prints full executable Python code:
data_advisor("exam_dataset.csv")

# With target variable and script export:
data_advisor("exam_dataset.csv", target="churn", output_script="solution.py")

📦 Android Practical Code Bank (38 Comprehensive Programs)

The code_bank/ directory contains 38 practical programs and a master combined.txt:

# Program File Topic / Description
1 01_NameDisplay.txt Displays Name and Email ID
2 02_MarksCalculate.txt Calculate Total and Average Marks of 3 Subjects
3 03_AndroidLayouts.txt Android Layouts Demonstration
4 04_Calculator.txt Simple Calculator App
5 05_TextColorChange.txt Text Color Change on Button Click
6 06_DateTimeLinear.txt Date and Time Display in LinearLayout
7 07_ToastMessage.txt Toast Message on Activity Launch
8 08_AlertBox.txt Alert Dialog Box
9 09_GreetingCard.txt Greeting Card with Image Display
10 10_PlayAudioVideo.txt Audio Player App
11 11_OnlineVideo.txt Video Stream Player from URL
12 12_OptionsMenu.txt Options Menu Demonstration
13 13_ContextMenu.txt Context Menu for Background Color Change
14 14_CheckBoxRadioButton.txt RadioButton and CheckBox Demonstration
15 15_ButtonClickNewActivity.txt Launch New Activity on Button Click
16 16_StudentActivity.txt Pass Student Data to New Activity
17 17_EmployeeActivity.txt Calculate Employee Salary in New Activity
18 18_CustomBroadcast.txt Custom Intent Broadcast Receiver
19 19_AirplaneMode.txt System Intent Broadcast (Airplane Mode)
20 20_BatteryLow.txt System Intent Broadcast (Battery Low)
21 21_AlarmClock.txt Alarm Clock Application
22 22_ContactDisplay.txt ListView Contact Display
23 23_FoodOrderApp.txt Food Ordering Application
24 24_ThreeActivityApp.txt Three Activity Navigation Flow
25 25_StudentDatabase.txt SQLite Student Database (Insert & View)
26 26_LibraryManagement.txt Library Management SQLite System
27 27_ProductDatabase.txt Product Database with ListView & GridView
28 28_CounterApp.txt Counter Application
29 29_TextToSpeechApp.txt Text-to-Speech Engine
30 30_AsynchronousTask.txt Background AsyncTask Execution
31 31_LoginRegistration.txt Login & Registration with SQLite Database
32 32_FlashLightApp.txt Camera Flashlight Controller
33 33_ShakeColorApp.txt Accelerometer Shake Sensor Color Change
34 34_CommunicationApp.txt SMS, Email, and Phone Call Manager
35 35_SensorsApp.txt Light and Proximity Sensors Demonstration
36 36_HallBookingSystem.txt Campus Hall Booking System
37 37_HospitalManagement.txt Hospital Patient Management System
38 38_StudentDatabase_CRUD.txt Full SQLite CRUD Student Database
39 combined.txt Master Combined File with All 38 Programs

🔒 100% Offline Capability

  • Zero Network Required: Does not connect to the internet to run searches, load code files, or inspect datasets.
  • Local Fallback Datasets: Machine learning scripts support local offline CSV datasets (city_day.csv, PRSA_Data_...csv, datatraining.txt) and include automatic synthetic data generators if dataset files are missing.
  • Local Protocol Testing: CoAP server/client examples bind to 127.0.0.1:5683 (localhost UDP) and local MQTT uses localhost:1883.

🚀 Building & Publishing to PyPI

1. Build the Distribution

python -m build

(Generates the universal wheel .whl and source distribution .tar.gz in dist/ bundling all 36 code bank modules, notes.txt, and combined.txt).

2. Upload to PyPI

python -m twine upload dist/*
  • Username: __token__
  • Password: <paste your PyPI API token starting with pypi-...>

💻 Installation on Other Machines

On any lab system, exam machine, or virtual environment:

# Install directly from PyPI
pip install data-advisor

# Or install locally in editable mode
pip install -e .

CLI Command Summary:

Command Action
data-advisor --list or -l List all 36 questions & files in the code bank
data-advisor --search "<keyword>" or -s Search questions matching any keyword or phrase
data-advisor --get <CQ1/Q3/SQ1/08> or -g Print complete question statement, setup instructions & code
data-advisor <dataset.csv> --code Audit dataset and output complete copy-pasteable Python code
data-advisor <dataset.csv> -o run.py Save generated Python data science pipeline to run.py

Metadata

Release files for data-advisor 0.5.0

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

Source distribution (sdist)

Source distribution for data-advisor 0.5.0
File Size Uploaded Provenance Actions
data_advisor-0.5.0.tar.gz 97.4 kB Without provenance Details for data_advisor-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for data-advisor 0.5.0
File Interpreter ABI Platform Actions
data_advisor-0.5.0-py3-none-any.whl Python 3 none any Details for data_advisor-0.5.0-py3-none-any.whl

Total release size: 224.4 kB

Release files / data_advisor-0.5.0.tar.gz

Download URL data_advisor-0.5.0.tar.gz
Size 97.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1793deea460644ce061c2b00362922482d0b4656cf867f8e2c984333561df2c5
BLAKE2b-256 checksum
How to use checksums
494843849d2eb9f99ab17ae3b8e0168dbd3cf5d3ee56fd9c7127587c022d36f4
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.5.0-py3-none-any.whl

Download URL data_advisor-0.5.0-py3-none-any.whl
Size 127.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
64bf86915d2d88508878d0911ea7a70c4cfbb2beacdebf8182fbd054da7344ce
BLAKE2b-256 checksum
How to use checksums
bd84679c015e84018a3764d53308a329681a9a7c44e7a9d4de2678efbf7096fd
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.5.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.

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