Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding requirements.txt, setup.py, and PyPI Integration #11

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ To install langchain_g4f, run the following command:
```shell
pip install git+https://github.com/MIDORIBIN/langchain-gpt4free.git
```
or
```shell
pip install langchain-g4f
```

This command will install langchain_g4f.

Expand Down
91 changes: 91 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
aiofiles==23.2.1
aiohttp==3.8.6
aiosignal==1.3.1
annotated-types==0.6.0
anyio==3.7.1
async-timeout==4.0.3
attrs==23.1.0
blinker==1.6.3
Brotli==1.1.0
browser-cookie3==0.19.1
certifi==2023.7.22
cffi==1.16.0
charset-normalizer==3.3.1
click==8.1.7
cryptography==41.0.5
curl-cffi==0.5.9
dataclasses-json==0.6.1
docutils==0.20.1
duckduckgo-search==3.9.3
Flask==3.0.0
Flask-Cors==4.0.0
frozenlist==1.4.0
g4f==0.1.7.6
greenlet==3.0.0
h11==0.14.0
h2==4.1.0
hpack==4.0.0
httpcore==0.18.0
httpx==0.25.0
hyperframe==6.0.1
idna==3.4
importlib-metadata==6.8.0
itsdangerous==2.1.2
jaraco.classes==3.3.0
jeepney==0.8.0
Jinja2==3.1.2
Js2Py==0.74
jsonpatch==1.33
jsonpointer==2.4
keyring==24.2.0
langchain==0.0.321
langsmith==0.0.49
loguru==0.7.2
lxml==4.9.3
lz4==4.3.2
markdown-it-py==3.0.0
MarkupSafe==2.1.3
marshmallow==3.20.1
mdurl==0.1.2
more-itertools==10.1.0
multidict==6.0.4
mypy-extensions==1.0.0
nest-asyncio==1.5.8
nh3==0.2.14
numpy==1.26.1
packaging==23.2
Pillow==10.1.0
pkginfo==1.9.6
platformdirs==3.11.0
pycparser==2.21
pycryptodome==3.19.0
pycryptodomex==3.19.0
pydantic==2.4.2
pydantic_core==2.10.1
PyExecJS==1.5.1
Pygments==2.16.1
pyjsparser==2.7.1
PyYAML==6.0.1
readme-renderer==42.0
regex==2023.10.3
requests==2.31.0
requests-toolbelt==1.0.0
rfc3986==2.0.0
rich==13.6.0
SecretStorage==3.3.3
six==1.16.0
sniffio==1.3.0
socksio==1.0.0
SQLAlchemy==2.0.22
tenacity==8.2.3
tiktoken==0.5.1
twine==4.0.2
typing-inspect==0.9.0
typing_extensions==4.8.0
tzlocal==5.2
urllib3==2.0.7
waitress==2.1.2
websockets==12.0
Werkzeug==3.0.0
yarl==1.9.2
zipp==3.17.0
25 changes: 25 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
from setuptools import setup, find_packages


def load_requirements(filename):
with open(filename, 'r') as file:
return file.read().splitlines()

setup(
name="langchain_g4f",
version="0.1",
packages=find_packages(),
description="LangChain gpt4free is an open-source project that assists in building applications using LLM (Large Language Models) and provides free access to GPT4/3.5.",
author="Alexander",
author_email="alexandkorataev@gmain.com",
url="https://github.com/AlexanderKorataev/langchain-gpt4free",
license="MIT License",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=load_requirements("requirements.txt"),
python_requires=">=3.10",
)