code2prompt

View on PyPIReverse Dependencies (0)

0.8.1 code2prompt-0.8.1-py3-none-any.whl

Wheel Details

Project: code2prompt
Version: 0.8.1
Filename: code2prompt-0.8.1-py3-none-any.whl
Download: [link]
Size: 60669
MD5: 5a6ce90bc62ec2619e993687ebefb291
SHA256: 509f9c17410356c591c1fec6ce503c5f7590a7252d389db842d2c5ba99b2678c
Uploaded: 2024-09-08 01:34:00 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: code2prompt
Version: 0.8.1
Summary: A tool to convert code snippets into AI prompts for documentation or explanation purposes.
Author: Raphael MANSUY
Author-Email: raphael.mansuy[at]gmail.com
Home-Page: https://github.com/raphaelmansuy/code2prompt
Project-Url: Repository, https://github.com/raphaelmansuy/code2prompt
License: MIT
Keywords: ai,prompt,code,documentation,llm
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8,<4.0
Requires-Dist: click (<9.0.0,>=8.1.7)
Requires-Dist: colorama (<0.5.0,>=0.4.6)
Requires-Dist: colorlog (<7.0.0,>=6.8.2)
Requires-Dist: jinja2 (<4.0.0,>=3.1.4)
Requires-Dist: prompt-toolkit (<4.0.0,>=3.0.47)
Requires-Dist: pydantic (<3.0.0,>=2.8.2)
Requires-Dist: pyperclip (<2.0.0,>=1.9.0)
Requires-Dist: rich (<14.0.0,>=13.7.1)
Requires-Dist: tabulate (<0.10.0,>=0.9.0)
Requires-Dist: tiktoken (<0.8.0,>=0.7.0)
Requires-Dist: tqdm (<5.0.0,>=4.66.4)
Description-Content-Type: text/markdown
[Description omitted; length: 24638 characters]

WHEEL

