Friday, November 5, 2021

pyflyby

Pyflyby is a set of tools designed to improve interactive and non-interactive workflows in Python. Pyflyby provides a number of utilities and extensions aimed at making day-to-day work in Python faster and simpler.

The tools are:

For command-line interaction:
  • py: command-line multitool
For IPython interaction:
  • autoimporter: automatically imports symbols when needed.
For editing python source code:
  • tidy-imports: adds missing 'import's, removes unused 'import's, and also reformats import blocks.
  • find-import: prints to stdout how to import a particular symbol.
  • reformat-imports: reformats import blocks
  • collect-imports: prints out all the imports in a given set of files.
  • collect-exports: prints out definitions in a given set of modules, in the form of import statements.
  • transform-imports: renames imported modules/functions

 

https://github.com/deshaw/pyflyb  

No comments:

Post a Comment