ChainForge/setup.py
ianarawjo 9d7c458b7a
Better Table Tiew, optimized string storage (#328)
* Add loading spinner overlay to Response Inspector when it hangs on UI reload

* Use Mantine React Table in Response Inspector

* Merge toolbar into Mantine React Table toolbar, to save space

* Disable counting num of matches in search bar, since this is non-trivial now. We might merge later, but the user can use the num of items in the table view as a proxy.

* Adds `StringLookup` table. Change types related to `LLMResponse`s with a `StringOrHash` type, which can be a string or a number.

* Import/export the lookup table when importing/exporting the flow state. 

* Update package version
2025-02-28 14:55:31 -05:00

51 lines
1.5 KiB
Python

from setuptools import setup, find_packages
def readme():
with open('README.md', encoding='utf-8') as f:
return f.read()
setup(
name="chainforge",
version="0.3.4.0",
packages=find_packages(),
author="Ian Arawjo",
description="A Visual Programming Environment for Prompt Engineering",
long_description=readme(),
long_description_content_type="text/markdown",
keywords="prompt engineering LLM response evaluation",
license="MIT",
url="https://github.com/ianarawjo/ChainForge/",
install_requires=[
# Package dependencies
"flask>=2.2.3",
"flask[async]",
"flask_cors",
"requests",
"urllib3==1.26.6",
"openai",
"anthropic",
"google-generativeai",
"dalaipy>=2.0.2",
"mistune>=2.0", # for LLM response markdown parsing
],
entry_points={
"console_scripts": [
"chainforge = chainforge.app:main",
],
},
classifiers=[
# Package classifiers
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
python_requires=">=3.8",
include_package_data=True,
)