# 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
Raw data
{
"_id": null,
"home_page": "https://github.com/thefrol/microyc",
"name": "microyc",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8, <4",
"maintainer_email": "",
"keywords": "yandex,yandex.cloud",
"author": "Frolenko Dima",
"author_email": "orangefrol@gmail.com",
"download_url": "",
"platform": null,
"description": "# microyc\r\n\r\nminimalistic sdk for operating with yandex.cloud\r\n\r\nproject currently abandonned for nanoyc project, but still works fine\r\n\r\n## Installation\r\n\r\nJust as simple as `pip install microyc`\r\n\r\n## Authorization\r\n\r\nfor Amazon services autorize like with boto3\r\n\r\nRead more at https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html\r\n\r\n### Use .aws file\r\n\r\nstore it in ~/.aws with credentials~/.aws/credentials\r\n\r\n### Enviromental variables (recomended)\r\n\r\n`AWS_ACCESS_KEY_ID` - The access key for your AWS account.\r\n`AWS_SECRET_ACCESS_KEY` - The secret key for your AWS account.\r\n\r\nto get this key generate a new static key for your service account at yandex cloud console\r\n\r\n\r\n## using Object storage\r\n\r\npredefine `BUCKET` environment variable with name of bucket\r\n\r\n from microyc import Bucket\r\n\r\n b=Bucket() # or b=Bucket(BucketName='my-bucket')\r\n b.upload('my_file.txt')\r\n\r\n## more \r\n\r\nu can user FifoQuequest, start virtual machines, use DocumentDatabase and even suicide a turned virtual machine\r\n\r\ncheck `objects.py` file\r\n\r\n## revision history\r\n\r\n0.0.6 fixed fifo recv() issue\r\n0.0.5 Bug fixes and Bucket.upload_unique\r\n0.0.4 added FifoQueue\r\n",
"bugtrack_url": null,
"license": "",
"summary": "yandex.cloud minimalistic sdk",
"version": "0.1.2",
"split_keywords": [
"yandex",
"yandex.cloud"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9f1ffbf456bc923f5d8e6d28ba0ac8213f2f4c6df08219765df9846a020ee45a",
"md5": "c1b93c7f960d06504d67d7def890dfb8",
"sha256": "9afd0ec8967efe427554cba8bf416ba0ca59333137fe6e29ff8d3fd9bbf09f80"
},
"downloads": -1,
"filename": "microyc-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c1b93c7f960d06504d67d7def890dfb8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8, <4",
"size": 8007,
"upload_time": "2023-01-13T23:19:19",
"upload_time_iso_8601": "2023-01-13T23:19:19.627077Z",
"url": "https://files.pythonhosted.org/packages/9f/1f/fbf456bc923f5d8e6d28ba0ac8213f2f4c6df08219765df9846a020ee45a/microyc-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-13 23:19:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "thefrol",
"github_project": "microyc",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "microyc"
}