Skip to main content

Description

Project description

Python connector plugin common code: v0.1.0

Rebuild proto files

Clone NEOS-Critical/neos-int-connector-lib, and hashicorp/go-plugin to your code directory (assumed parent of this directory)

Build the connector proto files.

inv build-proto-lib

Build the hashicorp go plugin files.

inv build-proto-plugin

Edit these files to all import from proto import xxxx as above command imports manager_pb2 etc directly despite being put in a proto module.

TODO: build these in a communal location so imports etc can be done right.

Prerequisites

The following packages are used across python repositories. A global install of them all is highly recommended.

Code Quality

Tests

invoke tests
invoke tests-coverage

Linting

invoke check-format
invoke check-style

Alternatively run the following to automatically fix linting issues that ruff can.

ruff . --fix

Releases

Release management is handled using bump2version. The below commands will start a new release cycle.

$ invoke bump-patch
$ invoke bump-minor
$ invoke bump-major
> vX.Y.Z.rc0

Release candidates can be tested, and new builds can be triggered using bump-build.

$ invoke bump-build
> vX.Y.Z.rc0 -> vX.Y.Z.rc1

Once a release candidate is stable, bump-release will move it from rc to official.

$ invoke bump-release
vX.Y.Z.rc1 -> vX.Y.Z

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

int_connector_lib-0.1.0.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

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

int_connector_lib-0.1.0-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file int_connector_lib-0.1.0.tar.gz.

File metadata

  • Download URL: int_connector_lib-0.1.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.8 Linux/5.15.0-100.96.32.el8uek.x86_64

File hashes

Hashes for int_connector_lib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2bc055818594aa887ea5a4581609924c7cfcc53c932168e7bca885349885a49a
MD5 52e6bdf19e59c14cb32bdde6b39cf8e6
BLAKE2b-256 8a118f44d6b547531751fff9e266fdb320f5bfb0a8d302cc3b445df214fa10ec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: int_connector_lib-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.8 Linux/5.15.0-100.96.32.el8uek.x86_64

File hashes

Hashes for int_connector_lib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b4f2f5b2ced568a748e8c0f190a6e62bfa6df516078e18c7847e8f8d03391e9b
MD5 39f6cb82cc852f6ec9c679f26f616a08
BLAKE2b-256 812c26ab065a54c1c9e4f376396cbb9fa8e719717781b4fffd702351b361f955

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