A Python Module for NCERT Class 12 Computer Science - Learn Python and MySQL with ease!
Project description
ncert_learn
ncert_learn is a comprehensive Python module designed to support NCERT Class 12 Computer Science students. It offers a wide range of utility functions across various topics, including Python programming, MySQL database interactions, mathematical operations, data structures, system utilities, and more.
Key Features
Mathematical Functions
- Prime number check
- Armstrong, Strong, Niven, Palindrome checks
- Fibonacci numbers, even/odd checks, and more
- Advanced functions like GCD, LCM, prime factorization, modular exponentiation, and fast Fourier transform
Data Structures
- Stack operations using lists and dictionaries (push, pop, peek, display)
Geometric Calculations
- Area calculations for circles, rectangles, squares, polygons, and triangles
Number Conversions
- Convert integers to binary, octal, hexadecimal, and vice versa
MySQL Operations
- Connect to MySQL, manage databases and tables, execute queries
- Advanced MySQL execution for optimized database management
Sorting Algorithms
- Implementations of Bubble Sort and Insertion Sort
File Handling
- Read, write, and manage text, CSV, and binary files
- File operations like copying, reading specific lines, and clearing contents
- Advanced file operations (e.g., creating directories, renaming, moving files, extracting zip files)
System Utilities
- Fetch information about the operating system, processor, network connectivity, and Python interpreter
Package Management
- Install and manage Python libraries, including bulk installation from a list
Time Management
- Access current time, process time, monotonic time, and thread time
XAMPP Utilities
- Start/stop XAMPP MySQL and Apache, check PHPMyAdmin access
Zip File Handling
- Handle ZIP files (list contents, extract, add files)
Nmap Scans
- Perform various Nmap scans such as intense scan, quick scan, OS detection, and more
SQLMap Scans
- Perform SQL injection tests using SQLMap
Text, Binary, CSV File Operations
- Overwrite and manipulate text, binary, and CSV files with advanced handling
Advanced Mathematical and Cryptographic Functions
- Functions for GCD, LCM, prime factors, modular exponentiation, Fibonacci, and more
- Advanced hashing, modular inverse, and fast Fourier transforms
List Operations
- Advanced list handling functions such as sorting, reversing, finding, combining, and counting items
String Operations
- String manipulation, counting occurrences, and text transformations like case conversion, concatenation, and joining
Dictionary Operations
- Manage key-value pairs in dictionaries with advanced functions for adding, removing, updating, and fetching values
Advanced Operations
- Functions for advanced number theory (e.g., GCD, LCM, Fibonacci)
- Optimized algorithms for cryptographic and mathematical operations
New Features in Version 4.5.7
- New Functionality: A suite of new functions for enhanced file, string, list, and dictionary operations
- Advanced Mathematical Functions: Added several new mathematical functions such as
adv_gcd
,adv_lcm
,adv_prime_factors
,adv_is_prime
, and more - Advanced File Handling: Added operations for advanced file management (e.g., renaming, moving, compressing files, and extracting ZIP)
- Enhanced MySQL Operations: Introduced
mysql_execute_advanced_mode
for optimized database queries - Advanced System Utilities: More functions to handle system tasks and fetch system information efficiently
- Bug Fixes and Optimizations: General improvements to enhance performance and stability
Disclaimer
This module is intended for educational purposes only. Using this module for any illegal activities is strictly prohibited. The authors and contributors are not responsible for any misuse of the module.
Installation
To install ncert_learn, use pip
:
pip install ncert_learn
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ncert_learn-4.5.7.tar.gz
.
File metadata
- Download URL: ncert_learn-4.5.7.tar.gz
- Upload date:
- Size: 8.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92b04770a62ac16fb400c876b0c97fa82566798fded5dbd72ca4253cab88f77c |
|
MD5 | 24631e9d5efd6d65b86ad10eb9081739 |
|
BLAKE2b-256 | 2615130c0b0a88ba8db3ecb7cdbdbc83e7c8bb9c9ed00eadc920c6e3981025a4 |
File details
Details for the file ncert_learn-4.5.7-py3-none-any.whl
.
File metadata
- Download URL: ncert_learn-4.5.7-py3-none-any.whl
- Upload date:
- Size: 8.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb008ee9e66ad507455ace3a1af90f3269e4d59a9677c92dc3573f48cbc72a35 |
|
MD5 | 9e5e73a4ac4dd2273d0f160ee9bc0053 |
|
BLAKE2b-256 | ea6b19b28b025ce07c5f474330bc1efad15c9330fadc5521fca0cface0929dbd |