semvec/pypi-packages huggingface dataset:
alice-images 0.1.0
Work with alice skills images: upload|list|delete
Keywords: yandex alice images

# Alice-images

Work with alice skills images: upload|list|delete

[Yandex docs](https://tech.yandex.ru/dialogs/alice/doc/resource-upload-docpage/)


### Usage

#### In code

    from alice_images import upload_image

    upload_image(
        skill_id='<skill_id>',
        oauth_token='<oauth_token>',
        image='https://<image_url>/'  # or path '/tmp/image.jpg'
    )

#### CLI

Upload by url:

    alice_images --skill_id '<skill_id>' --oauth_token '<oauth_token>' upload 'https://<image_url>/'

Upload by path:

    alice_images --skill_id '<skill_id>' --oauth_token '<oauth_token>' upload '/tmp/image.jpg'

For more info use `--help`:

    $ alice_images --help
    Usage: alice_images [OPTIONS] COMMAND [ARGS]...

    Options:
      --skill-id TEXT     Alice skill id  [required]
      --oauth-token TEXT  Account OAuth token  [required]
      --help              Show this message and exit.

    Commands:
      delete
      list
      status
      upload
ksp 0.0.5
lightweight k-shortest paths

# README
Based on [**@Pent00**][Pent00]'s implementation of [Yen's K-Shortest Path][PUB:yen].

Notable differences:

- `Python3` support
- cleaned up classes and file structure
- removed dependency on `GraphViz`
- removed loading data from `/data/json` and added support to dump a `dict` into
the graph class.

See `jupyter` subdirectory for a notebook demonstrating how to use


[Pent00]: https://github.com/Pent00/YenKSP
 <!-- Kevin R <KRPent@gmail.com> -->
[PUB:yen]: https://pubsonline.informs.org/doi/abs/10.1287/mnsc.17.11.712