Skip to main content

A tool to create code snapshots by combining multiple files

Project description

CodeSnapper

A simple command-line tool to create code snapshots by combining multiple files into a single file with comments.

Installation

pip install codesnapper

Usage

  1. Run codesnap in your project directory
  2. Edit the created snapshot.txt file to list the files you want to include:
    main.py "Main application file"
    utils/helper.py "Helper functions"
    
  3. Run codesnap again to generate the snapshot
    • Creates code-snapshot.txt with all files combined
    • Automatically copies content to clipboard

Features

  • 📝 Combines multiple files into a single snapshot
  • 💭 Supports comments for each file
  • 📋 Automatically copies to clipboard
  • 🎨 Colorful terminal output
  • 🔄 Relative path support

License

MIT

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

codesnapper-0.1.7.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

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

codesnapper-0.1.7-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file codesnapper-0.1.7.tar.gz.

File metadata

  • Download URL: codesnapper-0.1.7.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for codesnapper-0.1.7.tar.gz
Algorithm Hash digest
SHA256 a5de34449c6c8c31acad7fa33188bdec6c3be7cca301292245ebc9588d61031e
MD5 5c213b561e0716410294a3e0610d4a01
BLAKE2b-256 1cf4bf67b7a4aa78ffe8a27d8d82c8e52d7b768e1a8b0a52b2e506993e264b87

See more details on using hashes here.

File details

Details for the file codesnapper-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: codesnapper-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for codesnapper-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b28ab773c809bc43d89924d79082087347129e26f71b7e3c5b20bf817aaead98
MD5 2fae9b139924ef7fb219b0619d035051
BLAKE2b-256 e6d0ddc92c6eda8cc88431e5a2bb2c2bac930c061ae7f2bf3e3a6db16ce18a51

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