Skip to main content

The Nigerian AI inference gateway — access powerful AI models

Project description

ConfamNode

The Nigerian AI inference gateway — access powerful AI models.

Built by JoTeq the First


Installation

Using pip

pip install confamnode

Using uv

uv add confamnode

Using virtualenv

# Create virtual environment
python -m venv .venv

# Activate — Linux/Mac
source .venv/bin/activate

# Activate — Windows
.venv\Scripts\activate

# Install
pip install confamnode

Using uv with virtual environment

# Create project with uv
uv init my-project
cd my-project

# Add confamnode
uv add confamnode

# Run your script
uv run python main.py

Quick Start

from confamnode import ConfamNode

client = ConfamNode(api_key="confam-sk-xxx")

ansa = client.gist(
    model="confam-speed",
    messages="How far?"
)

print(ansa.choices[0].message.content)

Streaming

for yarn in client.gist(
    model="confam-speed",
    messages="How far?",
    stream=True
):
    print(yarn.choices[0].delta.content, end="")

Models

Model Description
confam-lite Light text and general chat
confam-speed Fast, high quality responses
confam-reasoning Deep thinking and analysis
confam-nano Private, NDPA compliant
confam-embed-text-local Local CPU embeddings

Environment Variable

export CONFAMNODE_API_KEY="confam-sk-xxx"
client = ConfamNode()

Error Handling

from confamnode import ConfamAuthError, ConfamRateLimitError, ConfamModelError

try:
    ansa = client.gist(
        model="confam-speed",
        messages="How far?"
    )
except ConfamAuthError:
    print("You sure say na the correct API Key be that")
except ConfamRateLimitError:
    print("You don reach your limit. Contact us at confamnode@gmail.com make we upgrade your plan")
except ConfamModelError:
    print("This model name no dey valid")

Private Deployment

Need NDPA-compliant private AI on your own infrastructure? JoTeq the First offers on-premise deployment on Jetson devices and GPUs, RAG pipelines, fine-tuning, eevaluation, monitoring, and dedicated hosted models.

Contact us at joteqthefirst@gmail.com


License

Apache License 2.0


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

confamnode-0.1.1.tar.gz (194.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

confamnode-0.1.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file confamnode-0.1.1.tar.gz.

File metadata

  • Download URL: confamnode-0.1.1.tar.gz
  • Upload date:
  • Size: 194.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for confamnode-0.1.1.tar.gz
Algorithm Hash digest
SHA256 178a98c937f1b25eaad538934bcc1f47eebb3a0c153025d00c6652e687128c44
MD5 b26a30a7208ff792e1422ee58598c6f6
BLAKE2b-256 86271a60a60f3226ecb0cc54442a956a94583bc21297888a03b1eb38cbbe16f1

See more details on using hashes here.

File details

Details for the file confamnode-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: confamnode-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for confamnode-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2e2fe0bf750ae933e6bb2842521c90c570569e3878a517d79c7f5e1c51172afc
MD5 ffe6192eb87b79f4e25a5fb33be5b9a2
BLAKE2b-256 c606c84cb069097e0b17d90a60edcd439974722cae543baefe588159b1e16af4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page