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.
Release files for intelmo 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| intelmo-1.1.2.tar.gz | 34.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| intelmo-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:48.6 kB
Release files / intelmo-1.1.2.tar.gz
| Download URL | intelmo-1.1.2.tar.gz |
|---|---|
| Size | 34.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b36079c0f1f73918b18c16188a6a07f0a49afe9381ee617015d68d03ec11aa91
|
|
BLAKE2b-256 checksum How to use checksums |
2768d22dfedc75d5092481f3bb564f38bac19851c02105c90594e0fcdc3203e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.6 Darwin/23.0.0
|
Release files / intelmo-1.1.2-py3-none-any.whl
| Download URL | intelmo-1.1.2-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4ccc20cac7805d128a8540fc2452118a1c36fbd86b33d0283adf5fefec952ba8
|
|
BLAKE2b-256 checksum How to use checksums |
4fea6b84fa2157d113f33a3a5898747c052e0b66f7fc4377eb7bbda1409a7181
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.6 Darwin/23.0.0
|