Skip to main content

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

Metadata

Release files for microyc 0.1.2

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

Built distribution (wheel)

Table of built distributions (wheels) for microyc 0.1.2
File Interpreter ABI Platform
microyc-0.1.2-py3-none-any.whl Python 3 none any Details

Release files / microyc-0.1.2-py3-none-any.whl

Download URL microyc-0.1.2-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9afd0ec8967efe427554cba8bf416ba0ca59333137fe6e29ff8d3fd9bbf09f80
BLAKE2b-256 checksum
How to use checksums
9f1ffbf456bc923f5d8e6d28ba0ac8213f2f4c6df08219765df9846a020ee45a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

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