Skip to main content

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


Download files

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

Source Distribution

ncert_learn-2.7.2.tar.gz (28.7 kB view details)

Uploaded Source

Built Distribution

ncert_learn-2.7.2-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

Details for the file ncert_learn-2.7.2.tar.gz.

File metadata

  • Download URL: ncert_learn-2.7.2.tar.gz
  • Upload date:
  • Size: 28.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for ncert_learn-2.7.2.tar.gz
Algorithm Hash digest
SHA256 6e5f63faae08cbd8db65a04c2459a046fcab912b1806f6af7e3fa9fbadd4d53b
MD5 e654ed3f8bcf5ad67a5c77c33754f60c
BLAKE2b-256 d9ccc019b03f0c25a19e4055689505a568f4c3ef69b85761289756a856c93270

See more details on using hashes here.

File details

Details for the file ncert_learn-2.7.2-py3-none-any.whl.

File metadata

  • Download URL: ncert_learn-2.7.2-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

Hashes for ncert_learn-2.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f434929b2a0479f3d0760ad85fa4c29782a63e8a52a8bb5f8ba81c5b0bf09b57
MD5 03ed78201c7e9a7487cedf589e474cd6
BLAKE2b-256 e94636c173e32424e1aaacce700b586178b99522a522fcde4b377578d6e5d10d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page