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/

https://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.2.tar.gz (186.8 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.2-py3-none-any.whl (134.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nielit_raspberrypi_practicals-1.0.2.tar.gz
Algorithm Hash digest
SHA256 8880752fdce795e1b8986aeb21be5689f7a2f3c9248fb5f9d4ee0d2327402f77
MD5 8ef7806cb72ae8f96b2f7cc00c4cd9f1
BLAKE2b-256 3f810986dc79d6ef5e3c40ca0b323ce11c008b3ec3e4721fe73767693fbb75b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nielit_raspberrypi_practicals-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 93f01d95e959ed73588e12b83b892f3f4296c51fcee93e0dbc1df2801a3ca6a2
MD5 4ea67479e18b9504ec143adaa6ed67d8
BLAKE2b-256 0e80f94850d08ebc2332a045a6278e9aa0109b615b422f2c7e12b1d3c2014f9d

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.3

2 files

This release

1.0.2 This release

2 files

1.0.1

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