Metadata-Version: 2.1
Name: g4fp
Version: 1.0.1
Summary: Proxy wrapper for g4f clients
Home-page: https://github.com/Leolox228/g4fp
Author: Ваше имя
Author-email: leo.gladkikh2@gmail.com
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: free-proxy
Requires-Dist: g4f

This is a library for unlimited use of LLM through g4f, using a proxy!
To install, install g4fp via pip and use g4f (Client with Proxy suffix) instead!

Usage example (async):
```py
import asyncio
from g4fp import AsyncClientProxy

async def main():
    client = await AsyncClientProxy()
    messages = [
        {"role": "user", "content": "РџСЂРёРІРµС‚!"}
    ]
    response = await client.chat.completions.create(
        model="o1-mini",
        messages=messages,
    )
    print(response.choices[0].message.content)

if __name__ == "__main__":
    asyncio.run(main())
```

Usage example (sync):
```py
from g4fp import ClientProxy

client = ClientProxy()
messages = [
    {"role": "user", "content": "РџСЂРёРІРµС‚!"}
]
response = client.chat.completions.create(
    model="o1-mini",
    messages=messages,
)
print(response.choices[0].message.content)
```
