Skip to main content

nimblex: A CLI tool to explore and extract project structures.

Project description

Nimblex

Nimblex is a Python CLI tool designed to analyze, extract, and display the structure of directories and Python projects. With Nimblex, you can view directory hierarchies, extract classes and methods, and save the results to files—all with a simple command-line interface.


Features

  • Display Directory Structures: Quickly view the hierarchy of files and folders in any directory.
  • Extract Python Classes and Methods: Parse Python files to identify and display classes and methods.
  • Save Results: Export directory structures and extracted information to files for documentation or sharing.
  • Customizable Ignored Directories: Automatically exclude unnecessary directories like __pycache__ and .git.

Installation

You can install Nimblex directly from PyPI:

pip install nimblex

Features

  • Display Directory Structures: Quickly view the hierarchy of files and folders in any directory.
  • Extract Python Classes and Methods: Parse Python files to identify and display classes and methods.
  • Save Results: Export directory structures and extracted information to files for documentation or sharing.
  • Customizable Ignored Directories: Automatically exclude unnecessary directories like __pycache__ and .git.

Installation

You can install Nimblex directly from PyPI:

pip install nimblex

Usage

Run the nimblex command from your terminal. If no path is specified, the tool operates on the current directory by default.

Commands and Options

Command/Option Description
‍‍nimblex -m Save the structure of a single directory or file to a file.
nimblex -x Extract the directory structure and classes/methods for an entire project and save to a file.
nimblex -d Display the directory structure and classes/methods for an entire project directly in the terminal.

Examples

Display the directory structure in the terminal:

nimblex -d

Extract and save the project structure to a file:

nimblex -x /path/to/your/project

Save the structure of a single directory:

nimblex -m /path/to/directory

Configuration

Ignored Directories and Files

By default, Nimblex excludes the following directories and files during analysis:

  • __pycache__
  • .git
  • .svn
  • .hg
  • .idea
  • node_modules
  • bin, obj
  • dist, build
  • .vscode
  • *.egg-info
  • target
  • venv

Other items may be added to this list in future updates.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.


License

This project is licensed under the MIT License. See the LICENSE file for more details.

Project details


Download files

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

Source Distribution

nimblex-1.0.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

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

nimblex-1.0.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file nimblex-1.0.0.tar.gz.

File metadata

  • Download URL: nimblex-1.0.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for nimblex-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7e19c470151572841090c2f6067709baee8289b15aea1d9629d22449cba4e31a
MD5 52e36ddb56fc6b34e9d037734470af31
BLAKE2b-256 6a4729791189c2c3fb60e54f82a3d4330fca7cb77f582b9e01945b1ddaab3b04

See more details on using hashes here.

File details

Details for the file nimblex-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: nimblex-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for nimblex-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 75955adb9cda82bc20dd97e98eeaaba326f383910c9a853ba3270e60c6cefb45
MD5 f45e5bae6c651e7899a347885201954f
BLAKE2b-256 0b859b0f1daa4093c5611ba3beb5a7b53582e4934af4fc634d9f5c8b55b60e56

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