Skip to content

Flavin is a tool to prune all modules down to the minimal amount of code required to support a single top level python program.

License

GPL-2.0, GPL-3.0 licenses found

Licenses found

GPL-2.0
LICENSE
GPL-3.0
LICENSE-Vulture
Notifications You must be signed in to change notification settings

Neon22/python-flavin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-flavin

Flavin is a tool to prune all modules down to the minimal amount of code required to support a single top level python program.

Given a python program:

  1. Traverse the imports gathering the python masters into a subdirectory.
  2. Rename imports to point to these files.
  3. Use vulture to find unused functions in these files.
  4. Use ropetest to make copies of the python files without the unused code.

Thereby resulting in a minimal set of python code for loading into Micro Python.

About

Flavin is a tool to prune all modules down to the minimal amount of code required to support a single top level python program.

Resources

License

GPL-2.0, GPL-3.0 licenses found

Licenses found

GPL-2.0
LICENSE
GPL-3.0
LICENSE-Vulture

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages