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.3.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.3-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: streamstory-0.0.3.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.17 Linux/6.11.0-1015-azure

File hashes

Hashes for streamstory-0.0.3.tar.gz
Algorithm Hash digest
SHA256 5436693e59f626ea7f9e49deba120be0c5374238c86fda0a772cea408a940974
MD5 ea24934059704fe0a11e91dc7471eeb1
BLAKE2b-256 a9272d8d855e5436045ed6bf5b6b0dd13fd481e1d491fab60750cf1413b635ce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: streamstory-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.17 Linux/6.11.0-1015-azure

File hashes

Hashes for streamstory-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2e18551767fd9bd66286ed332160b55e57f95514d4096cc41d7aef5e365b55c5
MD5 6f42dce777d5c3e0092bf188105389bf
BLAKE2b-256 ae95811d05abc654554ac8f67e8ecc9cda28065a0700636c2557060ae2d9ad28

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