Skip to main content

No project description provided

Project description

StreamStory Client

Requirements

  • Python 3.10 or higher 🐍
  • Poetry for dependency management 📦

Installation 🔧

To install StreamStory, follow these simple steps:

Step 1: Install Poetry

If you haven't already, you need to install Poetry. You can do this by following the official Poetry installation guide:

curl -sSL https://install.python-poetry.org | python3 -

Alternatively, you can install it via pip:

pip install poetry

Step 2: Clone the Repository 📂

git clone https://github.com/yourusername/streamstory.git

Step 3: Install Dependencies

Use Poetry to install the package dependencies:

poetry install

Step 4: Activate the Virtual Environment 🔄

Activate the virtual environment created by Poetry:

poetry shell

Init client

api_url = "http://streamstory.ijs.si/api/v1"
# create api key- http://streamstory.ijs.si/profile/api-keys
api_key = "212ze441-d9b7-4cf8-97d6-961484436f4a"
streamstory = StreamStory(api_url, api_key)

Get models

models = streamstory.get_models()

Get model

model_uuid = 'cceea9f2-cde7-410e-9111-ccd08b799f79
model = streamstory.get_model_by_uuid(model_uuid)

Delete model

model_uuid = 'cceea9f2-cde7-410e-9111-ccd08b799f79'
streamstory.delete_model_by_uuid(model_uuid)

Build model

...

Examples 📚

Run existing examples by navigating to the examples directory.

cd streamstory/examples
python main.py

License 📄

StreamStoryPyClient is distributed under the MIT License. See LICENSE for more information.

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

streamstory-0.0.2.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

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

streamstory-0.0.2-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file streamstory-0.0.2.tar.gz.

File metadata

  • Download URL: streamstory-0.0.2.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.16 Linux/6.8.0-1021-azure

File hashes

Hashes for streamstory-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5f7eb727386f67d27b7a8360405dd7ef34cc0fd1df1a7244cbf8fe66a0fa2acf
MD5 fed16162dab417d568152cf22703fce6
BLAKE2b-256 9e00734bae67a3de3056bf80fb8b25f42767799a996bf85ba0fb3cf3c20337d0

See more details on using hashes here.

File details

Details for the file streamstory-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: streamstory-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.16 Linux/6.8.0-1021-azure

File hashes

Hashes for streamstory-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e38fa1774fa42b1a6b293fbbf5605e4bddc14c9c8fb453a60137cae28f75681e
MD5 e478913129cd8508106e0a0c9b237761
BLAKE2b-256 8771aec10391001f109ef5a758486a0df332e3065c6feea390b332c7809151e3

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