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.6.0.tar.gz (28.8 kB view details)

Uploaded Source

Built Distribution

ncert_learn-2.6.0-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ncert_learn-2.6.0.tar.gz
  • Upload date:
  • Size: 28.8 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.6.0.tar.gz
Algorithm Hash digest
SHA256 2117f26517d460edf1ca26717266a179dd6421ad2e5a406d3fb36d791b0993eb
MD5 50df7b1e9af393d935b185757946ead8
BLAKE2b-256 ff342f26cc4ff1606a7609edf664b33e004657e1bfd2998dc9eaf6acd4153520

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ncert_learn-2.6.0-py3-none-any.whl
  • Upload date:
  • Size: 30.1 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.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5dea7e0e072e96ee8986a06ca09fd6812d8e06d9da8d14c725b08ac9c7800f2
MD5 712c78aafae3ea9ddee3b9e7bb0bd1c5
BLAKE2b-256 840f47b2d119659f5e83e5336217f3bc00359cfd2b9558aea9e2cc79d9377769

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