Skip to main content

yandex.cloud minimalistic sdk

Project description

microyc

minimalistic sdk for operating with yandex.cloud

project currently abandonned for nanoyc project, but still works fine

Installation

Just as simple as pip install microyc

Authorization

for Amazon services autorize like with boto3

Read more at https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html

Use .aws file

store it in /.aws with credentials/.aws/credentials

Enviromental variables (recomended)

AWS_ACCESS_KEY_ID - The access key for your AWS account. AWS_SECRET_ACCESS_KEY - The secret key for your AWS account.

to get this key generate a new static key for your service account at yandex cloud console

using Object storage

predefine BUCKET environment variable with name of bucket

from microyc import Bucket

b=Bucket()  # or b=Bucket(BucketName='my-bucket')
b.upload('my_file.txt')

more

u can user FifoQuequest, start virtual machines, use DocumentDatabase and even suicide a turned virtual machine

check objects.py file

revision history

0.0.6 fixed fifo recv() issue 0.0.5 Bug fixes and Bucket.upload_unique 0.0.4 added FifoQueue

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

microyc-0.1.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file microyc-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: microyc-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for microyc-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9afd0ec8967efe427554cba8bf416ba0ca59333137fe6e29ff8d3fd9bbf09f80
MD5 c1b93c7f960d06504d67d7def890dfb8
BLAKE2b-256 9f1ffbf456bc923f5d8e6d28ba0ac8213f2f4c6df08219765df9846a020ee45a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page