Skip to main content

A tool to concatenate and dump code from a directory

Project description

CodeDump

CodeDump is a simple Python tool that concatenates and dumps code from a directory, including file information such as size and last modified time.

Installation

To install CodeDump, run:

pip install codedump

Or clone this repository and run:

pip install .

Usage

CodeDump can be used from the command line:

# Dump all code files from current directory
codedump

# Dump all code files from a specific directory
codedump /path/to/directory

# Only list file paths without content
codedump -l
codedump --list-only

The tool will:

  1. Recursively scan the specified directory
  2. Find all code and configuration files
  3. Output their contents with file information
  4. Automatically copy the output to your clipboard

CodeDump automatically filters out:

  • Binary files
  • Build directories
  • Cache directories
  • Version control directories
  • Log files
  • Temporary files

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

codedump-1.0.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

codedump-1.0.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file codedump-1.0.0.tar.gz.

File metadata

  • Download URL: codedump-1.0.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for codedump-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e8b247163d7313b0788b44ca1240901e4ced985b09bd8af315ac22bbabba9778
MD5 828fe3dbc776d70338f4a4bdc8278f85
BLAKE2b-256 22c60a50161b3680fd5995f53fd3db19ee12085adf0f18d0a87a60f320da68ec

See more details on using hashes here.

File details

Details for the file codedump-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: codedump-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for codedump-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3cddfbd2dec4e08aa48f48a3ab68b78cf6ed8ddd66459e41542a79660dfe372
MD5 7266d4c61497f6412af5b6e5c0176457
BLAKE2b-256 3d4196a1db494f82067d4a5111b1a55be5fbe2232c0fb4da62cf46258389a0cc

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