Skip to main content

Basic infrastructure for working with robots in COMPAS.

Project description

COMPAS Robots

Basic infrastructure for working with robots in COMPAS.

Getting started with this project

Setup code editor

  1. Open project folder in VS Code
  2. Select python environment for the project
  3. First time using VS Code and on Windows? Make sure select the correct terminal profile: Ctrl+Shift+P, Terminal: Select Default Profile and select Command Prompt.

All terminal commands in the following sections can be run from the VS Code integrated terminal.

First steps with git

  1. Go to the Source control tab
  2. Make an initial commit with all newly created files

First steps with code

  1. Install the newly created project

     pip install -e .
    
  2. Install it on Rhino

     python -m compas_rhino.install
    

Code conventions

Code convention follows PEP8 style guidelines and line length of 120 characters.

  1. Check adherence to style guidelines

     invoke lint
    
  2. Format code automatically

     invoke format
    

Documentation

Documentation is generated automatically out of docstrings and Markdown files in this repository using MkDocs with the Material theme and mkdocstrings.

  1. Generate the docs

     invoke docs
    
  2. Open docs in your browser (file explorer -> dist/docs/index.html)

Testing

Tests are written using the pytest framework

  1. Run all tests from terminal

     invoke test
    
  2. Or run them from VS Code from the Testing tab

Publish release

Releases follow the semver versioning convention.

  1. Create a new release

     invoke release major
    

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

compas_robots-1.0.0.tar.gz (6.0 MB view details)

Uploaded Source

Built Distribution

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

compas_robots-1.0.0-py3-none-any.whl (6.1 MB view details)

Uploaded Python 3

File details

Details for the file compas_robots-1.0.0.tar.gz.

File metadata

  • Download URL: compas_robots-1.0.0.tar.gz
  • Upload date:
  • Size: 6.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for compas_robots-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a06354271005093f0c6a527d70c7a175d9ea4d4d1fb51bcf44ab2d787bcd41e2
MD5 6236e90feef67794991c5daeecc00e68
BLAKE2b-256 a722e6fbe8510b921aa37b3caa39889c3e9d8b47319718ebf58a46350df1d09b

See more details on using hashes here.

File details

Details for the file compas_robots-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: compas_robots-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for compas_robots-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ce43e7b15d71e7eb18604df7b38d3840ef2ef900d66bf334df154694b3e5c4a
MD5 5ac3a494a1d95572a6126879280038f9
BLAKE2b-256 d35d96fc0fa65900e96964bf940e023309c259a66830de15edaf55565ad7fb33

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