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.6.0
- 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.6.1.tar.gz
.
File metadata
- Download URL: ncert_learn-2.6.1.tar.gz
- Upload date:
- Size: 28.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3233ae536a03983c1629aefe8061a834781d1a3a858f79f7dbd167cc8d39fc15 |
|
MD5 | f982db071c182fb275a008caee3ca584 |
|
BLAKE2b-256 | e9cdc3ca71107b7da66171f19e0bca7a5c21c6e914a091ee8b8d7fc7da510b4f |
File details
Details for the file ncert_learn-2.6.1-py3-none-any.whl
.
File metadata
- Download URL: ncert_learn-2.6.1-py3-none-any.whl
- Upload date:
- Size: 30.2 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 | 5b9e0bd22c86ad7f6eae7a50240cbe16230ac04f26ece076ec8a01e328f019a2 |
|
MD5 | 9226036e9ec90c23c66369a2d7ace445 |
|
BLAKE2b-256 | 7058fdec970d10527fddd94686871529ca9d9703d5879a4f63f7d1c481b51c9b |