Skip to main content

Python Client API for Butter MAS platform

Project description

Butter MAS Python API

HTTP client python API for Butter MAS platform.

licence

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

You will need to install python 3 in order to use this software

Installing

pip install -U butter.mas-api

Usage

from butter.mas.api import HttpClient

butterHttpClient = HttpClient('192.168.0.111')  # use you robot ip here

result = butterHttpClient.playAnimation('welcome')
print(result.json())

Coding style tests

Linting

Please use PyLint (Default linter on VS Code) to lint your code before submitting a PR.

Tests

Please test your code before submitting a PR.

python -m unittest tests/api_test.py

Documentation

  • 👨🏼‍💻 API,

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

In order to install along with test tools you will need to run:

pip install -e .[dev]

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

Benny Megidish

See also the list of contributors who participated in this project.

License

This project is licensed under the Apache 2.0 License - see the LICENSE.md file for details

Project details


Download files

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

Source Distribution

butter.mas-api-2.1.0.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

butter.mas_api-2.1.0-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

Details for the file butter.mas-api-2.1.0.tar.gz.

File metadata

  • Download URL: butter.mas-api-2.1.0.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.11.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.3

File hashes

Hashes for butter.mas-api-2.1.0.tar.gz
Algorithm Hash digest
SHA256 a39a3106ad076830756f47f7403e8b7fb8c8557928a4b798addfd93cd5e9ee2b
MD5 783de04fe106ad87d1e2acc73d221be6
BLAKE2b-256 99b309978b36b1a66ce916f8ce7ad43eea068205b91c4ccbb2a67a528d74f5b3

See more details on using hashes here.

File details

Details for the file butter.mas_api-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: butter.mas_api-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.11.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.3

File hashes

Hashes for butter.mas_api-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf1332b7d2a8bf56be56cd8d6ca26ba2c09feb7db66aeebd5ff0727fbe309edf
MD5 2a11eccf74af7ab677e4f1bd953617c5
BLAKE2b-256 17ecf8ba7c06b58410232ad3b20dfb0ba81aaba58e1e8f653d35a6ae28aa4071

See more details on using hashes here.

Supported by

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