Skip to main content

NIELIT Raspberry Pi Practicals

PyPI version PyPI Downloads Python Version License

A professional, production-quality Python package containing 20 Raspberry Pi practical programs developed for the NIELIT curriculum.

PyPI Package: pypi.org/project/nielit-raspberrypi-practicals/

Features

  • Comprehensive: 20 distinct practical programs covering basic GPIO to advanced IoT concepts.
  • Hardware Agnostic: Tested on Raspberry Pi 3, 4, and 5 running Raspberry Pi OS (Bookworm).
  • Educational: Code is structured for learning, featuring clear type hints, docstrings, and robust error handling.
  • Modern Python: Built with modern packaging (pyproject.toml) and tooling.
  • CLI Utility: Built-in command-line tool to list, query, and run practicals.

Quick Start

Installation

Requires Python 3.9+. It's recommended to use a virtual environment.

# Basic installation
pip install nielit-raspberrypi-practicals

# Install with all optional hardware dependencies
pip install nielit-raspberrypi-practicals[all]

Basic Usage

List all available practicals:

nielit-rpi list

Check system capability:

nielit-rpi check

Run a specific practical:

nielit-rpi run 3_2

Practical Index

# Title Hardware Difficulty
3_1 System Information RPi only Beginner
3_2 GPIO LED Output LED + resistor Beginner
3_3 Push Button Input Push button Beginner
3_4 Button Controlled LED Button + LED Beginner
3_5 Traffic Light Controller 3 LEDs Beginner
3_6 PWM LED Brightness LED Beginner
3_7 Buzzer Alert Active buzzer Beginner
3_8 Servo Motor Control SG90 servo Intermediate
3_9 HC-SR04 Distance HC-SR04 sensor Intermediate
3_10 DHT11 Temp & Humidity DHT11 sensor Intermediate
3_11 I2C LCD Display 16x2 I2C LCD Intermediate
3_12 PIR Motion Detection PIR sensor Intermediate
3_13 Relay Control Relay module Intermediate
3_14 LDR + MCP3008 ADC MCP3008 + LDR Intermediate
3_15 MFRC522 RFID MFRC522 module Advanced
3_16 SQLite Sensor Logger RPi only Intermediate
3_17 Flask GPIO Web Control LED + LAN Advanced
3_18 MQTT Publisher Network Advanced
3_19 MQTT Subscriber + GPIO LED + MQTT Advanced
3_20 Smart Home Capstone PIR + LED Advanced

Supported Environment

  • Hardware: Raspberry Pi 3 / 4 / 5
  • OS: Raspberry Pi OS (Bookworm)
  • Python: 3.9+

Development Setup

git clone https://github.com/lovnishverma/nielit-raspberrypi-practicals.git
cd nielit-raspberrypi-practicals
pip install -e .[dev,all]

Testing

pytest

License

NIELIT Ropar License. Copyright (c) 2026 NIELIT Ropar.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nielit_raspberrypi_practicals-1.0.1.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nielit_raspberrypi_practicals-1.0.1-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file nielit_raspberrypi_practicals-1.0.1.tar.gz.

File metadata

File hashes

Hashes for nielit_raspberrypi_practicals-1.0.1.tar.gz
Algorithm Hash digest
SHA256 3c2e64c275c068f4a2351048129809d5ddd4eba3f7f64752266c05c5eaaf5d99
MD5 64bf8d4d1a8aeace3ff606fd5a97c8c4
BLAKE2b-256 9899aa74f3572c6b2c793338995d17b1d965d85ae21cddce98ee0e7710ece712

See more details on using hashes here.

File details

Details for the file nielit_raspberrypi_practicals-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nielit_raspberrypi_practicals-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3b6d05ab2b71420e4402e50aafce8cb133a21439f9d10c24618cf26c5c5ffc8f
MD5 86f1a7a33622a04e5279eeb4b059c152
BLAKE2b-256 1e274b619de62d9759d4de285cb6442fc5e59ec02e42b6d95585715b07bfc880

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.3

2 files

1.0.2

2 files

This release

1.0.1 This release

2 files

1.0.0

2 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