Skip to main content

Topic-wise practical code printer for PySpark, time series, MongoDB, PL, CloudSim, and more.

Project description

cpmath

This library exposes three main classes:

  • DSTL
  • PL
  • DSA

Example:

from cpmath import DSTL, PL, DSA

dstl = DSTL()
pl = PL()
dsa = DSA()

dstl.listing()
dstl.time_series.show()
dstl.mongodb.instructions()

pl.listing()
pl.activation_functions.top()
pl.activation_functions.basic_activation_function_visualizer()
pl.cloudsim.instructions()
pl.cloudsim.priority_based_cloudlet_scheduling()
pl.cloud_apps.employee_record_management_system()

dsa.listing()
dsa.trees.avl_tree()
dsa.knapsack.knapsack_01()

Structure

  • DSTL
    • pyspark
    • time_series
    • mongodb
  • PL
    • activation_functions
    • neural_networks
    • fuzzy_logic
    • cloud_computing
    • cloud_apps
    • cloudsim
    • cloudlet
    • apex
  • DSA
    • knapsack
    • trees
    • graphs
    • heaps

Each PL topic has:

  • top() to print the related problem statements from PROBLEM STATEMENT.pdf
  • topic-specific methods to print the matching code/content from Programming Lab Practice Programs.pdf

Each DSA topic has:

  • Methods corresponding to specific practical implementations (e.g., avl_tree(), knapsack_01())

Extra helpers:

  • listing() prints available groups or methods
  • instructions() prints setup or run instructions where available

Notes:

  • The library publishes as cpmath and supports from cpmath import DSTL, PL, DSA.
  • Internally the packaged content is still sourced from the pysparke module tree.
  • The library prints the extracted text as stored in the repo.
  • Some PL content comes from OCR text extracted from PDF, so spacing/formatting may look imperfect.

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

cpmath-0.1.14.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cpmath-0.1.14-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

Details for the file cpmath-0.1.14.tar.gz.

File metadata

  • Download URL: cpmath-0.1.14.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for cpmath-0.1.14.tar.gz
Algorithm Hash digest
SHA256 104a72c296797546c83e077f978e8b6c012c7717e89662614ed5e9fe7b51d0a9
MD5 6bd647afd6f258cb2ac6676915fd3162
BLAKE2b-256 a289adb3438256ade9dc7a03c2db53c9f3704411eba649c32fcec3af1950a64b

See more details on using hashes here.

File details

Details for the file cpmath-0.1.14-py3-none-any.whl.

File metadata

  • Download URL: cpmath-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for cpmath-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 9895a34331f18eef760038d26edb1f3ff33ec9ffeeb133c483e9d7ce0c075b89
MD5 e6e6ea4e85c07bc583ca5f1f0bf55d7f
BLAKE2b-256 bbd8f0e7890aab2902481ceec8e079af005fa10b98db674b083a0d7abd1af0ac

See more details on using hashes here.

Supported by

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