Skip to main content

Utilities to refactor small python packages: extract funcs/constants/classes into modules

Project description

refactor_utils

Small utility to reorganize small Python packages.

Install locally:

pip install -e .pyrefactor run --mode small
pyrefactor run --mode merge
pyrefactor run --mode subpkg
pyrefactor run --mode dry-run
pyrefactor run --mode merge --undo


after install
goto project dir abd run:

     pyrefactor run --mode dry-run --root path/to/yourpkg

     pyrefactor run --mode merge --root path/to/yourpkg

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

refactor_utils-0.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file refactor_utils-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: refactor_utils-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for refactor_utils-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c0232ea047ce7fe13e872f7d7b332032a03cd04f575c1d79a4abc935e255a727
MD5 0f428e64ee18872b85f9dbda9a2cd47b
BLAKE2b-256 4a24735b949183a32a860967acbacdbeb113058bc4641d5d64d9ed616799bd94

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