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.2.0.tar.gz (4.1 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.2.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: snap2txt-0.2.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for snap2txt-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9462571d070761e82283343f92e825103c914d95123ee1413192a2e2027f828b
MD5 06c4befecc319ee3eea7fde627e79a28
BLAKE2b-256 38f05c974a6ec34c848d10c4d045a638446be87a6e64e1fc3892a350a046f6d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: snap2txt-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for snap2txt-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ee7b3ddd6b3fbc7493abc698e7a9ca91c13ef828443ae4efb35e23c2f422452
MD5 88c8f466eef2db334b6fbfc4690b3762
BLAKE2b-256 f4f46c9979aef596aa2be4310148b733522edf90a3e063a1fe852177a7e27ec2

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