Skip to content

Add promptprep recipe #29732

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from
Closed

Conversation

kartikmandar
Copy link

Adding promptprep - A code aggregator tool for consolidating code files with ASCII directory tree

PromptPrep is a command-line tool that bundles code from multiple files into one organized output file with a visual project structure. It's useful for working with AI models, creating documentation snapshots, analyzing projects, and code reviews.

Features:

  • Combine multiple source files with directory tree visualization
  • Smart file selection with filtering options
  • Interactive file selection interface
  • Multiple output formats (plain, markdown, html, highlighted)
  • Code metadata and analysis
  • Token counting for LLM context limits

The recipe creates three packages:

  • promptprep - The base package
  • promptprep-highlighting - Adding syntax highlighting support
  • promptprep-all - Meta-package with all features

Checklist

  • Title of this PR is meaningful: "Adding promptprep"
  • License file is packaged (MIT license included)
  • Source is from official PyPI release
  • Package does not vendor other packages
  • No static libraries linked or shipped
  • Build number is 0
  • A tarball (PyPI URL) is used in the recipe
  • I (GitHub user kartikmandar) confirm I am willing to be listed as a maintainer

Copy link
Contributor

Hi! This is the staged-recipes linter and your PR looks excellent but I have some suggestions.

File-specific lints and/or hints:

  • recipes/promptprep/meta.yaml:
    • hints:
      • It looks like you are submitting a multi-output recipe. In these cases, the correct name for the feedstock is ambiguous, and our infrastructure defaults to the top-level package.name field. Please add a feedstock-name entry in the extra section.

@conda-forge-admin
Copy link
Contributor

conda-forge-admin commented Apr 15, 2025

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipes/promptprep/meta.yaml) and found some lint.

Here's what I've got...

For recipes/promptprep/meta.yaml:

  • ❌ There are too few lines. There should be one empty line at the end of the file.
  • noarch packages can't have skips with selectors. If the selectors are necessary, please remove noarch: python, or selector on line 18:
    skip: true # [win]

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/14463455960. Examine the logs at this URL for more detail.

Copy link
Contributor

Hi! This is the staged-recipes linter and your PR looks excellent! 🚀

@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/promptprep/meta.yaml) and found it was in an excellent condition.

@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipes/promptprep/meta.yaml) and found some lint.

Here's what I've got...

For recipes/promptprep/meta.yaml:

  • noarch packages can't have selectors. If the selectors are necessary, please remove noarch: python, or selector on line 28:
    • tiktoken # [not win]

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/14464216077. Examine the logs at this URL for more detail.

@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/promptprep/meta.yaml) and found it was in an excellent condition.

@kartikmandar kartikmandar deleted the add-promptprep branch April 15, 2025 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants