A module for learning in ncerts cs class 12 python and mysql
Project description
ncert_learn
ncert_learn is a Python module designed for NCERT Class 12 Computer Science students. It provides a wide range of utility functions, covering Python programming, MySQL database interactions, mathematical operations, data structures, and various other essential topics to support learning and development.
Key Features
-
Mathematical Functions:
- Check for prime numbers, Armstrong numbers, strong numbers, Niven numbers, and more.
- Functions for calculating Fibonacci numbers, even/odd checks, and other numerical operations.
-
Data Structures:
- Stack implementations using lists and dictionaries, with functions to manipulate and display the stack.
-
Geometric Calculations:
- Functions to calculate areas of common geometric shapes such as circles, rectangles, squares, polygons, and triangles.
-
Number Conversions:
- Functions to convert integers to binary, octal, hexadecimal formats, and conversions from binary back to integer.
-
MySQL Operations:
- Connect to MySQL, create and show databases, manage tables, and execute SQL queries directly from Python.
-
Sorting Algorithms:
- Includes basic sorting algorithms like Bubble Sort and Insertion Sort.
-
File Handling:
- Functions to check if a file is a text file, read from or write to text files, and manage file contents.
-
Operating System Utilities:
- Retrieve information about the current operating system, Python interpreter, CPU count, directory listings, and network connectivity.
-
Package Management:
- Functions to install Python libraries, including batch installation from a list.
-
Time Functions:
- Access the current time, process time, monotonic time, and thread time.
-
Support and Documentation:
- Links to support email, feedback email, bug tracker, GitHub repository, and documentation.
New Features in Version 2.7.5
- Expanded Mathematical Functions: More advanced checks for prime, Armstrong, and Niven numbers.
- Enhanced File Handling: Improved text file management, including copying contents from one file to another.
- System Utilities: Added functions to fetch current Python interpreter path, processor details, and check network connectivity.
- MySQL Updates: Improved MySQL database and table management functions.
- Time Management: Added time-based functions like process time and thread time.
Bug Fixes
- Error Handling Improvements: Enhanced error handling for file operations and MySQL interactions.
Changelog
See CHANGELOG.md for details on version changes.
Installation
To install ncert_learn
, simply 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-2.7.5.tar.gz
.
File metadata
- Download URL: ncert_learn-2.7.5.tar.gz
- Upload date:
- Size: 30.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f8627dddcbfc6d872423681ad48e69b0383c6422ae18ba43362cd3ea3f8778b |
|
MD5 | 75b210ba6e2781a89281eeb82ffa172a |
|
BLAKE2b-256 | 796f747ced0da18ace72fdb278ee556ec4c75efc890003879902e1126fd214c3 |
File details
Details for the file ncert_learn-2.7.5-py3-none-any.whl
.
File metadata
- Download URL: ncert_learn-2.7.5-py3-none-any.whl
- Upload date:
- Size: 32.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e342ce050f78e12372be21a0aa42e052d827f187bda163e1be5b80f66c718e42 |
|
MD5 | 646de7cb46d02c6e5dd1287601f787e2 |
|
BLAKE2b-256 | 269828b1ba4a4d1eb1c8a1f30b507b3c9e8d25e6ffea1cac8b6ed4ef98a78309 |