Skip to main content

Alice-images

Work with alice skills images: upload|list|delete

Yandex docs

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

Release files for alice-images 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alice-images 0.1.0
File Size Uploaded
alice-images-0.1.0.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for alice-images 0.1.0
File Interpreter ABI Platform
alice_images-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.2 kB

Release files / alice-images-0.1.0.tar.gz

Download URL alice-images-0.1.0.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
eaaf6f6d60203137da27b3580c8df739fba32c0a5bcb4d588d6cd53a6711af3a
BLAKE2b-256 checksum
How to use checksums
248e36829614cf63a32602d86751cc51a56b0cea2f5dfbf0bf41a0859dcf631f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

Release files / alice_images-0.1.0-py3-none-any.whl

Download URL alice_images-0.1.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd0fb2fbdf62d0146eb87336db81f84c6a375f172bf64b8f7584da9f8061f179
BLAKE2b-256 checksum
How to use checksums
35c3171fed89109024bfc3bab513c01b220dcb4112c9092c3e06b8c67a8a4d1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page