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-3.1.7-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: refactor_utils-3.1.7-py3-none-any.whl
  • Upload date:
  • Size: 8.6 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-3.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 1ee8de0f551a338cc8d1ee008da7de77631f2c92644518da53b69f8cd606115e
MD5 d05eb0fcc5133822caeab0f42a6a1b61
BLAKE2b-256 95c476875cecd1437c125c2807c6b965cac9702057c608ac27d78b4a5e5d113a

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