Skip to main content

A Python client for the Nurmonic API.

Project description

PyPI version

Nurmonic

Nurmonic is a Python client library for interacting with the Nurmonic chat API, facilitating the integration of AI-powered chat functionalities into your Python applications. This library streamlines the process of sending messages and receiving chat completions from the Nurmonic API.

Installation

Install Nurmonic using pip:

pip install nurmonic

Usage

To use Nurmonic, you will need an API key from Nurmonic. Visit the Official Website to obtain your API key. Once you have it, you can begin making API requests to interact with Nurmonic’s AI.

from nurmonic import Nurmonic

nurmo = Nurmonic(api_key="your_nurmonic_api_key")

def main():
    ai_response = nurmo.create_completion(
        messages=[{"role": "user", "content": "Say this is a test"}],
        model="gpt-3.5-turbo",
    )

    print(ai_response)

if __name__ == "__main__":
    main()

Features

  • Easy initialization and configuration with environment variables or direct options
  • Much cheaper than the official API
  • Fast responses for most requests, typically within 1ms
  • A simplified method to create chat completions with the Nurmonic API

Documentation

For more detailed information about the Nurmonic API and its capabilities, please visit the Nurmonic API Page on the official website.

Pricing

Gain access to a high number of messages per minute for as low as $5 per month at the Premium Page.

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

nurmonic-0.2.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

nurmonic-0.2.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file nurmonic-0.2.0.tar.gz.

File metadata

  • Download URL: nurmonic-0.2.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for nurmonic-0.2.0.tar.gz
Algorithm Hash digest
SHA256 11d6929e250c49f9d560200756a496deaa6015df5cb3e12372b3c0c13208eaa4
MD5 7ee712ee46b876c75e8a52e3fa08d136
BLAKE2b-256 53f223ca921b88ab567c4d1e41893df956aa5639b0a81871ad72941889c40001

See more details on using hashes here.

File details

Details for the file nurmonic-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: nurmonic-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for nurmonic-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef79fad691f44e6d9910add8285b9ca0a9be387c92d16938b98b9d291e0aab5b
MD5 fc09c8f5c6c19d67e4182da4e519e274
BLAKE2b-256 b73c040ea01aed7754ae49a522f38a463fe56ac6476053bd6b7a15b3944d755c

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