Skip to main content

Save currently defined classes and functions to modules

Project description

The modulr Python package


pip install modulr


The modulr package has one function, make_module, which saves class and/or function definitions of classes to a module (.py file). The input objects (classes and/or functions) must defined in the current Python session.


from modulr import make_module

def func1(x):

def func2(x):

make_module([func1, func2], module_name='')

Project details

Download files

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

Files for modulr, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size modulr-0.0.2-py3-none-any.whl (3.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size modulr-0.0.2.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page