Metadata-Version: 2.1
Name: netapi-python
Version: 0.0.2.dev0+g16f20d7.d20230414070851
Summary: A small Python3-layer for accessing Network-Data via the NetAPI.
Author-email: Tino Schöllhorn <schoellhorn@ifm.uni-mannheim.de>, Pavel Chachev <pavel.dimitrov.chachev@uni-hamburg.de>
Project-URL: Homepage, https://github.com/pypa/sampleproject
Project-URL: Bug Tracker, https://github.com/pypa/sampleproject/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: requests
Requires-Dist: networkx

Python-Code-Struktur
====================
In Anlehnung an: 
- https://docs.python-guide.org/writing/structure/
- https://docs.python.org/3/library/unittest.html

TestCases laufen lassen
-----------------------
Im Terminal. Arbeitsverzeichnis "netapi-python/tests".

- Ein Test einer Testklasse:
	`netapi-python/tests> python -m unittest -v SimpleTestGraphTestCase -k test_2`
	
- Alle Tests einer Testklasse: 
	`netapi-python/tests> python -m unittest -v SimpleTestGraphTestCase`
	`netapi-python/tests> python -m unittest -v MiniGraphTestCase`
	`netapi-python/tests> python -m unittest -v QKnowLegacyGraphEventSourceTestCase`
	
- Alle Tests der TestSuite:
	`netapi-python/tests> python -m unittest -v AllTests`
	

Publish Package to to Gitea-Package-Manager (PIP)
--------------------------------------
Sources: 
	- https://packaging.python.org/en/latest/tutorials/packaging-projects/
	- https://docs.gitea.io/en-us/usage/packages/pypi/

1.) Install/Update build-tools

```
py.exe -m pip install --upgrade pip
py.exe -m pip install --upgrade build
py.exe -m pip install --upgrade twine
```

2.) Generate distribution-archives (in folder dist)
`rm dist/*; py.exe -m build`

3.) Upload distribution-archives
`py -m twine upload --repository gitea dist/*`


Hinweise
==============
- Wenn man Prädikate definiert, wird "true" für Java klein geschrieben.
Nicht wie bei Python groß.
z.B setSelection(Selection().setNodePredicate("attributes.egoA=true"))
