This repository has been archived by the owner on May 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bump version * ChatGPT Aliases Logic Change (#87) * Should fix history_length 0 issue * ci: auto fixes from pre-commit.com hooks * Re-implemented the logic for replacing content within promts with its aliases * ci: auto fixes from pre-commit.com hooks --------- Co-authored-by: stayinalive <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * version bump * Implemented streaming using Flet Add the current model to the subtext Dependency for Flet Custom font * storyboard and Workflow config file updated, an option $stream_reply added * Change version rto 1.5.4 * ci: auto fixes from pre-commit.com hooks * Updated Readme * Updated Readme and discription * Readme update * combined text_chat_flet and text_chat to one file * Renamed it back to the original text_chat.py * ci: auto fixes from pre-commit.com hooks * fix: remove all .so files * add: Readme to reflect what Stream reply does --------- Co-authored-by: Chris Lemke <[email protected]> Co-authored-by: stayinalive <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
ee14da3
commit dcef358
Showing
1,441 changed files
with
533,450 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Copyright 2007 Pallets | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are | ||
met: | ||
|
||
1. Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
|
||
2. Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
|
||
3. Neither the name of the copyright holder nor the names of its | ||
contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A | ||
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED | ||
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | ||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
Metadata-Version: 2.1 | ||
Name: Jinja2 | ||
Version: 3.1.2 | ||
Summary: A very fast and expressive template engine. | ||
Home-page: https://palletsprojects.com/p/jinja/ | ||
Author: Armin Ronacher | ||
Author-email: [email protected] | ||
Maintainer: Pallets | ||
Maintainer-email: [email protected] | ||
License: BSD-3-Clause | ||
Project-URL: Donate, https://palletsprojects.com/donate | ||
Project-URL: Documentation, https://jinja.palletsprojects.com/ | ||
Project-URL: Changes, https://jinja.palletsprojects.com/changes/ | ||
Project-URL: Source Code, https://github.com/pallets/jinja/ | ||
Project-URL: Issue Tracker, https://github.com/pallets/jinja/issues/ | ||
Project-URL: Twitter, https://twitter.com/PalletsTeam | ||
Project-URL: Chat, https://discord.gg/pallets | ||
Platform: UNKNOWN | ||
Classifier: Development Status :: 5 - Production/Stable | ||
Classifier: Environment :: Web Environment | ||
Classifier: Intended Audience :: Developers | ||
Classifier: License :: OSI Approved :: BSD License | ||
Classifier: Operating System :: OS Independent | ||
Classifier: Programming Language :: Python | ||
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content | ||
Classifier: Topic :: Text Processing :: Markup :: HTML | ||
Requires-Python: >=3.7 | ||
Description-Content-Type: text/x-rst | ||
License-File: LICENSE.rst | ||
Requires-Dist: MarkupSafe (>=2.0) | ||
Provides-Extra: i18n | ||
Requires-Dist: Babel (>=2.7) ; extra == 'i18n' | ||
|
||
Jinja | ||
===== | ||
|
||
Jinja is a fast, expressive, extensible templating engine. Special | ||
placeholders in the template allow writing code similar to Python | ||
syntax. Then the template is passed data to render the final document. | ||
|
||
It includes: | ||
|
||
- Template inheritance and inclusion. | ||
- Define and import macros within templates. | ||
- HTML templates can use autoescaping to prevent XSS from untrusted | ||
user input. | ||
- A sandboxed environment can safely render untrusted templates. | ||
- AsyncIO support for generating templates and calling async | ||
functions. | ||
- I18N support with Babel. | ||
- Templates are compiled to optimized Python code just-in-time and | ||
cached, or can be compiled ahead-of-time. | ||
- Exceptions point to the correct line in templates to make debugging | ||
easier. | ||
- Extensible filters, tests, functions, and even syntax. | ||
|
||
Jinja's philosophy is that while application logic belongs in Python if | ||
possible, it shouldn't make the template designer's job difficult by | ||
restricting functionality too much. | ||
|
||
|
||
Installing | ||
---------- | ||
|
||
Install and update using `pip`_: | ||
|
||
.. code-block:: text | ||
|
||
$ pip install -U Jinja2 | ||
|
||
.. _pip: https://pip.pypa.io/en/stable/getting-started/ | ||
|
||
|
||
In A Nutshell | ||
------------- | ||
|
||
.. code-block:: jinja | ||
|
||
{% extends "base.html" %} | ||
{% block title %}Members{% endblock %} | ||
{% block content %} | ||
<ul> | ||
{% for user in users %} | ||
<li><a href="{{ user.url }}">{{ user.username }}</a></li> | ||
{% endfor %} | ||
</ul> | ||
{% endblock %} | ||
|
||
|
||
Donate | ||
------ | ||
|
||
The Pallets organization develops and supports Jinja and other popular | ||
packages. In order to grow the community of contributors and users, and | ||
allow the maintainers to devote more time to the projects, `please | ||
donate today`_. | ||
|
||
.. _please donate today: https://palletsprojects.com/donate | ||
|
||
|
||
Links | ||
----- | ||
|
||
- Documentation: https://jinja.palletsprojects.com/ | ||
- Changes: https://jinja.palletsprojects.com/changes/ | ||
- PyPI Releases: https://pypi.org/project/Jinja2/ | ||
- Source Code: https://github.com/pallets/jinja/ | ||
- Issue Tracker: https://github.com/pallets/jinja/issues/ | ||
- Website: https://palletsprojects.com/p/jinja/ | ||
- Twitter: https://twitter.com/PalletsTeam | ||
- Chat: https://discord.gg/pallets | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
Jinja2-3.1.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 | ||
Jinja2-3.1.2.dist-info/LICENSE.rst,sha256=O0nc7kEF6ze6wQ-vG-JgQI_oXSUrjp3y4JefweCUQ3s,1475 | ||
Jinja2-3.1.2.dist-info/METADATA,sha256=PZ6v2SIidMNixR7MRUX9f7ZWsPwtXanknqiZUmRbh4U,3539 | ||
Jinja2-3.1.2.dist-info/RECORD,, | ||
Jinja2-3.1.2.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92 | ||
Jinja2-3.1.2.dist-info/entry_points.txt,sha256=zRd62fbqIyfUpsRtU7EVIFyiu1tPwfgO7EvPErnxgTE,59 | ||
Jinja2-3.1.2.dist-info/top_level.txt,sha256=PkeVWtLb3-CqjWi1fO29OCbj55EhX_chhKrCdrVe_zs,7 | ||
jinja2/__init__.py,sha256=8vGduD8ytwgD6GDSqpYc2m3aU-T7PKOAddvVXgGr_Fs,1927 | ||
jinja2/__pycache__/__init__.cpython-310.pyc,, | ||
jinja2/__pycache__/_identifier.cpython-310.pyc,, | ||
jinja2/__pycache__/async_utils.cpython-310.pyc,, | ||
jinja2/__pycache__/bccache.cpython-310.pyc,, | ||
jinja2/__pycache__/compiler.cpython-310.pyc,, | ||
jinja2/__pycache__/constants.cpython-310.pyc,, | ||
jinja2/__pycache__/debug.cpython-310.pyc,, | ||
jinja2/__pycache__/defaults.cpython-310.pyc,, | ||
jinja2/__pycache__/environment.cpython-310.pyc,, | ||
jinja2/__pycache__/exceptions.cpython-310.pyc,, | ||
jinja2/__pycache__/ext.cpython-310.pyc,, | ||
jinja2/__pycache__/filters.cpython-310.pyc,, | ||
jinja2/__pycache__/idtracking.cpython-310.pyc,, | ||
jinja2/__pycache__/lexer.cpython-310.pyc,, | ||
jinja2/__pycache__/loaders.cpython-310.pyc,, | ||
jinja2/__pycache__/meta.cpython-310.pyc,, | ||
jinja2/__pycache__/nativetypes.cpython-310.pyc,, | ||
jinja2/__pycache__/nodes.cpython-310.pyc,, | ||
jinja2/__pycache__/optimizer.cpython-310.pyc,, | ||
jinja2/__pycache__/parser.cpython-310.pyc,, | ||
jinja2/__pycache__/runtime.cpython-310.pyc,, | ||
jinja2/__pycache__/sandbox.cpython-310.pyc,, | ||
jinja2/__pycache__/tests.cpython-310.pyc,, | ||
jinja2/__pycache__/utils.cpython-310.pyc,, | ||
jinja2/__pycache__/visitor.cpython-310.pyc,, | ||
jinja2/_identifier.py,sha256=_zYctNKzRqlk_murTNlzrju1FFJL7Va_Ijqqd7ii2lU,1958 | ||
jinja2/async_utils.py,sha256=dHlbTeaxFPtAOQEYOGYh_PHcDT0rsDaUJAFDl_0XtTg,2472 | ||
jinja2/bccache.py,sha256=mhz5xtLxCcHRAa56azOhphIAe19u1we0ojifNMClDio,14061 | ||
jinja2/compiler.py,sha256=Gs-N8ThJ7OWK4-reKoO8Wh1ZXz95MVphBKNVf75qBr8,72172 | ||
jinja2/constants.py,sha256=GMoFydBF_kdpaRKPoM5cl5MviquVRLVyZtfp5-16jg0,1433 | ||
jinja2/debug.py,sha256=iWJ432RadxJNnaMOPrjIDInz50UEgni3_HKuFXi2vuQ,6299 | ||
jinja2/defaults.py,sha256=boBcSw78h-lp20YbaXSJsqkAI2uN_mD_TtCydpeq5wU,1267 | ||
jinja2/environment.py,sha256=6uHIcc7ZblqOMdx_uYNKqRnnwAF0_nzbyeMP9FFtuh4,61349 | ||
jinja2/exceptions.py,sha256=ioHeHrWwCWNaXX1inHmHVblvc4haO7AXsjCp3GfWvx0,5071 | ||
jinja2/ext.py,sha256=ivr3P7LKbddiXDVez20EflcO3q2aHQwz9P_PgWGHVqE,31502 | ||
jinja2/filters.py,sha256=9js1V-h2RlyW90IhLiBGLM2U-k6SCy2F4BUUMgB3K9Q,53509 | ||
jinja2/idtracking.py,sha256=GfNmadir4oDALVxzn3DL9YInhJDr69ebXeA2ygfuCGA,10704 | ||
jinja2/lexer.py,sha256=DW2nX9zk-6MWp65YR2bqqj0xqCvLtD-u9NWT8AnFRxQ,29726 | ||
jinja2/loaders.py,sha256=BfptfvTVpClUd-leMkHczdyPNYFzp_n7PKOJ98iyHOg,23207 | ||
jinja2/meta.py,sha256=GNPEvifmSaU3CMxlbheBOZjeZ277HThOPUTf1RkppKQ,4396 | ||
jinja2/nativetypes.py,sha256=DXgORDPRmVWgy034H0xL8eF7qYoK3DrMxs-935d0Fzk,4226 | ||
jinja2/nodes.py,sha256=i34GPRAZexXMT6bwuf5SEyvdmS-bRCy9KMjwN5O6pjk,34550 | ||
jinja2/optimizer.py,sha256=tHkMwXxfZkbfA1KmLcqmBMSaz7RLIvvItrJcPoXTyD8,1650 | ||
jinja2/parser.py,sha256=nHd-DFHbiygvfaPtm9rcQXJChZG7DPsWfiEsqfwKerY,39595 | ||
jinja2/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 | ||
jinja2/runtime.py,sha256=5CmD5BjbEJxSiDNTFBeKCaq8qU4aYD2v6q2EluyExms,33476 | ||
jinja2/sandbox.py,sha256=Y0xZeXQnH6EX5VjaV2YixESxoepnRbW_3UeQosaBU3M,14584 | ||
jinja2/tests.py,sha256=Am5Z6Lmfr2XaH_npIfJJ8MdXtWsbLjMULZJulTAj30E,5905 | ||
jinja2/utils.py,sha256=u9jXESxGn8ATZNVolwmkjUVu4SA-tLgV0W7PcSfPfdQ,23965 | ||
jinja2/visitor.py,sha256=MH14C6yq24G_KVtWzjwaI7Wg14PCJIYlWW1kpkxYak0,3568 |
Oops, something went wrong.