Project Mole
Project description
Project Mole
Overview
This Python script, app.py, is designed to scan all the files in the repository (excluding directories,
markdown files, the script itself, and hidden files) and generate a JSON object that includes the path and content of
each file. This JSON object is useful for creating project documentation or summaries, such as automatically
generating a README file for the project.
Features
- Scans all files in the project directory recursively.
- Filters out directories, markdown (.md) files, the script file itself, and hidden files.
- Outputs the paths and contents of the scanned files in a structured JSON format.
Usage
To use this script, run it with an argument specifying the output file path for the JSON. The command to run the script would look like this:
python app.py <output_file_path>
For example, to generate a project context file named project_context.json, you would run:
python app.py project_context.json
This command will create a context.json file that contains the path and content of each file in the project directory, structured as a JSON array of objects.
Contributing
Contributions to enhance the functionality of this script are welcome. Please ensure any pull requests are well-documented and include updates to this README if necessary.
License
This project is open-sourced under the MIT License. See the LICENSE file for more details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pmole-0.1.0.tar.gz.
File metadata
- Download URL: pmole-0.1.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddd3bcf556992e99cc1d322c045d972373561e5cb41b6005ac0edf9fde835ea8
|
|
| MD5 |
8160bbbe973544adfbd25149c10fcd2f
|
|
| BLAKE2b-256 |
6bd104b4f155d8754017f5777ee1f5ad6720a084a15ffa861e1c889e3c7c4030
|
File details
Details for the file pmole-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pmole-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2348d412b8615fdf6d0a86bf403e52debf238eaa04905d06fd7f18cd4a61524
|
|
| MD5 |
a2f8d4ddd7e9e34e31f7017f0bb07c6b
|
|
| BLAKE2b-256 |
5c27cf82f31a5d319e8da4f18e8906ef2e7053dbbab45c7846742f32ffba30e5
|