norduniclient/norduniclient-package.md
Benedith Mulongo a6ed74dfe5
Some checks are pending
Python CI / test (push) Waiting to run
Update readme.md
2024-10-11 15:55:53 +02:00

816 B

python-norduniclient

PyPI

Neo4j database client for NORDUnet network inventory

Compatibility

Tools Version
neo4j DB 4.4.x
neo4j 4.4.x
neomodel 5.0.x

Setup

poetry shell
poetry install

Running tests

Add the following environment variables:

NEO4J_HTTP_PORT=7474
NEO4J_BOLT_PORT=7687
NEO4J_HOSTNAME=xx
NEO4J_USER=xx
NEO4J_PASSWORD=xx
poetry run python -m unittest discover

Installation

pip install norduniclient

Usage

import norduniclient as nc

NODE_META_TYPE_CHOICES = zip(nc.META_TYPES, nc.META_TYPES)

print("nc.META_TYPES=", nc.META_TYPES)