gisoo-python
A tiny helper that gives you the official openai Python client already pointed at Gisoo, a Persian AI app with an OpenAI-compatible API (chat, responses, embeddings, images, speech, music, video). It adds no new abstractions: Gisoo is an openai.OpenAI subclass.
Install
pip install gisoo
Use
Create a key in the Gisoo app (keys look like sk-gisoo-v1-...) and export it:
export GISOO_API_KEY=sk-gisoo-v1-...
from gisoo import Gisoo
client = Gisoo() # or Gisoo(api_key="sk-gisoo-v1-...")
r = client.chat.completions.create(
model="gemini-3.6-flash",
messages=[{"role": "user", "content": "سلام! یک جملهٔ کوتاه دربارهٔ تهران بگو."}],
)
print(r.choices[0].message.content)
Streaming works as in the OpenAI client (stream=True). Other model IDs include gpt-5-mini, deepseek-flash and openrouter/anthropic/claude-sonnet-4.5.
Iran mirror
client = Gisoo(iran=True) # https://ir.gisoo.pro/api/v1
List models (no key needed)
from gisoo import list_models
for m in list_models(type="image"):
print(m["id"])
type is one of chat, image, audio, embedding, video, music.
Good to know
- Pricing is pay-as-you-go through an Iranian bank card. There is no free tier and no signup credit.
- Default rate limit is 60 requests per minute per key.
- The API stores metadata, not request or response bodies.
- Gisoo also has an Anthropic-compatible endpoint (
https://gisoo.pro/api) and a remote MCP server (https://gisoo.pro/api/mcp).
Docs (Persian): https://gisoo.pro/docs · App: https://gisoo.pro · Models: https://gisoo.pro/models
MIT licensed. Source: https://github.com/netarz/gisoo-python
Metadata
Release files for gisoo 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| gisoo-0.1.1.tar.gz | 4.1 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gisoo-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / gisoo-0.1.1.tar.gz
| Download URL | gisoo-0.1.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c71ca7c94739f8c99f3a9fd7073ac16b9c97b51dbe93ed6ad93befd4b25f2aa
|
|
BLAKE2b-256 checksum How to use checksums |
581d15e1de09c8580be413520f09bcf43e2cc3c904c4289cf16958d73365ffc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
Transparency logRelease files / gisoo-0.1.1-py3-none-any.whl
| Download URL | gisoo-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b27c3649a7f4bc79422353180a855e3a74742643522c89284d92b068b40c000f
|
|
BLAKE2b-256 checksum How to use checksums |
da1961416675f58379d05376fe7faad1fde578ecbf56a6e3ecedc5c7e4857bb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
Transparency logSecurity for gisoo 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for gisoo-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.