Skip to main content

The Nigerian AI inference SDK — access powerful AI models and pay in Naira

Project description

ConfamNode

The Nigerian AI inference SDK — access powerful AI models.

Built by JoTeq the First


Installation

pip install confamnode

Quick Start

from confamnode import ConfamNode

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

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

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

Streaming

for chunk in client.gist(
    model="confam-speed",
    messages="How far?",
    stream=True
):
    print(chunk.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:
    response = client.gist(
        model="confam-speed",
        messages="How far?"
    )
except ConfamAuthError:
    print("Check your API key")
except ConfamRateLimitError:
    print("You don reach your limit. To upgrade your plan, contact us at confamnode@gmail.com")
except ConfamModelError:
    print("Invalid model name")

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, 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.0.tar.gz (192.1 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.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: confamnode-0.1.0.tar.gz
  • Upload date:
  • Size: 192.1 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.0.tar.gz
Algorithm Hash digest
SHA256 5aa40c7eb437fbeea0a8868cad57dd4315bc16367af0859a30e234ab8ca8e953
MD5 cd784d5d15cca85d55e497bd71937fd1
BLAKE2b-256 5d424e96ac4477879dd0924e2b6be2703ec413b0a7e29b4336b0133add30e0f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: confamnode-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 37e143a155e62bf9a4b95cbdbb33a3685a6fe7b147a338a822ed84664b0bb3ae
MD5 ed31dfae115c627da911d738ee3d5b51
BLAKE2b-256 e4a9c0bcc0e523f98e232e2449c8618086a4885217725f9bff61439c7289cc0e

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