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.1.tar.gz (13.9 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.1-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: streamstory-0.0.1.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1022-azure

File hashes

Hashes for streamstory-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5586556dd0032472dbb6d086aba3a49514ec56dd7fdb2b6975f6a051023167f3
MD5 5cd3804bd3b909d235e9a640dfd250ab
BLAKE2b-256 6166bcd50d262ce133948722f25b9448d76b5dafa1328434a372c36a599c6a5e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: streamstory-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1022-azure

File hashes

Hashes for streamstory-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 32f0a0d0c8967384914d402ecc47534734308ceb43b4e33cc64ae0544db1ffa7
MD5 30d0fe2936062ec42e91d35954e55df5
BLAKE2b-256 0515cc12a8d6af1088656f8488b45a8db1ff83d59e4945334f6f9a45e5756886

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