Skip to main content

This client library is designed to help query endpoints of the "Dowell Geometrical Layout of Big Data API"

Project description

Dowell Geometrical Layout Python SDK Library

This client is designed for the Dowell Geometrical Layout of Big Data API Geometrical Layout Api. By specifying the radius, length, and width, users can determine the number of circles that can be arranged in a triangular packaging, minimizing wastage of space. The coordinates of the circle can also be determine.

Installation

This library currently supports Python 3.5+. The requests package is required.

We recommend using pip and virtualenv for Installation. Please note that the Python package is called geometrical-layout.

Installing a Released Version

virtualenv env
source env/bin/activate
pip install geometrical-layout

Example

from geometrical_layout import GeometricalLayoutApi
req = GeometricalLayoutApi()

Methods

post_object

The endpoint receive a json object of radius, length, width. Resonse is dict containing number of circles and coordinates.

Parameters

  • radius - A float or an int that identifies a circle radius, is needed to make API calls.

  • length - An int denoting the length of the space in canvas

  • width - A int denoting the length of the space in canvas. is the last parameter needed to make API request.

Examples

# Get the number of circles from the response.
numberOfcircle = req.post_object(radius, length, width)
print(numberOfcircle)

Licensing

This library uses the Apache License, version 2.0. Please see the library’s individual files for more information.

Support & Discussion

For Support and Discussion, visit the official DoWellUXLab website. Documentation is available at https://geometrical-layouts.readthedocs.io/en/latest/index.html

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

geometrical-layout-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

geometrical_layout-0.1.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file geometrical-layout-0.1.0.tar.gz.

File metadata

  • Download URL: geometrical-layout-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.5

File hashes

Hashes for geometrical-layout-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5b6ab90778e870b424d9a6b83e32a04672a1732ffefc2f07fb4ea998f1caf0b6
MD5 b7b73d24ecdb59e3cef23ca52722d143
BLAKE2b-256 b66097537711b8cb42e7f1c3aa213a8d51e59285b3c1f7eea52fde696ddbc834

See more details on using hashes here.

File details

Details for the file geometrical_layout-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for geometrical_layout-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b4befde2bb7f9de9b11629377a1e81e8a0fc0854eb386f09449df6ae528ad88
MD5 3a6e30062722b9791d62909ba17b4cee
BLAKE2b-256 e2bb4a20fa7bbdfb585ff8d7d1394055a9ff98c71377a5dd146b8b8495790015

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