Skip to main content

Convert code repositories into structured PDF collections for LLM collaboration.

Project description

pixcode

pixcode converts code repositories into a layered PDF set so large language models can scan a macro index first and then dive into per-file details on demand.

Install (local)

pip install -e .

Usage

pixcode .                          # Current directory
pixcode /path/to/repo -o ./pdfs    # Specify output
pixcode . --max-size 1024          # Max file size 1MB
pixcode . --ignore "*.test.js"     # Extra ignore patterns
pixcode . --list-only              # Print tree + language stats

Output

  • 00_INDEX.pdf for directory tree, stats, and file index
  • One PDF per file, named NNN_<path>.pdf

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

pixcode-0.1.0.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

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

pixcode-0.1.0-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file pixcode-0.1.0.tar.gz.

File metadata

  • Download URL: pixcode-0.1.0.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pixcode-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d1e8e3816445dff5fcb29ac258e4f5fb8b98d3d1b860a1d0fd47f501f5379a05
MD5 a9f81159c53c39aac2c466e67455ac58
BLAKE2b-256 2ba34708d2d572b5a10253f152b4eb02df0ef0e0d8ba7f263f79d79f3a6b965d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pixcode-0.1.0.tar.gz:

Publisher: publish.yml on TingjiaInFuture/pixcode

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pixcode-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pixcode-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pixcode-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c0476d028896487882728b37894134ab488744a57b1e123af89318809b4f97f
MD5 0cd6b07c972dc1f7d7aa753809833f2e
BLAKE2b-256 b7e1a3b1f703c3af2039fc013721c9f4cb7b716a1f6f4c5df9139d18924099f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pixcode-0.1.0-py3-none-any.whl:

Publisher: publish.yml on TingjiaInFuture/pixcode

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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