Skip to main content

Build Quality Gate Status

Codeorite

A CLI tool to package repository code into a single text file, respecting .gitignore rules.

Installation

pip install codeorite

Usage

Basic usage:

codeorite --root /path/to/repo --output-file output.txt

Options

  • --root: Repository root directory (default: current directory)
  • --output-file: Output file path
  • --config: Path to config file (default: codeorite_config.yaml)
  • --languages-included: Languages to include (e.g., python rust javascript)
  • --languages-excluded: Languages to exclude
  • --includes: Additional file extensions to include (e.g., .md .txt)
  • --excludes: File extensions to exclude (e.g., .pyc .log)
  • --custom-instructions: Lines to prepend as instructions

Examples

Package only Python files:

codeorite --root . --output-file output.txt --languages-included python

Package multiple languages, exclude web assets:

codeorite --root . --output-file multi.txt \
    --languages-included python rust typescript javascript \
    --excludes .json .html .css

Include markdown files, exclude Python:

codeorite --root . --output-file docs.txt \
    --includes .md \
    --excludes .py .pyc

Configuration File

Create codeorite_config.yaml in your repository:

languages_included:
  - python
  - rust
languages_excluded:
  - javascript
includes:
  - .md
excludes:
  - .pyc
custom_instructions:
  - "# Project: MyRepo"
  - "# Author: Dev Team"

Output Format

The output file contains:

  1. Custom instructions (if provided)
  2. Directory tree of included files
  3. Contents of each included file

Notes

  • Respects .gitignore rules
  • CLI arguments override config file settings
  • Cannot include and exclude the same language/extension

Metadata

Release files for codeorite 0.2.4

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

Source distribution (sdist)

Source distribution for codeorite 0.2.4
File Size Uploaded Provenance Actions
codeorite-0.2.4.tar.gz 23.9 kB With provenance Details for codeorite-0.2.4.tar.gz

Built distribution (wheel)

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

Total release size: 37.2 kB

Release files / codeorite-0.2.4.tar.gz

Download URL codeorite-0.2.4.tar.gz
Size 23.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6d1986c8c765e2b3f07fcc040211cd75e6672e1536a1a8373f358ac02b49ad6f
BLAKE2b-256 checksum
How to use checksums
51e51f0de6b95450dc18694fbcd554f2ddc830d2cc0acb6ef9c50821a42a0bec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 27, 2024.

Transparency log

Release files / codeorite-0.2.4-py3-none-any.whl

Download URL codeorite-0.2.4-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
415f39ebcf6d4f0d2d038a54bfacdbd769f204ff4e8409ba305f05fa2ea231a4
BLAKE2b-256 checksum
How to use checksums
648b345c36cfe25ab023ca18aa2c148a406fe849b45efac0589a591249d58a74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 27, 2024.

Transparency log

Security for codeorite 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for codeorite-0.2.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 27, 2024.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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