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 hashes)

Uploaded Python 3

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