Wheel-Version: 1.0
Generator: poetry-core 1.9.0
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
code2prompt/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
code2prompt/commands/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
code2prompt/commands/analyze.py sha256=fVsR7cV4_KxflIebBnC45Dtv4nKGVCo3DUZdYfhws2s 2140
code2prompt/commands/base_command.py sha256=omNCx2UJQ53-q7q4XvXZVxmwTJC0w2Ay4Fz8lpBXE5I 2477
code2prompt/commands/generate.py sha256=FWwEVODnxMAKxanM7x0e7cgoyS2D_IAWsmVHDiw_LPs 2661
code2prompt/commands/interactive_selector.py sha256=7VqrIJzo6R2cZQFFwk_7e2ANDG6BuyQU1KuVZOniJ_k 12507
code2prompt/comment_stripper/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
code2prompt/comment_stripper/c_style.py sha256=wwUVai49D5_UBNpAf4n_gVj6JzhJlnodhAtp6LsbOc4 334
code2prompt/comment_stripper/html_style.py sha256=RlkHgb6o7JstbxLVP2l8NAunHGiM-sDAozYXHITuT-E 148
code2prompt/comment_stripper/matlab_style.py sha256=3gCGRfC75exsR_8HM7RKSRugzY5VlAvBbHuo6pxgqm4 328
code2prompt/comment_stripper/python_style.py sha256=s8eLiTTu7cbrPO6_kZUFg2Qhi6kECWJmaBJ2UyZlT8w 357
code2prompt/comment_stripper/r_style.py sha256=nu1IB1v-DsRsb0aVmTR_sQQMG32nLenOG7uVkq_fgIg 323
code2prompt/comment_stripper/shell_style.py sha256=9JUQjPOl5CzT__4oToJGnoddYwav9q8xN0FA1ss_0y8 720
code2prompt/comment_stripper/sql_style.py sha256=GihwIF1MQ8ndoJT_InLv5CU9G_czAAJzKklbODpsxUs 336
code2prompt/comment_stripper/strip_comments.py sha256=B60p49g-HdgKtIWFYe_ytshVh1lE6ErwAtX0ubmeEL0 1717
code2prompt/config.py sha256=Dt6u2J-m_wytvPfUL02CgGq-ZqMzY4wZCH8oMqc2-VE 5042
code2prompt/core/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
code2prompt/core/file_path_retriever.py sha256=58OcV0kLtiu9tys9RmB8DZFsiNbknkPU5d-iYOXeBtQ 2254
code2prompt/core/generate_content.py sha256=0CUQF82zDRCdrT36GJ6oZJUSUeVBYWCeNR3uujx69Ao 1237
code2prompt/core/process_file.py sha256=oVziAKl6HUAc5-d6SIBhAC3dZAVIDNcI0ZAvMEEkmwY 2053
code2prompt/core/process_files.py sha256=StQbS5pKpGBnEpiSE7jnqtv-1JRIGdWH8UOs8tGSuMg 1222
code2prompt/core/template_processor.py sha256=ESC90iINrstsTBdSd2MjxDajPird7hKk56O9V9fsR_E 3842
code2prompt/core/write_output.py sha256=59ukGEQYn3IG8iXZ7BT7OUPp9NmBYWFyJq19cMAXUGg 1451
code2prompt/data/token_price.json sha256=67mxOZHiQkxMiAxhgIBpoZC5QuimkIO-is9SL69Il7Y 5962
code2prompt/main.py sha256=iDQLVQF9jS15aMnWrQW4O7H4kcempPSiBw8X_eKUkAQ 6334
code2prompt/print_help.py sha256=Ji81Xbat0yyBR-HWC-Pf5o-ifyTESmx9xy1L6nl4GJc 3985
code2prompt/templates/analyze-code.j2 sha256=s474LnQttGklDb6sicDeXVRUSNVEzyIDBZ6uepX6aKc 4926
code2prompt/templates/code-review.j2 sha256=V4fhUEgIPHSmdPb1a91jkWvv8-rblcLfMK33_NtlKXA 4190
code2prompt/templates/create-function.j2 sha256=wSfIhtip7QBCbMY-VO3L5dPRsa4iDLSok6_GZO5ASXU 2566
code2prompt/templates/create-readme.j2 sha256=hE3wRhLmwAld6Hk7RjgC9q1Vk8kWyz_2sxUTE_utCEY 3897
code2prompt/templates/default.j2 sha256=v7nXCegys_dVRC6NFNpCG5qrwiRL-wYZGrBYMXorWvg 282
code2prompt/templates/improve-this-prompt.j2 sha256=evA-kmPwE8ZllOTeZ8gELn-POfWrTgDYGsC7ZclLX7U 2714
code2prompt/utils/add_line_numbers.py sha256=ru_VMucIOzp0dFvnl2Z7YuUDvkS6Qfj7Ug1WWtTMhkg 477
code2prompt/utils/analyzer.py sha256=w7xprikeZuNjOX22fyetYkLhVA9tAZbZ_Wd9PBjmvWs 2988
code2prompt/utils/config.py sha256=p0Yx46eWWxMWURVUnum5ZZBpTDTKXGT58LxYv9rdX0w 1982
code2prompt/utils/count_tokens.py sha256=CX41nDO1DUpTo0487DwU6Z5HITPoexNkUiR7jRfRjg4 571
code2prompt/utils/create_template_directory.py sha256=nvTz7znzLGK5VmwXplmGYYgqCKS4omelO2jmDINJvk4 4239
code2prompt/utils/display_price_table.py sha256=WRCKFMBCE0CWEt6FBByrDjOeoL7PV_lFMfhT1h3rozo 3687
code2prompt/utils/file_utils.py sha256=OFpB7le6Auju9msotI8CXaB1HR6ctiVQgWAJd7FEDv8 4319
code2prompt/utils/generate_markdown_content.py sha256=6i9dAiEbAfqLtPcxEw7QyYQWbeIOxbxO9k0gAlfw4Ho 1295
code2prompt/utils/get_gitignore_patterns.py sha256=AFHHVM1NuRUagvoG_yxt67_gTt-ppeHZXgTP2bzxLyk 1040
code2prompt/utils/include_loader.py sha256=IiSmyIa2LdGPiaacmFYAwD78KgYv_N2d1aJhcDet0BE 2709
code2prompt/utils/is_binary.py sha256=j7-AWrfybJ7L_mXyOFVknvDjz-YLYgsOSMmEqsI_zM4 261
code2prompt/utils/is_filtered.py sha256=bMdXmgLhhBjl-YqoIAOredE7CVdPKAGQe8wUADy4NK4 2329
code2prompt/utils/is_ignored.py sha256=Hm352JHgi3nKMOtCYD8Af3AZXjjzNMeRGNR9a449oa4 1170
code2prompt/utils/language_inference.py sha256=ipOVox9OrXnp_xLDUAe_yC-18NXilWRYV_b05RrLF1k 3175
code2prompt/utils/logging_utils.py sha256=6cyIqdW0uMxAp7TyvN-WHCMDmLtyFc6XsCC3txDhyCg 3985
code2prompt/utils/output_utils.py sha256=TSHwDh7Cr3nuEh2RJ7CtQ4E-AbJ8nOTxs4CSzH80Y5A 4309
code2prompt/utils/parse_gitignore.py sha256=_DxoirkKKl_r-SX-LgDY6zA8rSUg7-MaQzw8kORy2v8 273
code2prompt/utils/price_calculator.py sha256=As0Zq_RTsIdta9GfjoWv-OICOpokeUvGqG9u-sSa6VI 4827
code2prompt/utils/should_process_file.py sha256=N8MMRUPmdL0e3N8KFtyayqsci5rp4X7FdfMTmCV4C3E 1787
code2prompt/version.py sha256=VgeslPV4EyL73TXvYEVljeXg1IjjePEg7s0no3M8vEg 15
code2prompt-0.8.1.dist-info/LICENCE.md sha256=YNO2lA5ykAohtQC8op4IupmqgEPx3DgkXAh_aMXugGU 1075
code2prompt-0.8.1.dist-info/METADATA sha256=FBr98bMPmh0H6gOaDL7Pr0pF4pDKuykvO0hSd7VfYdc 26168
code2prompt-0.8.1.dist-info/WHEEL sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg 88
code2prompt-0.8.1.dist-info/entry_points.txt sha256=Ua1Fdsd2YQLQfLKokr3YeCkrK4izpNYI6M-j7ufR1Is 52
code2prompt-0.8.1.dist-info/RECORD

entry_points.txt

code2prompt = code2prompt.main:cli