معرفی شرکت ها


codeprompt-0.2.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

-
ویژگی مقدار
سیستم عامل -
نام فایل codeprompt-0.2.0
نام codeprompt
نسخه کتابخانه 0.2.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Nutchanon Ninyawee
ایمیل نویسنده nutchanon@codustry.com
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/codeprompt/
مجوز -
# codeprompt ultils for prompt engineers e.g. chucking ## install ```bash pip install codeprompt ``` ```bash $ codeprompt Open VSCode and Copy the paths (Shift + Alt + C) of the files you want to include in the prompt. Press Enter to continue. read 1 files total number of tokens: 917 Press Enter to continue (Y, n) [Y/n]: What do you waht to ask ChatGPT? [Explain this to me.]: Prompt is ready to be copied to clipboard. Chunk 1/1 is copied to clipboard. You act as my tech lead in understanding and working with a Git repository represented as text. The repository's purpose is to provide context for various software development-related instructions. The repository structure consists of sections that begin with "----", followed by a single line containing the file path and file name, followed by a variable amount of lines containing the file contents. The text representing the repository ends when the symbols "--END--" are encountered. Meanwhile, Reply with "Aha" to allow me continue providing more context. Any further text beyond "--END--" should be interpreted as instructions using the aforementioned code as context. Instructions may include questions, requests to refactor, debug, find vulnerabilities, or make the code more robust. The programming language can be determined from the file extension in the file path. ---- codeprompt\template.py \`\`\` import os from pathlib import Path from loguru import logger import pyperclip import frontmatter from jinja2 import Environment, FileSystemLoader, Template, TemplateNotFound, meta def paste_from_clipboard(): value = pyperclip.paste() return value class TemplateManager: """ Manage templates. """ def __init__(self, template_dirs: list[Path]): self.log = logger self.template_dirs = template_dirs self.templates = [] self.templates_env = None def template_builtin_variables(self): return { "clipboard": paste_from_clipboard, } \`\`\` --END-- create add docstring to the function ``` ## resources 1. https://github.com/mmabrouk/chatgpt-wrapper 2. https://github.com/chunrapeepat/codeprompt


نیازمندی

مقدار نام
>=1.10.7,<2.0.0 pydantic
>=8.1.3,<9.0.0 click
>=1.58.1,<2.0.0 pygithub
>=1.8.2,<2.0.0 pyperclip
>=3.1.2,<4.0.0 jinja2
>=1.0.0,<2.0.0 python-frontmatter
>=0.3.3,<0.4.0 tiktoken
>=0.7.0,<0.8.0 loguru


زبان مورد نیاز

مقدار نام
>=3.9,<4.0 Python


نحوه نصب


نصب پکیج whl codeprompt-0.2.0:

    pip install codeprompt-0.2.0.whl


نصب پکیج tar.gz codeprompt-0.2.0:

    pip install codeprompt-0.2.0.tar.gz