No project description provided
Project description
Quick Start with INTELMO
Installation
INTELMO is available on PyPI and can be installed with pip:
pip install intelmo
Basic Configuration
You can use intelmo.create_server() to create a server.
# example.py
from intelmo import create_server
if __name__ == "__main__":
server = create_server(
name="Example Server",
description="This is an example server.",
tasks=[
{
"name": "Sentiment",
"description": "Show the sentiment of the text",
"task_type": "generation",
# any function that takes article text and returns a string
"task": ...
}
],
)
server.run()
Then you can start the server with:
python example.py
A development server will be started at http://localhost:8080.
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
intelmo-1.1.2.tar.gz
(34.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
intelmo-1.1.2-py3-none-any.whl
(14.4 kB
view details)
File details
Details for the file intelmo-1.1.2.tar.gz.
File metadata
- Download URL: intelmo-1.1.2.tar.gz
- Upload date:
- Size: 34.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.6 Darwin/23.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b36079c0f1f73918b18c16188a6a07f0a49afe9381ee617015d68d03ec11aa91
|
|
| MD5 |
9a718d766436d1bbb15396052699a9bd
|
|
| BLAKE2b-256 |
2768d22dfedc75d5092481f3bb564f38bac19851c02105c90594e0fcdc3203e4
|
File details
Details for the file intelmo-1.1.2-py3-none-any.whl.
File metadata
- Download URL: intelmo-1.1.2-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.6 Darwin/23.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ccc20cac7805d128a8540fc2452118a1c36fbd86b33d0283adf5fefec952ba8
|
|
| MD5 |
4c68797b8afa67317e51a8e5bf45fe12
|
|
| BLAKE2b-256 |
4fea6b84fa2157d113f33a3a5898747c052e0b66f7fc4377eb7bbda1409a7181
|