Name | promplate JSON |
Version |
0.3.5.0
JSON |
| download |
home_page | None |
Summary | Prompt engineering framework for humans |
upload_time | 2025-01-26 13:58:09 |
maintainer | None |
docs_url | None |
author | Muspi Merol |
requires_python | <4.0,>=3.10 |
license | MIT |
keywords |
prompt
template
nlp
llm
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Promplate
```text
</Promplate/> = <template> // prompt
```
**Promplate** is a prompting framework focusing on developing experience. However, it can also be a super-convenient SDK for simple LLM calls. Promplate progressively enhance your prompting workflow. And it values flexibility as well as perfect conventions. [Try online](https://promplate.dev/py)
## Installation
```shell
pip install promplate
```
**Promplate** supports both CPython and PyPy, from `3.8` to `3.13`. It even supports running in browsers through wasm implementations of python.
## Documentation
You can visit our official docs site at [docs.py.promplate.dev](https://docs.py.promplate.dev/).
## IDE Support 🌹
**Promplate** is fully typed, which means static type checker will find bugs correctly (if you use `pyright` for type checking).
We recommend using VS Code as your IDE when coding with promplate, because it natively uses pyright.
The language design of promplate is similar to `Jinja2`. So you can use the `.j2` file extension for template files for syntax highlight.
## Development
- use `poetry` to manage dependencies.
- use `isort` to sort import statements.
- use `black` to format code.
- use `pyright` to check type annotations.
Development should be done on `dev` branch, using `>=3.10` language features. The `master` branch is used for `py3.8` compatible releases.
**Promplate** is well tested with `pytest`. GitHub Actions are used to run tests and linting. And there are test results continually generated on [Vercel](https://promplate-core.vercel.app/) and [Netlify](https://promplate-core.netlify.app/). There is [a coverage report](https://promplate-python-coverage.onrender.com/) too.
## Future Features (or TODOs?)
- [ ] more documentation
- [ ] javascript implementation
- [x] improved error handling
- display compiled code when error occurs through `linecache` or `tempfile` (default)
Raw data
{
"_id": null,
"home_page": null,
"name": "promplate",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": "prompt, template, nlp, llm",
"author": "Muspi Merol",
"author_email": "me@promplate.dev",
"download_url": "https://files.pythonhosted.org/packages/26/da/bdd21d549273ff78720079a3f75f1363fa3cf32ebecd412d4bb4f94b72be/promplate-0.3.5.0.tar.gz",
"platform": null,
"description": "# Promplate\n\n```text\n</Promplate/> = <template> // prompt\n```\n\n**Promplate** is a prompting framework focusing on developing experience. However, it can also be a super-convenient SDK for simple LLM calls. Promplate progressively enhance your prompting workflow. And it values flexibility as well as perfect conventions. [Try online](https://promplate.dev/py)\n\n## Installation\n\n```shell\npip install promplate\n```\n\n**Promplate** supports both CPython and PyPy, from `3.8` to `3.13`. It even supports running in browsers through wasm implementations of python.\n\n## Documentation\n\nYou can visit our official docs site at [docs.py.promplate.dev](https://docs.py.promplate.dev/).\n\n## IDE Support \ud83c\udf39\n\n**Promplate** is fully typed, which means static type checker will find bugs correctly (if you use `pyright` for type checking).\n\nWe recommend using VS Code as your IDE when coding with promplate, because it natively uses pyright.\n\nThe language design of promplate is similar to `Jinja2`. So you can use the `.j2` file extension for template files for syntax highlight.\n\n## Development\n\n- use `poetry` to manage dependencies.\n- use `isort` to sort import statements.\n- use `black` to format code.\n- use `pyright` to check type annotations.\n\nDevelopment should be done on `dev` branch, using `>=3.10` language features. The `master` branch is used for `py3.8` compatible releases.\n\n**Promplate** is well tested with `pytest`. GitHub Actions are used to run tests and linting. And there are test results continually generated on [Vercel](https://promplate-core.vercel.app/) and [Netlify](https://promplate-core.netlify.app/). There is [a coverage report](https://promplate-python-coverage.onrender.com/) too.\n\n## Future Features (or TODOs?)\n\n- [ ] more documentation\n- [ ] javascript implementation\n- [x] improved error handling\n - display compiled code when error occurs through `linecache` or `tempfile` (default)\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Prompt engineering framework for humans",
"version": "0.3.5.0",
"project_urls": {
"Documentation": "https://docs.py.promplate.dev/",
"Homepage": "https://promplate.dev/",
"Repository": "https://github.com/promplate/core"
},
"split_keywords": [
"prompt",
" template",
" nlp",
" llm"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "1260358fa5752212efa27bd1c32f8be281f0361334134b8ffb0fb9e1ed66127f",
"md5": "8326181cb2f4c435c25f6f3ca4de9809",
"sha256": "b35f247f3aa25d5ab56faa6a6a072ef57e965a41b923150e416be25f390181e4"
},
"downloads": -1,
"filename": "promplate-0.3.5.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8326181cb2f4c435c25f6f3ca4de9809",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 15730,
"upload_time": "2025-01-26T13:58:06",
"upload_time_iso_8601": "2025-01-26T13:58:06.955796Z",
"url": "https://files.pythonhosted.org/packages/12/60/358fa5752212efa27bd1c32f8be281f0361334134b8ffb0fb9e1ed66127f/promplate-0.3.5.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "26dabdd21d549273ff78720079a3f75f1363fa3cf32ebecd412d4bb4f94b72be",
"md5": "0a412b8305f8794c20cd5a980921907a",
"sha256": "ac73badddcbc9b32df12bec14d94b29e379194d064a35366154283050330a648"
},
"downloads": -1,
"filename": "promplate-0.3.5.0.tar.gz",
"has_sig": false,
"md5_digest": "0a412b8305f8794c20cd5a980921907a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 12486,
"upload_time": "2025-01-26T13:58:09",
"upload_time_iso_8601": "2025-01-26T13:58:09.064408Z",
"url": "https://files.pythonhosted.org/packages/26/da/bdd21d549273ff78720079a3f75f1363fa3cf32ebecd412d4bb4f94b72be/promplate-0.3.5.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-26 13:58:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "promplate",
"github_project": "core",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "promplate"
}