Skip to main content

ModX — The Python Module Universe at Your Fingertips

Project description

🌟 ModXPy — The Python Module Universe at Your Fingertips 🌟

Welcome to ModXPy, the ultimate playground for Python’s modules.
With ModXPy you can instantly import, explore, and experiment with the entire Python standard library — plus any installed third-party modules — all from one simple interface.


🚀 Installation

Install directly from PyPI:

pip install modxpy

In Python, import as import modx (not modxpy)


Functions: 


import_all()

Imports about every standard library module at once.

🔹 import_random(n)

Imports n random modules from the standard library.

🔹 import_letter(letter)

Imports all standard library modules whose names start with the given letter.

🔹 import_external()

Attempts to import every third-party module you currently have installed.

🔹 import_screen()

Imports every module that uses a screen/GUI (like pygame or turtle).

🔹 list_importall()

Returns a list of modules that would be imported by import_all().

🔹 modules_loaded()

Shows how many modules you currently have downloaded on your device.

🔹 imported()

Lists the modules imported since ModX loaded (user + ModX), including dependencies.

🔹 modximported()

Lists the modules that were ONLY imported by ModX, NOT including user imports
and dependencies.


Example Code:


>>> import modx
>>> modx.imported()
Modules imported after ModX load (user + ModX):
Total modules imported after ModX load: 0

>>> modx.import_random(5)
['csv', 'wave', 'tarfile', 'turtle', 'contextlib']

>>> modx.imported()
Modules imported after ModX load (user + ModX):
- csv
- wave
- tarfile
- turtle
- contextlib

Total modules imported after ModX load: 5



💡 Why Use ModX?



Explore the Python standard library in seconds

Stress-test your environment by bulk importing modules

See hidden dependencies that load behind the scenes

Experiment with random imports for fun or testing

Discover new modules you didn’t know existed


ModXPy turns Python’s module system into a playground  
perfect for learning, testing, or just satisfying your curiosity.
Install it today with pip install modxpy, import it with import modx,
and start discovering how many modules Python already has waiting for you!

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

modxpy-1.0.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

modxpy-1.0.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file modxpy-1.0.0.tar.gz.

File metadata

  • Download URL: modxpy-1.0.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for modxpy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 60febcbf39c64a7be1c9f4b72f16c8cc2ddc9c0192fae09ae32fd8e0f22d3c77
MD5 017641aac4a5cd001a8966e152921219
BLAKE2b-256 f1fb188b8513e50347dd18440a95e48166888958ad259300ec4154a62188cdad

See more details on using hashes here.

File details

Details for the file modxpy-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: modxpy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for modxpy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c57e822bda065e2a6ca0ea55f7998bcab8534b6c94dc4c1984eb1f49d0531478
MD5 f96f56d69e9b8d2d747678786dafb7df
BLAKE2b-256 ad29c8d28830b7b5905740cecd3944a48eee190552940ca824277d0b36f04bb9

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