Skip to main content

A tool to save project structure and contents to a text file

Project description

Snap2Txt

Snap2Txt is a Python utility that captures the structure and contents of a project directory and saves them into a text file. It's designed for quick documentation of your project's file system.

Features

  • Complete Capture: Records the entire file structure and contents of the project.
  • Customizable Filters: Offers ignore and whitelist options for targeted scanning.
  • Command-Line Interface: Simple and easy-to-use command-line tool.

Installation

Install Snap2Txt with pip:

pip install snap2txt

Usage

Navigate to your project directory and run:

snap2txt

Optional Flags

  • --il: Use an ignore list from a .il file.
  • --wl: Use a whitelist from a .wl file.

Configuration

Create .il and .wl files in your project directory to specify patterns to ignore or include, respectively.

Example .il File

node_modules/
*.log

Example .wl File

*.py
*.md

Contributing

Contributions to Snap2Txt are welcome! Feel free to fork the repository, make your changes, and submit a pull request.

License

Snap2Txt is open-sourced software licensed under the MIT license.

Support

For support, questions, or feedback, please open an issue in the GitHub repository.

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

snap2txt-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

snap2txt-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: snap2txt-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for snap2txt-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1dc0a754711cdfdc2839a886a2fe1f45d88ce2ca5befbd0fd91941f3c1694954
MD5 0c62e02d71b64d2b28eecded54027278
BLAKE2b-256 3c9269164283be05cc68593b72fc3b26f03bf8f30c4a72354c997f363b463020

See more details on using hashes here.

File details

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

File metadata

  • Download URL: snap2txt-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for snap2txt-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b468572a422472bb081e43b019b928a596f5cb06c60008a38410cba5c1dfe00f
MD5 c32b601a611df4c1ec7c3e3b6df3b01b
BLAKE2b-256 ec53bc35ab9297bb8ee84cd9ab11bec61d5a6464cf8bd3e778c35c07491302b5

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