Skip to content
/ mod Public

Compile modules statically into python files

Notifications You must be signed in to change notification settings

DUOLabs333/mod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 

Repository files navigation

mod is a tool that allows you to build your script into a single file.

To start, make a folder, and make a src folder. In this src folder, write your python module. In its __init__.py, define your app's entrypoint as main

In the project's root, make a _vendor folder. In this _vendor folder, install all of your dependencies.

Run mod build. You will get a file with the same name as your project's name. You can run this to run your app. You can also import your module from this file if you add it to sys.path or PYTHONPATH.

About

Compile modules statically into python files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages