Skip to main content

Extract file names and contents from a directory

Project description

genf

A Python script to automatically extract file names and contents from a specified directory. Outputs results to a text file named after the folder. Excludes folders like node_modules and files like package-lock.json to focus on relevant files. Ideal for quickly gathering file context for AI or code analysis.

Installation

pip install genf

Usage

Run in any directory:

genf

Output will be saved to a file named after the current folder (e.g., folder_name.txt).

Features

  • Extracts file names and contents from a directory.
  • Excludes irrelevant folders (node_modules, venv, etc.) and files (package-lock.json, etc.).
  • Saves output to a text file named after the folder.

Author

License

MIT License

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

genf-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

genf-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file genf-0.1.0.tar.gz.

File metadata

  • Download URL: genf-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for genf-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7d0be60a199e71980e8ac01c9151dc7310a7360555db508551cfe6cb37b7b4f1
MD5 74712e6b979035755d64afa6b2702b89
BLAKE2b-256 8e5e79f6d5bf3008e252cf7ca629102e8e7a36a3618d94fa72c19645e3b76092

See more details on using hashes here.

File details

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

File metadata

  • Download URL: genf-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for genf-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ae8a95cfe4511fa4679be85cca36491e9d55cade3b73c59b8517827d482e9a9
MD5 a90c109ebef19317104f5f5d84f266c4
BLAKE2b-256 cb834abf875cce6c2dc291899ce35f5dc6d0de5d9c20250aba81df8594a841bf

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