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.ideanode_modulesbin,objdist,build.vscode*.egg-infotargetvenv
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.
Metadata
Release files for nimblex 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nimblex-1.0.0.tar.gz | 8.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nimblex-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.3 kB
Release files / nimblex-1.0.0.tar.gz
| Download URL | nimblex-1.0.0.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e19c470151572841090c2f6067709baee8289b15aea1d9629d22449cba4e31a
|
|
BLAKE2b-256 checksum How to use checksums |
6a4729791189c2c3fb60e54f82a3d4330fca7cb77f582b9e01945b1ddaab3b04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.12
|
Release files / nimblex-1.0.0-py3-none-any.whl
| Download URL | nimblex-1.0.0-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75955adb9cda82bc20dd97e98eeaaba326f383910c9a853ba3270e60c6cefb45
|
|
BLAKE2b-256 checksum How to use checksums |
0b859b0f1daa4093c5611ba3beb5a7b53582e4934af4fc634d9f5c8b55b60e56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.12
|