Skip to main content

Nortal Core CLI

Project description

Core CLI v0.0.3

Prerequisites

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

A running cluster from Local Helm with gateway service port forwarded. Details on port forwarding below.

WSL

If running on Windows, you may need to install distutils to install the service.

$ sudo apt-get install python3.10-distutils

Initial setup

$ invoke install-dev

Code Quality

Tests

invoke tests
invoke tests-coverage

Linting

invoke check-style
invoke isort

Running locally

Port forwarding

To access the gateway api locally, you will need to connect to the pod inside the cluster using kubefwd.

$ sudo kubefwd svc -n core -c ~/.kube/config

Neosctl

Prerequisite

$ poetry shell

Initialize profile

$ neosctl -p my-profile profile init
Initialising [default] profile.
Gateway API url [http://core-gateway.core-gateway:9000/api/gateway]: <http://gateway_api_url:port>
Registry API url [http://neos-registry.registry:80/api/registry]: <http://registry_api_url:port>
Username: <username>
Auth flow [keycloak]: <basic|keycloak>
$ cat ~/.neosctl

Login

$ neosctl -p=<my-profile> auth login

Commands to work with data products

$ neosctl product --help
$ neosctl metadata --help

Releases

Release management is handled using bump2version. The below commands will tag a new release. This will also update the helm chart version, this should not be manually changed.

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

Project details


Release history Release notifications | RSS feed

This version

0.0.3

Download files

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

Source Distribution

neosctl-0.0.3.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

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

neosctl-0.0.3-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file neosctl-0.0.3.tar.gz.

File metadata

  • Download URL: neosctl-0.0.3.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.4 Linux/5.17.1-zen1-1-zen

File hashes

Hashes for neosctl-0.0.3.tar.gz
Algorithm Hash digest
SHA256 922fcbacc76b96f61790391dd5a1d053a6bdcb298c1a547d883ff758c68123b2
MD5 5b2010ddec20d087bbf34bc730a19c55
BLAKE2b-256 35e547f55af6528c8a857b62d050ddf6c0acdbf8710d01a8f1092ebf9d624cf8

See more details on using hashes here.

File details

Details for the file neosctl-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: neosctl-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.4 Linux/5.17.1-zen1-1-zen

File hashes

Hashes for neosctl-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d6f94c2a7b81741eaaaf02ef8659f3ed0cdc0f173bc793b12af8856ab2066a73
MD5 c673a4344a68150bb95f851a9078188b
BLAKE2b-256 abb0da9595f1a6e614d75cc9fb80a71fef555c7d2fc35a79db8a4900ed213dd5

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