Skip to main content

Python client for the Articolare API

Project description

Articolare Python Client

Articolare is a Python client for the Articolare API. It is designed to facilitate interactions with the API, providing a simple and intuitive interface for creating and managing requests.

Installation

To install the Articolare Python client, you can use pip:

  • Copy code
  pip install articolare

Usage

First, you need to initialize the ArticolareClient with your API key:

from articolare import create
  client = create.ArticolareClient(api_key="your-api-key"))

Create

You can then use the create method to make a request to the API:

  • languages available:
    • English
    • Portuguese
    • Spanish
    • Italian
  • Tokens:
response = client.create(
    model="art-translator",
    lang="english",
    style="conversation",
    dialect="european"
    prompt="Enter your prompt here",
    max_tokens=1000
)
  • The create method returns a dictionary containing the response data from the API.

Testing

This library includes a basic test suite, which you can run using pytest:

  • pytest
pytest

License

The Articolare library is owned and managed by Articolare ltd.

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

articolare-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

articolare-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: articolare-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for articolare-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e83db3641a639eaf39f3be6859c9895a9a5673d6ff90635b2bfb92594e806881
MD5 7177103c7eb9632cbb985283be04dbae
BLAKE2b-256 1b1968774431496d94cc7b8e9c6adabad8147dd00044fc96794ece461f0fa65f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: articolare-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for articolare-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ceb9bd16f7c6d473cef0ac4cdf43617be0d156909c8cb1959fc54de20a9a145
MD5 9a844787145e24d14c5820cde33e0094
BLAKE2b-256 cfe1f933754f5c28cd447e0eda030027f89810bb96269e93031651b9921bd75b

See more details on using hashes here.

Supported by

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