Skip to main content

arcor2_mocks

Mocks for services developed by Kinali.

Environment variables

  • ARCOR2_PROJECT_SERVICE_MOCK_PORT=5012 - by default, the Project mock listens on port 5012.
  • ARCOR2_REST_API_DEBUG=1 - turns on Flask debugging (logs each endpoint call).

Changelog

The format is based on Keep a Changelog,

[1.1.0] - 2024-04-11

Changed

  • Updated dependencies, switched to Python 3.11.

[1.0.0] - 2023-02-14

Changed

  • Marked as a stable version.
  • REST API updated to match Project 1.0.0-rc.1.

Added

  • Health check end-point /healthz/ready to match Project 0.23.0 and Asset 0.6.0.

[0.20.0] - 2022-10-28

Changed

  • Switched to Python 3.10, updated dependencies.

[0.19.0] - 2022-09-02

Changed

  • BREAKING: Scene service was moved into arcor2_scene.

[0.18.0] - 2022-08-17

Changed

  • BREAKING: Implement new error handling flow. Error codes of every endpoint were replaced with error types as described in swagger documentation.
  • BREAKING: Update API to match new convention.

Added

  • New exception classes

[0.17.1] - 2022-02-17

Added

  • Simple collision checking on Scene Service Mock using Open3D ray-casting.
    • Checks whether there is collision between two points.
    • So far works only for primitive models.
    • Amount of (safety) inflation (in meters) can be controlled by -i argument or by ARCOR2_SCENE_INFLATION. Default value is 0.01.
  • Debug logging can be turned on by adding -d or setting ARCOR2_SCENE_DEBUG.

[0.17.0] - 2021-10-25

Changed

  • Dependency on arcor2==0.21.0.

Fixed

  • Handling of created property.

[0.16.0] - 2021-07-29

Changed

  • Compatibility with Project service 0.10.0.
  • Compatibility with Scene service 0.5.0.

[0.15.0] - 2021-06-11

Changed

  • Updated to match API of Project service 0.8.0.

[0.14.0] - 2021-05-21

Changed

  • Updated to match API of Project service 0.7.0.

[0.13.0] - 2021-04-20

Fixed

  • Methods from System controller missed OpenAPI definition.

Changed

  • Configurable delay on start/stop.
    • Scene mock can simulate that start and stop take some time.
    • Mean time can be set using ARCOR2_MOCK_SCENE_DELAY_MEAN.
    • ARCOR2_MOCK_SCENE_DELAY_SIGMA sets the sigma of normal distribution.

[0.12.0] - 2021-03-03

Changed

  • Methods to store/get mesh files were added to the mock Project.

[0.11.0] - 2021-02-08

Changed

  • Part of the code refactored into arcor2/flask.py.
  • Update of 3rd party dependencies.

[0.10.0] - 2020-12-14

Changed

  • Scene service mock updated to match Scene 0.4.0.

[0.9.1] - 2020-10-19

Changed

  • ARCOR2 dependency updated

[0.9.0] - 2020-10-16

  • Scene Service Mock updated to match Scene Service version 0.3.0.

[0.8.0] - 2020-09-23

Changed

  • Mocks updated to match Project 0.4.0 and Scene 0.2.0.

Metadata

Release files for arcor2-mocks 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arcor2-mocks 1.1.0
File Size Uploaded Provenance
arcor2_mocks-1.1.0.tar.gz 9.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for arcor2-mocks 1.1.0
File Interpreter ABI Platform
arcor2_mocks-1.1.0-py311-none-any.whl Python 3.11 none any Details

Total release size: 19.0 kB

Release files / arcor2_mocks-1.1.0.tar.gz

Download URL arcor2_mocks-1.1.0.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
dba9dfdce694485a3f24914f47ccafecd57276d8b05a40fff49ce5ba42070d41
BLAKE2b-256 checksum
How to use checksums
5eebc4591e7a62c2200c18261ac8cd081dc4e3ec2d6f46e7d0244b34ff9899fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / arcor2_mocks-1.1.0-py311-none-any.whl

Download URL arcor2_mocks-1.1.0-py311-none-any.whl
Size 9.8 kB
Tags Python 3.11
SHA-256 checksum
How to use checksums
0e5c58e607aec014d8c6174b3a5026768dba484bb5c4a1a35ddf22c9a02fbbaa
BLAKE2b-256 checksum
How to use checksums
304c16ac468272e1260896907d3deb0343a2c528f3e150267d4b564338eb9767
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Security for arcor2-mocks 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page