semvec/pypi-packages huggingface dataset:
roblox-open-cloud 0.1.0
Access to Roblox's Open Cloud REST API
Requires Python: >=3.6

# roblox-open-cloud

Python library for accessing Roblox's [Open Cloud](https://developer.roblox.com/en-us/articles/open-cloud).

```bash
$ pip install roblox-open-cloud
````

## CLI

This package comes with a command line interface, written using [click](https://click.palletsprojects.com/). Use `--help` at any point in a command for more information. Provide your Open Cloud API key in the `ROC_API_KEY` environment variable or with the `--api-key` option on the root command.

```bash
$ python -m roblox-open-cloud --help
# Access help for the DataStores API:
$ python -m roblox-open-cloud datastores --help
# Provide API key as an option:
$ python -m roblox-open-cloud --api-key ${MY_API_KEY} ...
# Enable verbose logging with -v or -vv
$ python -m roblox-open-cloud -vv ...
```

**Note:** Examples assume the `ROC_API_KEY` environment variable is set.

### DataStores

```bash
$ python -m roblox-open-cloud datastores UNIVERSE_ID DATASTORE_NAME list-entry-keys
$ python -m roblox-open-cloud datastores UNIVERSE_ID DATASTORE_NAME get-entry ENTRY_KEY
$ python -m roblox-open-cloud datastores UNIVERSE_ID DATASTORE_NAME set-entry ENTRY_KEY CONTENT
$ python -m roblox-open-cloud datastores UNIVERSE_ID DATASTORE_NAME increment-entry ENTRY_KEY
$ python -m roblox-open-cloud datastores UNIVERSE_ID DATASTORE_NAME delete-entry ENTRY_KEY
$ python -m roblox-open-cloud datastores UNIVERSE_ID DATASTORE_NAME list-entry-versions ENTRY_KEY
$ python -m roblox-open-cloud datastores UNIVERSE_ID DATASTORE_NAME get-entry-version ENTRY_KEY VERSION_ID
```

## API

```python
import os, getpass

from opencloud import OpenCloud

# Load API key from environment variable or prompt for it
api_key = os.environ.get('ROC_API_KEY') or getpass.getpass('Open Cloud API key: ')
open_cloud = OpenCloud(api_key)
datastore = open_cloud.get_datastore(3310576216, 'Coins')
entry_key = 269323
coins = datastore.get_entry(entry_key)
print('{userid} has {coins} coins'.format(userid=entry_key, coins=coins))
```

## Development

[Makefile.venv](https://github.com/sio/Makefile.venv) is used to automatically maintain a Python virtual environment.
arm-backend-cpplib 1.0.4
C++ port

## ( C++ => Cython => Python ) + Numpy
______________________________________
## Р¤СѓРЅРєС†РёРё РїСЂРёРЅРёРјР°СЋС‰РёРµ РІ РІРёРґРµ Р°СЂРіСѓРјРµРЅС‚Р°:
 - СЃСЃС‹Р»РєР° 
 - СѓРєР°Р·Р°С‚РµР»СЊ
 - СЃСЃС‹Р»РєРµ РЅР° СѓРєР°Р·Р°С‚РµР»СЊ 
 - СѓРєР°Р·Р°С‚РµР»СЊ РЅР° СѓРєР°Р·Р°С‚РµР»СЊ

# install

```shell
pip install git+https://lukoil:qwerty1!@bitbucket.web.cet-mipt.ru/scm/arm/arm_backend_cpplib.git
```

## Compile

[Jetbrains: get-started-cython](https://www.jetbrains.com/help/pycharm/cython.html#get-started-cython)

```shell
python setup.py build_ext --inplace
```

```shell
python setup.py sdist bdist_wheel
```

```shell
python -m twine upload --repository pypi dist/*
```
________________________________________________________________________
[Medium: calling-c-functions-from-cython-references-pointers-and-arrays](https://medium.com/@yuyuniitani/calling-c-functions-from-cython-references-pointers-and-arrays-e1ccb461b6d8)