bisos.graphviz 0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bisos.graphviz-0.1/MANIFEST.in +6 -0
- bisos.graphviz-0.1/PKG-INFO +246 -0
- bisos.graphviz-0.1/README.org +181 -0
- bisos.graphviz-0.1/README.rst +238 -0
- bisos.graphviz-0.1/bisos/__init__.py +1 -0
- bisos.graphviz-0.1/bisos/graphviz/__init__.py +0 -0
- bisos.graphviz-0.1/bisos/graphviz/graphvizSeed.py +264 -0
- bisos.graphviz-0.1/bisos/graphviz/graphviz_csu.py +312 -0
- bisos.graphviz-0.1/bisos.graphviz.egg-info/PKG-INFO +246 -0
- bisos.graphviz-0.1/bisos.graphviz.egg-info/SOURCES.txt +16 -0
- bisos.graphviz-0.1/bisos.graphviz.egg-info/dependency_links.txt +1 -0
- bisos.graphviz-0.1/bisos.graphviz.egg-info/not-zip-safe +1 -0
- bisos.graphviz-0.1/bisos.graphviz.egg-info/requires.txt +1 -0
- bisos.graphviz-0.1/bisos.graphviz.egg-info/top_level.txt +1 -0
- bisos.graphviz-0.1/lh-agpl3-LICENSE.txt +679 -0
- bisos.graphviz-0.1/pyproject.toml +3 -0
- bisos.graphviz-0.1/setup.cfg +4 -0
- bisos.graphviz-0.1/setup.py +97 -0
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: bisos.graphviz
|
|
3
|
+
Version: 0.1
|
|
4
|
+
Summary: bisos.graphviz: Python graphviz wrapped into BISOS CS and Seed Machinaries
|
|
5
|
+
Home-page: http://www.by-star.net/PLPC/180047
|
|
6
|
+
Download-URL: http://www.by-star.net/PLPC/180047
|
|
7
|
+
Author: Mohsen Banan
|
|
8
|
+
Author-email: libre@mohsen.1.banan.byname.net
|
|
9
|
+
Maintainer: Mohsen Banan
|
|
10
|
+
Maintainer-email: libre@mohsen.1.banan.byname.net
|
|
11
|
+
License: AGPL
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
15
|
+
Classifier: Operating System :: POSIX
|
|
16
|
+
Classifier: Programming Language :: Python
|
|
17
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
18
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
19
|
+
|
|
20
|
+
| ``Blee Panel Controls``: `Show-All <elisp:(show-all)>`__ \|
|
|
21
|
+
`Overview <elisp:(org-shifttab)>`__ \|
|
|
22
|
+
`Content <elisp:(progn (org-shifttab) (org-content))>`__ \|
|
|
23
|
+
`(1) <elisp:(delete-other-windows)>`__ \|
|
|
24
|
+
`S&Q <elisp:(progn (save-buffer) (kill-buffer))>`__ \|
|
|
25
|
+
`Save <elisp:(save-buffer)>`__ \| `Quit <elisp:(kill-buffer)>`__ \|
|
|
26
|
+
`Bury <elisp:(bury-buffer)>`__
|
|
27
|
+
| ``Panel Links``: `Blee Panel <../_nodeBase_/fullUsagePanel-en.org>`__
|
|
28
|
+
\| `Github
|
|
29
|
+
Panel <./py3/panels/bisos.facter/_nodeBase_/fullUsagePanel-en.org>`__
|
|
30
|
+
``See Also``: `At PYPI <https://pypi.org/project/bisos.facter>`__ \|
|
|
31
|
+
`bisos.PyCS <https://github.com/bisos-pip/pycs>`__ \|
|
|
32
|
+
`bisos.cmdb <https://github.com/bisos-pip/cmdb>`__
|
|
33
|
+
|
|
34
|
+
Overview
|
|
35
|
+
========
|
|
36
|
+
|
|
37
|
+
bisos.graphviz ()
|
|
38
|
+
|
|
39
|
+
bisos.graphviz is a python package that uses the PyCS-Framework for
|
|
40
|
+
processing graphviz specifications in python. It is a BISOS-Capability
|
|
41
|
+
and a Standalone-BISOS-Package.
|
|
42
|
+
|
|
43
|
+
*bisos.graphviz* is based on PyCS-Foundation and can be used both as a
|
|
44
|
+
Command and as a Service (invoke/perform model of remote operations)
|
|
45
|
+
using RPYC for central management of multiple systems.
|
|
46
|
+
|
|
47
|
+
.. _table-of-contents:
|
|
48
|
+
|
|
49
|
+
Table of Contents TOC
|
|
50
|
+
=====================
|
|
51
|
+
|
|
52
|
+
- `Overview <#overview>`__
|
|
53
|
+
- `Part of BISOS — ByStar Internet Services Operating
|
|
54
|
+
System <#part-of-bisos-----bystar-internet-services-operating-system>`__
|
|
55
|
+
- `bisos.graphviz is a Command Services (PyCS)
|
|
56
|
+
Facility <#bisosgraphviz-is-a-command-services-pycs-facility>`__
|
|
57
|
+
- `Uses of bisos.graphviz <#uses-of-bisosgraphviz>`__
|
|
58
|
+
- `bisos.graphviz as a Standalone Piece of
|
|
59
|
+
BISOS <#bisosgraphviz-as-a-standalone-piece-of-bisos>`__
|
|
60
|
+
- `Installation <#installation>`__
|
|
61
|
+
|
|
62
|
+
- `Installation With pip <#installation-with-pip>`__
|
|
63
|
+
- `Installation With pipx <#installation-with-pipx>`__
|
|
64
|
+
|
|
65
|
+
- `Usage <#usage>`__
|
|
66
|
+
|
|
67
|
+
- `Locally (system command-line) <#locally-system-command-line>`__
|
|
68
|
+
- `Remotely (as a service –
|
|
69
|
+
Performer+Invoker) <#remotely-as-a-service----performerinvoker>`__
|
|
70
|
+
|
|
71
|
+
- `Performer <#performer>`__
|
|
72
|
+
- `Invoker <#invoker>`__
|
|
73
|
+
|
|
74
|
+
- `Use by Python script <#use-by-python-script>`__
|
|
75
|
+
|
|
76
|
+
- `bisos.graphviz Source Code is in writen in COMEEGA
|
|
77
|
+
(Collaborative Org-Mode Enhanced Emacs Generalized Authorship)
|
|
78
|
+
– <#bisosgraphviz-source-code-is-in-writen-in-comeega-collaborative-org-mode-enhanced-emacs-generalized-authorship----httpsgithubcombx-bleecomeega>`__\ https://github.com/bx-blee/comeega\ `. <#bisosgraphviz-source-code-is-in-writen-in-comeega-collaborative-org-mode-enhanced-emacs-generalized-authorship----httpsgithubcombx-bleecomeega>`__
|
|
79
|
+
- `The primary API for bisos.graphviz is
|
|
80
|
+
./bisos/graphviz/graphviz-csu.py. It is self documented in
|
|
81
|
+
COMEEGA. <#the-primary-api-for-bisosgraphviz-is-bisosgraphvizgraphviz-csupy-it-is-self-documented-in-comeega>`__
|
|
82
|
+
|
|
83
|
+
- `Documentation and Blee-Panels <#documentation-and-blee-panels>`__
|
|
84
|
+
|
|
85
|
+
- `bisos.graphviz Blee-Panels <#bisosgraphviz-blee-panels>`__
|
|
86
|
+
|
|
87
|
+
- `Support <#support>`__
|
|
88
|
+
|
|
89
|
+
Part of BISOS — ByStar Internet Services Operating System
|
|
90
|
+
=========================================================
|
|
91
|
+
|
|
92
|
+
| Layered on top of Debian, **BISOS**: (By\* Internet Services Operating
|
|
93
|
+
System) is a unified and universal framework for developing both
|
|
94
|
+
internet services and software-service continuums that use internet
|
|
95
|
+
services. See `Bootstrapping ByStar, BISOS and
|
|
96
|
+
Blee <https://github.com/bxGenesis/start>`__ for information about
|
|
97
|
+
getting started with BISOS.
|
|
98
|
+
| **BISOS** is a foundation for **The Libre-Halaal ByStar Digital
|
|
99
|
+
Ecosystem** which is described as a cure for losses of autonomy and
|
|
100
|
+
privacy in a book titled: `Nature of
|
|
101
|
+
Polyexistentials <https://github.com/bxplpc/120033>`__
|
|
102
|
+
|
|
103
|
+
*bisos.graphviz* is part of BISOS.
|
|
104
|
+
|
|
105
|
+
bisos.graphviz is a Command Services (PyCS) Facility
|
|
106
|
+
====================================================
|
|
107
|
+
|
|
108
|
+
bisos.graphviz can be used locally on command-line or remotely as a
|
|
109
|
+
service. bisos.graphviz is a PyCS multi-unit command-service. PyCS is a
|
|
110
|
+
framework that converges developement of CLI and Services. PyCS is an
|
|
111
|
+
alternative to FastAPI, Typer and Click.
|
|
112
|
+
|
|
113
|
+
bisos.graphviz uses the PyCS Framework to:
|
|
114
|
+
|
|
115
|
+
#. Provide access to graphviz facilities through native python.
|
|
116
|
+
#. Provide local access to graphviz facilities on CLI.
|
|
117
|
+
#. Provide remote access to graphviz facilities through remote
|
|
118
|
+
invocation of python Expection Complete Operations using
|
|
119
|
+
`rpyc <https://github.com/tomerfiliba-org/rpyc>`__.
|
|
120
|
+
#. Provide remote access to graphviz facilities on CLI.
|
|
121
|
+
|
|
122
|
+
What is unique in the PyCS-Framework is that these four models are all a
|
|
123
|
+
single abstraction.
|
|
124
|
+
|
|
125
|
+
The core of PyCS-Framework is the *bisos.b* package (the
|
|
126
|
+
PyCS-Foundation). See https://github.com/bisos-pip/b for an overview.
|
|
127
|
+
|
|
128
|
+
Uses of bisos.graphviz
|
|
129
|
+
======================
|
|
130
|
+
|
|
131
|
+
Within BISOS, bisos.graphviz is used as a common facility.
|
|
132
|
+
|
|
133
|
+
bisos.graphviz as a Standalone Piece of BISOS
|
|
134
|
+
=============================================
|
|
135
|
+
|
|
136
|
+
bisos.graphviz is a standalone piece of BISOS. It can be used as a
|
|
137
|
+
self-contained Python package separate from BISOS. Follow the
|
|
138
|
+
installtion and usage instructions below for your own use.
|
|
139
|
+
|
|
140
|
+
Installation
|
|
141
|
+
============
|
|
142
|
+
|
|
143
|
+
The sources for the bisos.graphviz pip package is maintained at:
|
|
144
|
+
https://github.com/bisos-pip/graphviz.
|
|
145
|
+
|
|
146
|
+
The bisos.graphviz pip package is available at PYPI as
|
|
147
|
+
https://pypi.org/project/bisos.graphviz
|
|
148
|
+
|
|
149
|
+
You can install bisos.graphviz with pip or pipx.
|
|
150
|
+
|
|
151
|
+
Installation With pip
|
|
152
|
+
---------------------
|
|
153
|
+
|
|
154
|
+
If you need access to bisos.graphviz as a python module, you can install
|
|
155
|
+
it with pip:
|
|
156
|
+
|
|
157
|
+
.. code:: bash
|
|
158
|
+
|
|
159
|
+
pip install bisos.graphviz
|
|
160
|
+
|
|
161
|
+
Installation With pipx
|
|
162
|
+
----------------------
|
|
163
|
+
|
|
164
|
+
If you only need access to bisos.graphviz as a command on command-line,
|
|
165
|
+
you can install it with pipx:
|
|
166
|
+
|
|
167
|
+
.. code:: bash
|
|
168
|
+
|
|
169
|
+
pipx install bisos.graphviz
|
|
170
|
+
|
|
171
|
+
The following commands are made available:
|
|
172
|
+
|
|
173
|
+
- graphviz.cs
|
|
174
|
+
- roInv-graphviz.cs
|
|
175
|
+
- roPerf-graphviz.cs
|
|
176
|
+
|
|
177
|
+
These are all one file with 3 names. *roInv-graphviz.cs* and
|
|
178
|
+
*roPerf-graphviz.cs* are sym-links to *graphviz.cs*
|
|
179
|
+
|
|
180
|
+
Usage
|
|
181
|
+
=====
|
|
182
|
+
|
|
183
|
+
Locally (system command-line)
|
|
184
|
+
-----------------------------
|
|
185
|
+
|
|
186
|
+
``graphviz.cs`` can be invoked directly as
|
|
187
|
+
|
|
188
|
+
.. code:: bash
|
|
189
|
+
|
|
190
|
+
bin/graphviz.cs
|
|
191
|
+
|
|
192
|
+
Remotely (as a service – Performer+Invoker)
|
|
193
|
+
-------------------------------------------
|
|
194
|
+
|
|
195
|
+
You can also run
|
|
196
|
+
|
|
197
|
+
Performer
|
|
198
|
+
~~~~~~~~~
|
|
199
|
+
|
|
200
|
+
Run performer as:
|
|
201
|
+
|
|
202
|
+
.. code:: bash
|
|
203
|
+
|
|
204
|
+
bin/roPerf-graphviz.cs
|
|
205
|
+
|
|
206
|
+
Invoker
|
|
207
|
+
~~~~~~~
|
|
208
|
+
|
|
209
|
+
Run invoker as:
|
|
210
|
+
|
|
211
|
+
.. code:: bash
|
|
212
|
+
|
|
213
|
+
bin/roInv-graphviz.cs
|
|
214
|
+
|
|
215
|
+
Use by Python script
|
|
216
|
+
--------------------
|
|
217
|
+
|
|
218
|
+
bisos.graphviz Source Code is in writen in COMEEGA (Collaborative Org-Mode Enhanced Emacs Generalized Authorship) – https://github.com/bx-blee/comeega.
|
|
219
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
220
|
+
|
|
221
|
+
The primary API for bisos.graphviz is ./bisos/graphviz/graphviz-csu.py. It is self documented in COMEEGA.
|
|
222
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
223
|
+
|
|
224
|
+
Documentation and Blee-Panels
|
|
225
|
+
=============================
|
|
226
|
+
|
|
227
|
+
bisos.graphviz is part of ByStar Digital Ecosystem
|
|
228
|
+
http://www.by-star.net.
|
|
229
|
+
|
|
230
|
+
This module's primary documentation is in the form of Blee-Panels.
|
|
231
|
+
Additional information is also available in:
|
|
232
|
+
http://www.by-star.net/PLPC/180047
|
|
233
|
+
|
|
234
|
+
bisos.graphviz Blee-Panels
|
|
235
|
+
--------------------------
|
|
236
|
+
|
|
237
|
+
bisos.graphviz Blee-Panles are in ./panels directory. From within Blee
|
|
238
|
+
and BISOS these panles are accessible under the Blee "Panels" menu.
|
|
239
|
+
|
|
240
|
+
Support
|
|
241
|
+
=======
|
|
242
|
+
|
|
243
|
+
| For support, criticism, comments and questions; please contact the
|
|
244
|
+
author/maintainer
|
|
245
|
+
| `Mohsen Banan <http://mohsen.1.banan.byname.net>`__ at:
|
|
246
|
+
http://mohsen.1.banan.byname.net/contact
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
#+title: bisos.graphviz: Python graphviz wrapped into BISOS CS and Seed Machinaries
|
|
2
|
+
#+DATE: <2024-02-19 Mon 16:27>
|
|
3
|
+
#+AUTHOR: Mohsen BANAN
|
|
4
|
+
#+OPTIONS: toc:4
|
|
5
|
+
|
|
6
|
+
~Blee Panel Controls~: [[elisp:(show-all)][Show-All]] | [[elisp:(org-shifttab)][Overview]] | [[elisp:(progn (org-shifttab) (org-content))][Content]] | [[elisp:(delete-other-windows)][(1)]] | [[elisp:(progn (save-buffer) (kill-buffer))][S&Q]] | [[elisp:(save-buffer)][Save]] | [[elisp:(kill-buffer)][Quit]] | [[elisp:(bury-buffer)][Bury]] \\
|
|
7
|
+
~Panel Links~: [[file:../_nodeBase_/fullUsagePanel-en.org][Blee Panel]] | [[file:./py3/panels/bisos.facter/_nodeBase_/fullUsagePanel-en.org][Github Panel]]
|
|
8
|
+
~See Also~: [[https://pypi.org/project/bisos.facter][At PYPI]] | [[https://github.com/bisos-pip/pycs][bisos.PyCS]] | [[https://github.com/bisos-pip/cmdb][bisos.cmdb]]
|
|
9
|
+
|
|
10
|
+
* Overview
|
|
11
|
+
|
|
12
|
+
bisos.graphviz ()
|
|
13
|
+
|
|
14
|
+
bisos.graphviz is a python package that uses the PyCS-Framework for processing
|
|
15
|
+
graphviz specifications in python.
|
|
16
|
+
It is a BISOS-Capability and a Standalone-BISOS-Package.
|
|
17
|
+
|
|
18
|
+
/bisos.graphviz/ is based on PyCS-Foundation and can be used both as a Command and
|
|
19
|
+
as a Service (invoke/perform model of remote operations) using RPYC for central
|
|
20
|
+
management of multiple systems.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
* Table of Contents :TOC:
|
|
24
|
+
- [[#overview][Overview]]
|
|
25
|
+
- [[#part-of-bisos-----bystar-internet-services-operating-system][Part of BISOS --- ByStar Internet Services Operating System]]
|
|
26
|
+
- [[#bisosgraphviz-is-a-command-services-pycs-facility][bisos.graphviz is a Command Services (PyCS) Facility]]
|
|
27
|
+
- [[#uses-of-bisosgraphviz][Uses of bisos.graphviz]]
|
|
28
|
+
- [[#bisosgraphviz-as-a-standalone-piece-of-bisos][bisos.graphviz as a Standalone Piece of BISOS]]
|
|
29
|
+
- [[#installation][Installation]]
|
|
30
|
+
- [[#installation-with-pip][Installation With pip]]
|
|
31
|
+
- [[#installation-with-pipx][Installation With pipx]]
|
|
32
|
+
- [[#usage][Usage]]
|
|
33
|
+
- [[#locally-system-command-line][Locally (system command-line)]]
|
|
34
|
+
- [[#remotely-as-a-service----performerinvoker][Remotely (as a service -- Performer+Invoker)]]
|
|
35
|
+
- [[#performer][Performer]]
|
|
36
|
+
- [[#invoker][Invoker]]
|
|
37
|
+
- [[#use-by-python-script][Use by Python script]]
|
|
38
|
+
- [[#bisosgraphviz-source-code-is-in-writen-in-comeega-collaborative-org-mode-enhanced-emacs-generalized-authorship----httpsgithubcombx-bleecomeega][bisos.graphviz Source Code is in writen in COMEEGA (Collaborative Org-Mode Enhanced Emacs Generalized Authorship) -- https://github.com/bx-blee/comeega.]]
|
|
39
|
+
- [[#the-primary-api-for-bisosgraphviz-is-bisosgraphvizgraphviz-csupy-it-is-self-documented-in-comeega][The primary API for bisos.graphviz is ./bisos/graphviz/graphviz-csu.py. It is self documented in COMEEGA.]]
|
|
40
|
+
- [[#documentation-and-blee-panels][Documentation and Blee-Panels]]
|
|
41
|
+
- [[#bisosgraphviz-blee-panels][bisos.graphviz Blee-Panels]]
|
|
42
|
+
- [[#support][Support]]
|
|
43
|
+
|
|
44
|
+
* Part of BISOS --- ByStar Internet Services Operating System
|
|
45
|
+
|
|
46
|
+
Layered on top of Debian, *BISOS*: (By* Internet Services Operating System) is a
|
|
47
|
+
unified and universal framework for developing both internet services and
|
|
48
|
+
software-service continuums that use internet services. See [[https://github.com/bxGenesis/start][Bootstrapping
|
|
49
|
+
ByStar, BISOS and Blee]] for information about getting started with BISOS.\\
|
|
50
|
+
*BISOS* is a foundation for *The Libre-Halaal ByStar Digital Ecosystem* which is
|
|
51
|
+
described as a cure for losses of autonomy and privacy in a book titled: [[https://github.com/bxplpc/120033][Nature
|
|
52
|
+
of Polyexistentials]]
|
|
53
|
+
|
|
54
|
+
/bisos.graphviz/ is part of BISOS.
|
|
55
|
+
|
|
56
|
+
* bisos.graphviz is a Command Services (PyCS) Facility
|
|
57
|
+
|
|
58
|
+
bisos.graphviz can be used locally on command-line or remotely as a service.
|
|
59
|
+
bisos.graphviz is a PyCS multi-unit command-service.
|
|
60
|
+
PyCS is a framework that converges developement of CLI and Services.
|
|
61
|
+
PyCS is an alternative to FastAPI, Typer and Click.
|
|
62
|
+
|
|
63
|
+
bisos.graphviz uses the PyCS Framework to:
|
|
64
|
+
|
|
65
|
+
1) Provide access to graphviz facilities through native python.
|
|
66
|
+
2) Provide local access to graphviz facilities on CLI.
|
|
67
|
+
3) Provide remote access to graphviz facilities through remote invocation of
|
|
68
|
+
python Expection Complete Operations using [[https://github.com/tomerfiliba-org/rpyc][rpyc]].
|
|
69
|
+
4) Provide remote access to graphviz facilities on CLI.
|
|
70
|
+
|
|
71
|
+
What is unique in the PyCS-Framework is that these four models are all
|
|
72
|
+
a single abstraction.
|
|
73
|
+
|
|
74
|
+
The core of PyCS-Framework is the /bisos.b/ package (the PyCS-Foundation).
|
|
75
|
+
See https://github.com/bisos-pip/b for an overview.
|
|
76
|
+
|
|
77
|
+
* Uses of bisos.graphviz
|
|
78
|
+
|
|
79
|
+
Within BISOS, bisos.graphviz is used as a common facility.
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
* bisos.graphviz as a Standalone Piece of BISOS
|
|
83
|
+
|
|
84
|
+
bisos.graphviz is a standalone piece of BISOS. It can be used as a self-contained
|
|
85
|
+
Python package separate from BISOS. Follow the installtion and usage
|
|
86
|
+
instructions below for your own use.
|
|
87
|
+
|
|
88
|
+
* Installation
|
|
89
|
+
|
|
90
|
+
The sources for the bisos.graphviz pip package is maintained at:
|
|
91
|
+
https://github.com/bisos-pip/graphviz.
|
|
92
|
+
|
|
93
|
+
The bisos.graphviz pip package is available at PYPI as
|
|
94
|
+
https://pypi.org/project/bisos.graphviz
|
|
95
|
+
|
|
96
|
+
You can install bisos.graphviz with pip or pipx.
|
|
97
|
+
|
|
98
|
+
** Installation With pip
|
|
99
|
+
|
|
100
|
+
If you need access to bisos.graphviz as a python module, you can install it with pip:
|
|
101
|
+
|
|
102
|
+
#+begin_src bash
|
|
103
|
+
pip install bisos.graphviz
|
|
104
|
+
#+end_src
|
|
105
|
+
|
|
106
|
+
** Installation With pipx
|
|
107
|
+
|
|
108
|
+
If you only need access to bisos.graphviz as a command on command-line, you can install it with pipx:
|
|
109
|
+
|
|
110
|
+
#+begin_src bash
|
|
111
|
+
pipx install bisos.graphviz
|
|
112
|
+
#+end_src
|
|
113
|
+
|
|
114
|
+
The following commands are made available:
|
|
115
|
+
- graphviz.cs
|
|
116
|
+
- roInv-graphviz.cs
|
|
117
|
+
- roPerf-graphviz.cs
|
|
118
|
+
|
|
119
|
+
These are all one file with 3 names. _roInv-graphviz.cs_ and _roPerf-graphviz.cs_ are sym-links to _graphviz.cs_
|
|
120
|
+
|
|
121
|
+
* Usage
|
|
122
|
+
|
|
123
|
+
** Locally (system command-line)
|
|
124
|
+
|
|
125
|
+
=graphviz.cs= can be invoked directly as
|
|
126
|
+
|
|
127
|
+
#+begin_src bash
|
|
128
|
+
bin/graphviz.cs
|
|
129
|
+
#+end_src
|
|
130
|
+
|
|
131
|
+
** Remotely (as a service -- Performer+Invoker)
|
|
132
|
+
|
|
133
|
+
You can also run
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
*** Performer
|
|
137
|
+
|
|
138
|
+
Run performer as:
|
|
139
|
+
|
|
140
|
+
#+begin_src bash
|
|
141
|
+
bin/roPerf-graphviz.cs
|
|
142
|
+
#+end_src
|
|
143
|
+
|
|
144
|
+
*** Invoker
|
|
145
|
+
|
|
146
|
+
Run invoker as:
|
|
147
|
+
|
|
148
|
+
#+begin_src bash
|
|
149
|
+
bin/roInv-graphviz.cs
|
|
150
|
+
#+end_src
|
|
151
|
+
|
|
152
|
+
** Use by Python script
|
|
153
|
+
|
|
154
|
+
*** bisos.graphviz Source Code is in writen in COMEEGA (Collaborative Org-Mode Enhanced Emacs Generalized Authorship) -- https://github.com/bx-blee/comeega.
|
|
155
|
+
|
|
156
|
+
*** The primary API for bisos.graphviz is ./bisos/graphviz/graphviz-csu.py. It is self documented in COMEEGA.
|
|
157
|
+
|
|
158
|
+
* Documentation and Blee-Panels
|
|
159
|
+
|
|
160
|
+
bisos.graphviz is part of ByStar Digital Ecosystem [[http://www.by-star.net]].
|
|
161
|
+
|
|
162
|
+
This module's primary documentation is in the form of Blee-Panels.
|
|
163
|
+
Additional information is also available in: [[http://www.by-star.net/PLPC/180047]]
|
|
164
|
+
|
|
165
|
+
** bisos.graphviz Blee-Panels
|
|
166
|
+
|
|
167
|
+
bisos.graphviz Blee-Panles are in ./panels directory.
|
|
168
|
+
From within Blee and BISOS these panles are accessible under the
|
|
169
|
+
Blee "Panels" menu.
|
|
170
|
+
|
|
171
|
+
* Support
|
|
172
|
+
|
|
173
|
+
For support, criticism, comments and questions; please contact the
|
|
174
|
+
author/maintainer\\
|
|
175
|
+
[[http://mohsen.1.banan.byname.net][Mohsen Banan]] at:
|
|
176
|
+
[[http://mohsen.1.banan.byname.net/contact]]
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
# Local Variables:
|
|
180
|
+
# eval: (setq-local toc-org-max-depth 4)
|
|
181
|
+
# End:
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
==========================================================================
|
|
2
|
+
bisos.graphviz: Python graphviz wrapped into BISOS CS and Seed Machinaries
|
|
3
|
+
==========================================================================
|
|
4
|
+
|
|
5
|
+
:Author: Mohsen BANAN
|
|
6
|
+
:Date: <2024-02-19 Mon 16:27>
|
|
7
|
+
|
|
8
|
+
.. contents::
|
|
9
|
+
:depth: 3
|
|
10
|
+
..
|
|
11
|
+
|
|
12
|
+
| ``Blee Panel Controls``: `Show-All <elisp:(show-all)>`__ \|
|
|
13
|
+
`Overview <elisp:(org-shifttab)>`__ \|
|
|
14
|
+
`Content <elisp:(progn (org-shifttab) (org-content))>`__ \|
|
|
15
|
+
`(1) <elisp:(delete-other-windows)>`__ \|
|
|
16
|
+
`S&Q <elisp:(progn (save-buffer) (kill-buffer))>`__ \|
|
|
17
|
+
`Save <elisp:(save-buffer)>`__ \| `Quit <elisp:(kill-buffer)>`__ \|
|
|
18
|
+
`Bury <elisp:(bury-buffer)>`__
|
|
19
|
+
| ``Panel Links``: `Blee Panel <../_nodeBase_/fullUsagePanel-en.org>`__
|
|
20
|
+
\| `Github
|
|
21
|
+
Panel <./py3/panels/bisos.facter/_nodeBase_/fullUsagePanel-en.org>`__
|
|
22
|
+
``See Also``: `At PYPI <https://pypi.org/project/bisos.facter>`__ \|
|
|
23
|
+
`bisos.PyCS <https://github.com/bisos-pip/pycs>`__ \|
|
|
24
|
+
`bisos.cmdb <https://github.com/bisos-pip/cmdb>`__
|
|
25
|
+
|
|
26
|
+
Overview
|
|
27
|
+
========
|
|
28
|
+
|
|
29
|
+
bisos.graphviz ()
|
|
30
|
+
|
|
31
|
+
bisos.graphviz is a python package that uses the PyCS-Framework for
|
|
32
|
+
processing graphviz specifications in python. It is a BISOS-Capability
|
|
33
|
+
and a Standalone-BISOS-Package.
|
|
34
|
+
|
|
35
|
+
*bisos.graphviz* is based on PyCS-Foundation and can be used both as a
|
|
36
|
+
Command and as a Service (invoke/perform model of remote operations)
|
|
37
|
+
using RPYC for central management of multiple systems.
|
|
38
|
+
|
|
39
|
+
.. _table-of-contents:
|
|
40
|
+
|
|
41
|
+
Table of Contents TOC
|
|
42
|
+
=====================
|
|
43
|
+
|
|
44
|
+
- `Overview <#overview>`__
|
|
45
|
+
- `Part of BISOS — ByStar Internet Services Operating
|
|
46
|
+
System <#part-of-bisos-----bystar-internet-services-operating-system>`__
|
|
47
|
+
- `bisos.graphviz is a Command Services (PyCS)
|
|
48
|
+
Facility <#bisosgraphviz-is-a-command-services-pycs-facility>`__
|
|
49
|
+
- `Uses of bisos.graphviz <#uses-of-bisosgraphviz>`__
|
|
50
|
+
- `bisos.graphviz as a Standalone Piece of
|
|
51
|
+
BISOS <#bisosgraphviz-as-a-standalone-piece-of-bisos>`__
|
|
52
|
+
- `Installation <#installation>`__
|
|
53
|
+
|
|
54
|
+
- `Installation With pip <#installation-with-pip>`__
|
|
55
|
+
- `Installation With pipx <#installation-with-pipx>`__
|
|
56
|
+
|
|
57
|
+
- `Usage <#usage>`__
|
|
58
|
+
|
|
59
|
+
- `Locally (system command-line) <#locally-system-command-line>`__
|
|
60
|
+
- `Remotely (as a service –
|
|
61
|
+
Performer+Invoker) <#remotely-as-a-service----performerinvoker>`__
|
|
62
|
+
|
|
63
|
+
- `Performer <#performer>`__
|
|
64
|
+
- `Invoker <#invoker>`__
|
|
65
|
+
|
|
66
|
+
- `Use by Python script <#use-by-python-script>`__
|
|
67
|
+
|
|
68
|
+
- `bisos.graphviz Source Code is in writen in COMEEGA
|
|
69
|
+
(Collaborative Org-Mode Enhanced Emacs Generalized Authorship)
|
|
70
|
+
– <#bisosgraphviz-source-code-is-in-writen-in-comeega-collaborative-org-mode-enhanced-emacs-generalized-authorship----httpsgithubcombx-bleecomeega>`__\ https://github.com/bx-blee/comeega\ `. <#bisosgraphviz-source-code-is-in-writen-in-comeega-collaborative-org-mode-enhanced-emacs-generalized-authorship----httpsgithubcombx-bleecomeega>`__
|
|
71
|
+
- `The primary API for bisos.graphviz is
|
|
72
|
+
./bisos/graphviz/graphviz-csu.py. It is self documented in
|
|
73
|
+
COMEEGA. <#the-primary-api-for-bisosgraphviz-is-bisosgraphvizgraphviz-csupy-it-is-self-documented-in-comeega>`__
|
|
74
|
+
|
|
75
|
+
- `Documentation and Blee-Panels <#documentation-and-blee-panels>`__
|
|
76
|
+
|
|
77
|
+
- `bisos.graphviz Blee-Panels <#bisosgraphviz-blee-panels>`__
|
|
78
|
+
|
|
79
|
+
- `Support <#support>`__
|
|
80
|
+
|
|
81
|
+
Part of BISOS — ByStar Internet Services Operating System
|
|
82
|
+
=========================================================
|
|
83
|
+
|
|
84
|
+
| Layered on top of Debian, **BISOS**: (By\* Internet Services Operating
|
|
85
|
+
System) is a unified and universal framework for developing both
|
|
86
|
+
internet services and software-service continuums that use internet
|
|
87
|
+
services. See `Bootstrapping ByStar, BISOS and
|
|
88
|
+
Blee <https://github.com/bxGenesis/start>`__ for information about
|
|
89
|
+
getting started with BISOS.
|
|
90
|
+
| **BISOS** is a foundation for **The Libre-Halaal ByStar Digital
|
|
91
|
+
Ecosystem** which is described as a cure for losses of autonomy and
|
|
92
|
+
privacy in a book titled: `Nature of
|
|
93
|
+
Polyexistentials <https://github.com/bxplpc/120033>`__
|
|
94
|
+
|
|
95
|
+
*bisos.graphviz* is part of BISOS.
|
|
96
|
+
|
|
97
|
+
bisos.graphviz is a Command Services (PyCS) Facility
|
|
98
|
+
====================================================
|
|
99
|
+
|
|
100
|
+
bisos.graphviz can be used locally on command-line or remotely as a
|
|
101
|
+
service. bisos.graphviz is a PyCS multi-unit command-service. PyCS is a
|
|
102
|
+
framework that converges developement of CLI and Services. PyCS is an
|
|
103
|
+
alternative to FastAPI, Typer and Click.
|
|
104
|
+
|
|
105
|
+
bisos.graphviz uses the PyCS Framework to:
|
|
106
|
+
|
|
107
|
+
#. Provide access to graphviz facilities through native python.
|
|
108
|
+
#. Provide local access to graphviz facilities on CLI.
|
|
109
|
+
#. Provide remote access to graphviz facilities through remote
|
|
110
|
+
invocation of python Expection Complete Operations using
|
|
111
|
+
`rpyc <https://github.com/tomerfiliba-org/rpyc>`__.
|
|
112
|
+
#. Provide remote access to graphviz facilities on CLI.
|
|
113
|
+
|
|
114
|
+
What is unique in the PyCS-Framework is that these four models are all a
|
|
115
|
+
single abstraction.
|
|
116
|
+
|
|
117
|
+
The core of PyCS-Framework is the *bisos.b* package (the
|
|
118
|
+
PyCS-Foundation). See https://github.com/bisos-pip/b for an overview.
|
|
119
|
+
|
|
120
|
+
Uses of bisos.graphviz
|
|
121
|
+
======================
|
|
122
|
+
|
|
123
|
+
Within BISOS, bisos.graphviz is used as a common facility.
|
|
124
|
+
|
|
125
|
+
bisos.graphviz as a Standalone Piece of BISOS
|
|
126
|
+
=============================================
|
|
127
|
+
|
|
128
|
+
bisos.graphviz is a standalone piece of BISOS. It can be used as a
|
|
129
|
+
self-contained Python package separate from BISOS. Follow the
|
|
130
|
+
installtion and usage instructions below for your own use.
|
|
131
|
+
|
|
132
|
+
Installation
|
|
133
|
+
============
|
|
134
|
+
|
|
135
|
+
The sources for the bisos.graphviz pip package is maintained at:
|
|
136
|
+
https://github.com/bisos-pip/graphviz.
|
|
137
|
+
|
|
138
|
+
The bisos.graphviz pip package is available at PYPI as
|
|
139
|
+
https://pypi.org/project/bisos.graphviz
|
|
140
|
+
|
|
141
|
+
You can install bisos.graphviz with pip or pipx.
|
|
142
|
+
|
|
143
|
+
Installation With pip
|
|
144
|
+
---------------------
|
|
145
|
+
|
|
146
|
+
If you need access to bisos.graphviz as a python module, you can install
|
|
147
|
+
it with pip:
|
|
148
|
+
|
|
149
|
+
.. code:: bash
|
|
150
|
+
|
|
151
|
+
pip install bisos.graphviz
|
|
152
|
+
|
|
153
|
+
Installation With pipx
|
|
154
|
+
----------------------
|
|
155
|
+
|
|
156
|
+
If you only need access to bisos.graphviz as a command on command-line,
|
|
157
|
+
you can install it with pipx:
|
|
158
|
+
|
|
159
|
+
.. code:: bash
|
|
160
|
+
|
|
161
|
+
pipx install bisos.graphviz
|
|
162
|
+
|
|
163
|
+
The following commands are made available:
|
|
164
|
+
|
|
165
|
+
- graphviz.cs
|
|
166
|
+
- roInv-graphviz.cs
|
|
167
|
+
- roPerf-graphviz.cs
|
|
168
|
+
|
|
169
|
+
These are all one file with 3 names. *roInv-graphviz.cs* and
|
|
170
|
+
*roPerf-graphviz.cs* are sym-links to *graphviz.cs*
|
|
171
|
+
|
|
172
|
+
Usage
|
|
173
|
+
=====
|
|
174
|
+
|
|
175
|
+
Locally (system command-line)
|
|
176
|
+
-----------------------------
|
|
177
|
+
|
|
178
|
+
``graphviz.cs`` can be invoked directly as
|
|
179
|
+
|
|
180
|
+
.. code:: bash
|
|
181
|
+
|
|
182
|
+
bin/graphviz.cs
|
|
183
|
+
|
|
184
|
+
Remotely (as a service – Performer+Invoker)
|
|
185
|
+
-------------------------------------------
|
|
186
|
+
|
|
187
|
+
You can also run
|
|
188
|
+
|
|
189
|
+
Performer
|
|
190
|
+
~~~~~~~~~
|
|
191
|
+
|
|
192
|
+
Run performer as:
|
|
193
|
+
|
|
194
|
+
.. code:: bash
|
|
195
|
+
|
|
196
|
+
bin/roPerf-graphviz.cs
|
|
197
|
+
|
|
198
|
+
Invoker
|
|
199
|
+
~~~~~~~
|
|
200
|
+
|
|
201
|
+
Run invoker as:
|
|
202
|
+
|
|
203
|
+
.. code:: bash
|
|
204
|
+
|
|
205
|
+
bin/roInv-graphviz.cs
|
|
206
|
+
|
|
207
|
+
Use by Python script
|
|
208
|
+
--------------------
|
|
209
|
+
|
|
210
|
+
bisos.graphviz Source Code is in writen in COMEEGA (Collaborative Org-Mode Enhanced Emacs Generalized Authorship) – https://github.com/bx-blee/comeega.
|
|
211
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
212
|
+
|
|
213
|
+
The primary API for bisos.graphviz is ./bisos/graphviz/graphviz-csu.py. It is self documented in COMEEGA.
|
|
214
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
215
|
+
|
|
216
|
+
Documentation and Blee-Panels
|
|
217
|
+
=============================
|
|
218
|
+
|
|
219
|
+
bisos.graphviz is part of ByStar Digital Ecosystem
|
|
220
|
+
http://www.by-star.net.
|
|
221
|
+
|
|
222
|
+
This module's primary documentation is in the form of Blee-Panels.
|
|
223
|
+
Additional information is also available in:
|
|
224
|
+
http://www.by-star.net/PLPC/180047
|
|
225
|
+
|
|
226
|
+
bisos.graphviz Blee-Panels
|
|
227
|
+
--------------------------
|
|
228
|
+
|
|
229
|
+
bisos.graphviz Blee-Panles are in ./panels directory. From within Blee
|
|
230
|
+
and BISOS these panles are accessible under the Blee "Panels" menu.
|
|
231
|
+
|
|
232
|
+
Support
|
|
233
|
+
=======
|
|
234
|
+
|
|
235
|
+
| For support, criticism, comments and questions; please contact the
|
|
236
|
+
author/maintainer
|
|
237
|
+
| `Mohsen Banan <http://mohsen.1.banan.byname.net>`__ at:
|
|
238
|
+
http://mohsen.1.banan.byname.net/contact
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__('pkg_resources').declare_namespace(__name__)
|
|
File without changes
|