Skip to main content

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

Metadata

Release files for codesnapper 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codesnapper 0.1.7
File Size Uploaded
codesnapper-0.1.7.tar.gz 15.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for codesnapper 0.1.7
File Interpreter ABI Platform
codesnapper-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 31.2 kB

Release files / codesnapper-0.1.7.tar.gz

Download URL codesnapper-0.1.7.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a5de34449c6c8c31acad7fa33188bdec6c3be7cca301292245ebc9588d61031e
BLAKE2b-256 checksum
How to use checksums
1cf4bf67b7a4aa78ffe8a27d8d82c8e52d7b768e1a8b0a52b2e506993e264b87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Release files / codesnapper-0.1.7-py3-none-any.whl

Download URL codesnapper-0.1.7-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b28ab773c809bc43d89924d79082087347129e26f71b7e3c5b20bf817aaead98
BLAKE2b-256 checksum
How to use checksums
e6d0ddc92c6eda8cc88431e5a2bb2c2bac930c061ae7f2bf3e3a6db16ce18a51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page