bisos.pypiserver 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.
Files changed (28) hide show
  1. bisos_pypiserver-0.1/PKG-INFO +528 -0
  2. bisos_pypiserver-0.1/README.rst +488 -0
  3. bisos_pypiserver-0.1/_description.org +316 -0
  4. bisos_pypiserver-0.1/bin/cbmProc-pypiserver.spcs +29 -0
  5. bisos_pypiserver-0.1/bin/pypi-browser-sysd.pcs +54 -0
  6. bisos_pypiserver-0.1/bin/pypiserver-assemble.cs +335 -0
  7. bisos_pypiserver-0.1/bin/pypiserver-cbs.pcs +39 -0
  8. bisos_pypiserver-0.1/bin/pypiserver-here-dns.pcs +35 -0
  9. bisos_pypiserver-0.1/bin/pypiserver-sbom.pcs +200 -0
  10. bisos_pypiserver-0.1/bin/pypiserver-sysd.pcs +50 -0
  11. bisos_pypiserver-0.1/bin/pypiserver-wvd.pcs +88 -0
  12. bisos_pypiserver-0.1/bin/pypiserverAdmin.cs +538 -0
  13. bisos_pypiserver-0.1/bin/pypiserverCbs-sbom.pcs +96 -0
  14. bisos_pypiserver-0.1/bin/pypiserverUsage-sbom.pcs +115 -0
  15. bisos_pypiserver-0.1/bin/quickPypiserver.cs +271 -0
  16. bisos_pypiserver-0.1/bisos/__init__.py +1 -0
  17. bisos_pypiserver-0.1/bisos/pypiserver/__init__.py +0 -0
  18. bisos_pypiserver-0.1/bisos/pypiserver/pypiserverInfo.py +406 -0
  19. bisos_pypiserver-0.1/bisos.pypiserver.egg-info/PKG-INFO +528 -0
  20. bisos_pypiserver-0.1/bisos.pypiserver.egg-info/SOURCES.txt +26 -0
  21. bisos_pypiserver-0.1/bisos.pypiserver.egg-info/dependency_links.txt +1 -0
  22. bisos_pypiserver-0.1/bisos.pypiserver.egg-info/not-zip-safe +1 -0
  23. bisos_pypiserver-0.1/bisos.pypiserver.egg-info/requires.txt +14 -0
  24. bisos_pypiserver-0.1/bisos.pypiserver.egg-info/top_level.txt +1 -0
  25. bisos_pypiserver-0.1/lh-agpl3-LICENSE.txt +679 -0
  26. bisos_pypiserver-0.1/pyproject.toml +8 -0
  27. bisos_pypiserver-0.1/setup.cfg +4 -0
  28. bisos_pypiserver-0.1/setup.py +130 -0
@@ -0,0 +1,528 @@
1
+ Metadata-Version: 2.2
2
+ Name: bisos.pypiserver
3
+ Version: 0.1
4
+ Summary: bisos.pypiserver: A Private Python Package Index (pypiserver + pypi-browser) via BISOS Capability Bundles
5
+ Author: Mohsen Banan
6
+ Author-email: libre@mohsen.1.banan.byname.net
7
+ Maintainer: Mohsen Banan
8
+ Maintainer-email: libre@mohsen.1.banan.byname.net
9
+ License: AGPL
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: GNU Affero General Public License v3
13
+ Classifier: Operating System :: POSIX
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Topic :: Software Development :: Libraries
16
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
17
+ Requires-Dist: bisos
18
+ Requires-Dist: bisos.b
19
+ Requires-Dist: bisos.banna
20
+ Requires-Dist: bisos.basics
21
+ Requires-Dist: bisos.capability
22
+ Requires-Dist: bisos.common
23
+ Requires-Dist: bisos.csPlayer
24
+ Requires-Dist: bisos.csSeed
25
+ Requires-Dist: bisos.debian
26
+ Requires-Dist: bisos.dnsCap
27
+ Requires-Dist: bisos.sbom
28
+ Requires-Dist: bisos.webCap
29
+ Requires-Dist: setuptools==75.8.0
30
+ Requires-Dist: wheel==0.38.4
31
+ Dynamic: author
32
+ Dynamic: author-email
33
+ Dynamic: classifier
34
+ Dynamic: description
35
+ Dynamic: license
36
+ Dynamic: maintainer
37
+ Dynamic: maintainer-email
38
+ Dynamic: requires-dist
39
+ Dynamic: summary
40
+
41
+ =========================================================================================================
42
+ bisos.pypiserver: A Private Python Package Index (pypiserver + pypi-browser) via BISOS Capability Bundles
43
+ =========================================================================================================
44
+
45
+ .. contents::
46
+ :depth: 3
47
+ ..
48
+
49
+ Overview
50
+ ========
51
+
52
+ *bisos.pypiserver* is a BISOS package for running a private Python
53
+ package index on a BISOS host:
54
+ `pypiserver <https://github.com/pypiserver/pypiserver>`__, the index pip
55
+ installs from and twine uploads to, and
56
+ `pypi-browser <https://github.com/chriskuehl/pypi-browser>`__, a web UI
57
+ for browsing the packages in it (and the files inside them). It is a
58
+ BISOS Capability Bundle (CBS/CBM) of ``systemd``-planted Command
59
+ Services.
60
+
61
+ A planted pointer leaf (``cbmProc.spcs``, at
62
+ ``sys/cbm/collective/hereWeb/pypiserver/``) subprocess-invokes a
63
+ Capability Bundle Specification (``pypiserver-cbs.pcs``). The CBS
64
+ declares package installation (sboms), the two ``systemd`` units
65
+ (``pypiserver`` and ``pypi-browser``), and the assembly step that makes
66
+ both reachable on one name, ``http://pypiserver.here``: pypi-browser at
67
+ ``/``, the index at ``/simple/``.
68
+
69
+ Debian packages neither. Both are Python programs, installed at exact
70
+ pins: pypiserver into BISOS's shared venv of adopted software components
71
+ (``/bisos/venv/asc``), and pypi-browser into an isolated venv of its
72
+ own, because it does not work with the Starlette version already in
73
+ ``asc`` (see below).
74
+
75
+ Package Documentation At Github
76
+ ===============================
77
+
78
+ The information below is a subset of the full of documentation for this
79
+ bisos-pip package. More complete documentation is available at:
80
+ https://github.com/bisos-pip/pypiserver-cs
81
+
82
+ .. _table-of-contents:
83
+
84
+ Table of Contents TOC
85
+ =====================
86
+
87
+ - `Overview <#overview>`__
88
+ - `Package Documentation At
89
+ Github <#package-documentation-at-github>`__
90
+ - `The BISOS pypiserver Model <#the-bisos-pypiserver-model>`__
91
+ - `WSGI, ASGI and Their Servers: Why There Are Two Processes Behind
92
+ nginx <#wsgi-asgi-and-their-servers-why-there-are-two-processes-behind-nginx>`__
93
+ - `One Name, Two Programs: the
94
+ Routing <#one-name-two-programs-the-routing>`__
95
+ - `Where the Python Goes: asc and
96
+ isolated <#where-the-python-goes-asc-and-isolated>`__
97
+ - `The Login: rawBisos Convenience, Insecure by
98
+ Design <#the-login-rawbisos-convenience-insecure-by-design>`__
99
+ - `What Gets Installed, and Where <#what-gets-installed-and-where>`__
100
+ - `The 3 sboms: Server, Usage, and the
101
+ CBS's <#the-3-sboms-server-usage-and-the-cbss>`__
102
+ - `The 2 systemd Units <#the-2-systemd-units>`__
103
+ - `Listeners and Ports <#listeners-and-ports>`__
104
+ - `Installation <#installation>`__
105
+
106
+ - `Installation With pip <#installation-with-pip>`__
107
+ - `Installation With pipx <#installation-with-pipx>`__
108
+
109
+ - `Usage <#usage>`__
110
+
111
+ - `Materialization <#materialization>`__
112
+ - `Using the Index: pip and
113
+ twine <#using-the-index-pip-and-twine>`__
114
+ - `Day-to-Day Admin:
115
+ ``pypiserverAdmin.cs`` <#day-to-day-admin-pypiserveradmincs>`__
116
+ - `Direct Command Cheat Sheet:
117
+ ``quickPypiserver.cs`` <#direct-command-cheat-sheet-quickpypiservercs>`__
118
+
119
+ - `Key Files <#key-files>`__
120
+ - `Part of BISOS — ByStar Internet Services Operating
121
+ System <#part-of-bisos--bystar-internet-services-operating-system>`__
122
+ - `Documentation and Blee-Panels <#documentation-and-blee-panels>`__
123
+ - `Support <#support>`__
124
+ - `Planned Improvements <#planned-improvements>`__
125
+
126
+ - `The "secure it" layer: a real upload password, HTTPS (which also
127
+ removes the need for –trusted-host), listening beyond
128
+ loopback <#the-secure-it-layer-a-real-upload-password-https-which-also-removes-the-need-for---trusted-host-listening-beyond-loopback>`__
129
+ - `Move pypi-browser back into ``asc`` once a release works with
130
+ Starlette 1.x (upstream PR
131
+ #15) <#move-pypi-browser-back-into-asc-once-a-release-works-with-starlette-1x-upstream-pr-15>`__
132
+ - `Architectures other than amd64 for the isolated venv's hashed
133
+ set <#architectures-other-than-amd64-for-the-isolated-venvs-hashed-set>`__
134
+ - `Plant the CBM leaf in bro\ rawBisos
135
+ (``sys/cbm/collective/hereWeb/pypiserver/``) <#plant-the-cbm-leaf-in-bro_rawbisos-syscbmcollectiveherewebpypiserver>`__
136
+
137
+ The BISOS pypiserver Model
138
+ ==========================
139
+
140
+ ``bisos.pypiserver`` (``/bisos/git/bxRepos/bisos-pip/pypiserver``)
141
+ packages pypiserver 2.4.2 and pypi-browser-webapp 0.0.12 as a hereWeb
142
+ CBS/CBM, on the pattern of ``bisos.kafka``, ``bisos.prometheus`` and
143
+ ``bisos.grafana`` (the ``cbm-package-authorship`` skill): one module of
144
+ facts (``pypiserverInfo.py``), exact pins, config written only when
145
+ absent, a read-only ``driftCheck``, a service sbom and a usage sbom
146
+ joined only by the CBS. It is the first of these packages whose programs
147
+ are Python, so it is also where the pattern's Python rules were set: the
148
+ shared ``asc`` venv, its exceptions under ``/bisos/venv/isolated/``, and
149
+ how pins are applied.
150
+
151
+ It is for the rawBisos layer: convenient and insecure by design.
152
+ Securing it is a separate layer.
153
+
154
+ **As of 2026-10-16 it is materialized on one host** (Debian 13): both
155
+ units active, a package uploaded with twine, installed back with pip and
156
+ browsed in pypi-browser through ``http://pypiserver.here``,
157
+ ``driftCheck`` agrees.
158
+
159
+ WSGI, ASGI and Their Servers: Why There Are Two Processes Behind nginx
160
+ ======================================================================
161
+
162
+ A Python web application does not open a network socket itself. It is a
163
+ function that a separate *server* process calls for each request; the
164
+ contract between the two is a standard interface:
165
+
166
+ - **WSGI** — the older, synchronous one (a request per thread).
167
+ pypiserver is a WSGI app (bottle). Its server here is **waitress**, a
168
+ production WSGI server.
169
+ - **ASGI** — the asynchronous successor. pypi-browser is an ASGI app
170
+ (Starlette). Its server here is **uvicorn**, the common ASGI server.
171
+
172
+ nginx cannot run Python; it is the reverse proxy in front of both, as it
173
+ is for every ``.here`` service:
174
+
175
+ ::
176
+
177
+ browser / pip / twine --> nginx :80 (pypiserver.here) --+--> waitress 127.0.0.1:24013 pypiserver (/simple, /packages, POST /)
178
+ +--> uvicorn 127.0.0.1:24014 pypi-browser (everything else)
179
+
180
+ One Name, Two Programs: the Routing
181
+ ===================================
182
+
183
+ pip reads ``/simple/`` and ``/packages/`` (pypiserver). twine uploads by
184
+ ``POST /`` (pypiserver). Everything else, including ``GET /``, is
185
+ pypi-browser. Because ``/`` is both the upload endpoint and the
186
+ browser's home page, the vhost routes it by request method, with an
187
+ nginx ``map`` rather than nginx's fragile ``if``. The vhost also raises
188
+ ``client_max_body_size`` to 200m: nginx's default of 1m would refuse
189
+ most uploads.
190
+
191
+ Where the Python Goes: asc and isolated
192
+ =======================================
193
+
194
+ - **``/bisos/venv/asc``** — the shared venv of BISOS's adopted software
195
+ components, where Python programs go by default (bisos.airflow's are
196
+ there). pypiserver, waitress and passlib are installed there at exact
197
+ pins. Because the venv is shared, the install first does a dry run
198
+ and **refuses** if it would change the version of any package these
199
+ pins do not own (e.g. Airflow's Starlette). Hashes cannot be required
200
+ in a shared venv.
201
+ - **``/bisos/venv/isolated/<program>/``** — the exceptions: a venv of
202
+ its own for a program that has been shown not to work in ``asc``,
203
+ named by the program. Each records why, and moves back to ``asc``
204
+ when the reason is gone. Being private, its whole resolved set is
205
+ pinned with hashes (``pip --require-hashes``).
206
+ - **pypi-browser is such an exception** (``isolated/pypiBrowser``):
207
+ pypi-browser-webapp 0.0.12, its latest release (2024-06), uses
208
+ Starlette's pre-1.0 ``TemplateResponse`` and fails on Starlette 1.x —
209
+ and ``asc`` has Starlette 1.6.0 (Airflow's). pypi-browser does not
210
+ constrain Starlette, so pip installs it without complaint and every
211
+ page is a 500. Its venv pins Starlette 0.52.1. The upstream fix is
212
+ chriskuehl/pypi-browser PR #15, unmerged.
213
+ - **twine** (the usage side) is a CLI, so it is installed through pipx
214
+ (``/bisos/pipx``), itself one venv per CLI.
215
+
216
+ The Login: rawBisos Convenience, Insecure by Design
217
+ ===================================================
218
+
219
+ Downloading and listing need no login. Uploading needs **admin /
220
+ pypiserver**: the rawBisos convention, user ``admin``, password the
221
+ service's name. It is in ``/etc/pypiserver/htpasswd`` (written only when
222
+ absent, hashed with apr\ :sub:`md5crypt`). pypi-browser has no login. A
223
+ "secure it" layer, on top, is where a real password, HTTPS and listening
224
+ beyond loopback belong.
225
+
226
+ What Gets Installed, and Where
227
+ ==============================
228
+
229
+ Every fact below lives in one place,
230
+ ``py3/bisos/pypiserver/pypiserverInfo.py``.
231
+
232
+ +----------------------+----------------------+---------------------+
233
+ | What | Where | Owner |
234
+ +======================+======================+=====================+
235
+ | The ``pypiserver`` | uid/gid 506, from | — |
236
+ | account | bisos.banna | |
237
+ | | ``sysAccts`` | |
238
+ +----------------------+----------------------+---------------------+
239
+ | pypiserver 2.4.2, | ``/bisos/venv/asc`` | the venv's owner |
240
+ | waitress 3.0.2, | (shared) | |
241
+ | passlib 1.7.4 | | |
242
+ +----------------------+----------------------+---------------------+
243
+ | pypi-browser-webapp | ``/bisos/venv/is | the venv's owner |
244
+ | 0.0.12 + 21 deps | olated/pypiBrowser`` | |
245
+ | (Starlette 0.52.1, | | |
246
+ | uvicorn 0.54.0) | | |
247
+ +----------------------+----------------------+---------------------+
248
+ | twine 7.0.0 (usage | ``/bisos | pipx |
249
+ | side) | /pipx/venvs/twine``, | |
250
+ | | ``/bi | |
251
+ | | sos/pipx/bin/twine`` | |
252
+ +----------------------+----------------------+---------------------+
253
+ | Upload login | ``/etc/p | root:pypiserver 640 |
254
+ | | ypiserver/htpasswd`` | |
255
+ +----------------------+----------------------+---------------------+
256
+ | Index flags | ``/etc/ | root:pypiserver 640 |
257
+ | | default/pypiserver`` | |
258
+ | | (``ARGS=``) | |
259
+ +----------------------+----------------------+---------------------+
260
+ | Browser settings | ``/etc/de | root:pypiserver 640 |
261
+ | | fault/pypi-browser`` | |
262
+ | | (``PYPI_BROWSER_*``) | |
263
+ +----------------------+----------------------+---------------------+
264
+ | The index (uploaded | ``/var/lib/p | pypiserver |
265
+ | distributions) | ypiserver/packages`` | |
266
+ +----------------------+----------------------+---------------------+
267
+ | pypi-browser's cache | ``/var/lib/pypise | pypiserver |
268
+ | | rver/browser-cache`` | |
269
+ +----------------------+----------------------+---------------------+
270
+
271
+ No fallback: a package that is not in this index is not redirected to
272
+ pypi.org (``--disable-fallback``); use ``--extra-index-url`` to combine
273
+ it with PyPI. ``pypiserverAdmin.cs -i driftCheck`` reports the config
274
+ files, the units, and every pinned package of both venvs against its
275
+ pin. The isolated venv's hashed set covers amd64 with Python 3.13 (two
276
+ of its wheels are binary); the sbom refuses another architecture.
277
+
278
+ The 3 sboms: Server, Usage, and the CBS's
279
+ =========================================
280
+
281
+ +-------------------------+-------------------------+---------------+
282
+ | sbom | Installs | Pulls in |
283
+ +=========================+=========================+===============+
284
+ | ``pypiserver-sbom.pcs`` | the account, pypiserver | nothing |
285
+ | | in ``asc``, | |
286
+ | | pypi-browser isolated, | |
287
+ | | config | |
288
+ +-------------------------+-------------------------+---------------+
289
+ | ``pyp | twine, through pipx | nothing |
290
+ | iserverUsage-sbom.pcs`` | | |
291
+ +-------------------------+-------------------------+---------------+
292
+ | ``p | nothing of its own | the two above |
293
+ | ypiserverCbs-sbom.pcs`` | | |
294
+ +-------------------------+-------------------------+---------------+
295
+
296
+ The Python packages are installed by func-bearing pseudo-packages, not
297
+ through bisos.sbom's ``pipPkgsList`` / ``pipxPkgsList``: those ignore
298
+ versions and skip anything already installed, so a pin would never be
299
+ applied or bumped (recorded in AI-Outputs.org).
300
+
301
+ The 2 systemd Units
302
+ ===================
303
+
304
+ +----------------------+----------------------+----------------------+
305
+ | Unit | Runs | Ordering |
306
+ +======================+======================+======================+
307
+ | ``p | ``asc/bin | ``Af |
308
+ | ypiserver-sysd.pcs`` | /pypi-server $ARGS`` | ter=network.target`` |
309
+ | | (waitress, chosen by | |
310
+ | | ``auto``) | |
311
+ +----------------------+----------------------+----------------------+
312
+ | ``pyp | ` | ``After=p |
313
+ | i-browser-sysd.pcs`` | `isolated/pypiBrowse | ypiserver.service``, |
314
+ | | r/bin/uvicorn ... py | ``Wants= |
315
+ | | pi_browser.app:app`` | pypiserver.service`` |
316
+ +----------------------+----------------------+----------------------+
317
+
318
+ Both run as ``User=pypiserver``. Logs go to journald.
319
+
320
+ Listeners and Ports
321
+ ===================
322
+
323
+ Ports are assigned in ``bisos.banna`` (``tcpPorts.py``), never
324
+ hardcoded. Both bind loopback only.
325
+
326
+ ====================== ========================== ================
327
+ Listener Address banna name
328
+ ====================== ========================== ================
329
+ pypiserver (waitress) ``127.0.0.1:24013`` ``pypiserver``
330
+ pypi-browser (uvicorn) ``127.0.0.1:24014`` ``pypiBrowser``
331
+ Both, via nginx ``http://pypiserver.here`` — (127.0.22.116)
332
+ ====================== ========================== ================
333
+
334
+ Installation
335
+ ============
336
+
337
+ | The sources for the bisos.pypiserver pip package are maintained at:
338
+ | https://github.com/bisos-pip/pypiserver
339
+
340
+ | The bisos.pypiserver pip package is available at PYPI as
341
+ | https://pypi.org/project/bisos.pypiserver
342
+
343
+ You can install bisos.pypiserver with pip or pipx.
344
+
345
+ Installation With pip
346
+ ---------------------
347
+
348
+ If you need access to bisos.pypiserver as a python module, install it
349
+ with pip:
350
+
351
+ .. code:: bash
352
+
353
+ pip install bisos.pypiserver
354
+
355
+ Installation With pipx
356
+ ----------------------
357
+
358
+ If you only need access to bisos.pypiserver on the command line, install
359
+ it with pipx:
360
+
361
+ .. code:: bash
362
+
363
+ pipx install bisos.pypiserver
364
+
365
+ The following commands are made available:
366
+
367
+ - ``pypiserverAdmin.cs`` — day-to-day admin CS for this host's
368
+ ``pypiserver.here`` installation.
369
+ - ``quickPypiserver.cs`` — direct-command cheat sheet: pip, twine,
370
+ curl, the two units.
371
+ - ``pypiserver-assemble.cs`` — assembly step: ``pypiserver.here`` dns
372
+ entry and nginx vhost.
373
+ - ``cbmProc-pypiserver.spcs`` — planted CBM pointer that materializes
374
+ the CBS at this host.
375
+
376
+ The planted ``.pcs`` files (``pypiserver-cbs.pcs``, the three sboms, the
377
+ two ``-sysd.pcs``, ``pypiserver-here-dns.pcs``, ``pypiserver-wvd.pcs``)
378
+ are invoked directly from ``py3/bin/``.
379
+
380
+ Usage
381
+ =====
382
+
383
+ Materialization
384
+ ---------------
385
+
386
+ .. code:: bash
387
+
388
+ pypiserver-sbom.pcs -i sbom_fullUpdate # install the server only
389
+ pypiserverUsage-sbom.pcs -i sbom_fullUpdate # install the usage side only (twine)
390
+ pypiserver-cbs.pcs -i cbs_materialize # both sboms + units + assemble
391
+ cbmProc-pypiserver.spcs -i cbm_enable # at the planted CBM leaf, then:
392
+ cbmProc-pypiserver.spcs -i cbm_materialize
393
+
394
+ The ``asc`` venv must exist first
395
+ (``pyVenv-asc-sbom.pcs -i sbom_fullUpdate``); the sbom says so if it
396
+ does not.
397
+
398
+ Using the Index: pip and twine
399
+ ------------------------------
400
+
401
+ pip ignores an index on plain HTTP, other than localhost, unless it is
402
+ named with ``--trusted-host`` (``PIP_TRUSTED_HOST``): every ``.here`` is
403
+ HTTP.
404
+
405
+ .. code:: bash
406
+
407
+ pip install --extra-index-url http://pypiserver.here/simple/ --trusted-host pypiserver.here <package> # with PyPI
408
+ pip install --index-url http://pypiserver.here/simple/ --trusted-host pypiserver.here <package> # this index only
409
+ /bisos/pipx/bin/twine upload --repository-url http://pypiserver.here/ -u admin -p pypiserver dist/*
410
+
411
+ Browse the index at ``http://pypiserver.here/``; a package's page lists
412
+ its files, and opening one shows what is inside it.
413
+
414
+ Day-to-Day Admin: ``pypiserverAdmin.cs``
415
+ ----------------------------------------
416
+
417
+ .. code:: bash
418
+
419
+ pypiserverAdmin.cs -i hostInfo # fqdn, listeners, login, venvs, config/data paths
420
+ pypiserverAdmin.cs -i servicesInfo # links for operating the 2 systemd units
421
+ pypiserverAdmin.cs -i indexInfo # pip, twine and curl against the index
422
+ pypiserverAdmin.cs -i driftCheck # read-only: config, units and both venvs' pins vs pypiserverInfo
423
+ pypiserverAdmin.cs -i fullUpdate # the three info Cmnds together
424
+
425
+ Direct Command Cheat Sheet: ``quickPypiserver.cs``
426
+ --------------------------------------------------
427
+
428
+ .. code:: bash
429
+
430
+ quickPypiserver.cs
431
+
432
+ Key Files
433
+ =========
434
+
435
+ - ``py3/bisos/pypiserver/pypiserverInfo.py`` — the single source of
436
+ facts: the venvs and pins (the isolated venv's hashed set and why it
437
+ is isolated), paths, ports, the login, the generators of the two
438
+ EnvironmentFiles and the units' identity lines, the install scripts
439
+ (the ``asc`` guard, the isolated venv, twine, htpasswd), and the
440
+ drift helpers.
441
+ - ``py3/bin/pypiserver-cbs.pcs`` — CBS declaring the bundle (sbom + 2
442
+ sysd units + assemble).
443
+ - ``py3/bin/cbmProc-pypiserver.spcs`` — planted CBM pointer leaf that
444
+ materializes the CBS.
445
+ - ``py3/bin/pypiserver-sbom.pcs``, ``pypiserverUsage-sbom.pcs``,
446
+ ``pypiserverCbs-sbom.pcs`` — the server, usage and CBS sboms via
447
+ `bisos.sbom <https://github.com/bisos-pip/sbom>`__.
448
+ - ``py3/bin/pypiserver-sysd.pcs``, ``py3/bin/pypi-browser-sysd.pcs`` —
449
+ the two units.
450
+ - ``py3/bin/pypiserver-assemble.cs`` — assembly step (dns + vhost).
451
+ - ``py3/bin/pypiserver-here-dns.pcs`` — ``.here`` fake-domain DNS
452
+ registration for ``pypiserver.here``.
453
+ - ``py3/bin/pypiserver-wvd.pcs`` — nginx vhost for ``pypiserver.here``:
454
+ the routing between the two programs.
455
+ - ``py3/bin/pypiserverAdmin.cs``, ``py3/bin/quickPypiserver.cs`` —
456
+ admin CS and cheat sheet.
457
+ - ``py3/tests/verify.sh`` — smoke test of every command and of
458
+ ``pypiserverInfo``'s invariants.
459
+ - ``py3/setup.py``, ``py3/pypiProc.sh`` — PyPI packaging (setup.py is
460
+ dblock-driven; do not hand-edit).
461
+
462
+ Part of BISOS — ByStar Internet Services Operating System
463
+ =========================================================
464
+
465
+ Layered on top of Debian, **BISOS** (By\* Internet Services Operating
466
+ System) is a unified and universal framework for developing both
467
+ internet services and software-service continuums that use internet
468
+ services. See `Bootstrapping ByStar, BISOS and
469
+ Blee <https://github.com/bxGenesis/start>`__ for information about
470
+ getting started with BISOS.
471
+
472
+ **BISOS** is a foundation for **The Libre-Halaal ByStar Digital
473
+ Ecosystem** which is described as a cure for losses of autonomy and
474
+ privacy in a book titled: `Nature of
475
+ Polyexistentials <https://github.com/bxplpc/120033>`__
476
+
477
+ *bisos.pypiserver* is part of BISOS. It is a standalone package that can
478
+ be used independently of the full BISOS environment.
479
+
480
+ Documentation and Blee-Panels
481
+ =============================
482
+
483
+ bisos.pypiserver is part of the ByStar Digital Ecosystem
484
+ http://www.by-star.net.
485
+
486
+ This module's primary documentation is in the form of Blee-Panels.
487
+ Blee-Panels are in the ``./panels`` directory. From within Blee and
488
+ BISOS these panels are accessible under the Blee "Panels" menu.
489
+
490
+ See
491
+ `file:./panels/bisos.pypiserver/_nodeBase_/fullUsagePanel-en.org <./panels/bisos.pypiserver/_nodeBase_/fullUsagePanel-en.org>`__
492
+ for a starting point.
493
+
494
+ *bisos.pypiserver* is best developed with
495
+ `Blee <https://github.com/bx-blee>`__, the *By\* BISOS Libre-Halaal
496
+ Emacs Environment* — a layer on top of Emacs and BISOS which creates a
497
+ comprehensive integrated usage and development environment.
498
+
499
+ Support
500
+ =======
501
+
502
+ | For support, criticism, comments and questions; please contact the
503
+ author/maintainer
504
+ | `Mohsen Banan <http://mohsen.1.banan.byname.net>`__ at:
505
+ http://mohsen.1.banan.byname.net/contact
506
+
507
+ Planned Improvements
508
+ ====================
509
+
510
+ .. _the-secure-it-layer-a-real-upload-password-https-which-also-removes-the-need-for-trusted-host-listening-beyond-loopback:
511
+
512
+ TODO The "secure it" layer: a real upload password, HTTPS (which also removes the need for –trusted-host), listening beyond loopback
513
+ ------------------------------------------------------------------------------------------------------------------------------------
514
+
515
+ .. _move-pypi-browser-back-into-asc-once-a-release-works-with-starlette-1.x-upstream-pr-15:
516
+
517
+ TODO Move pypi-browser back into ``asc`` once a release works with Starlette 1.x (upstream PR #15)
518
+ --------------------------------------------------------------------------------------------------
519
+
520
+ .. _architectures-other-than-amd64-for-the-isolated-venvs-hashed-set:
521
+
522
+ TODO Architectures other than amd64 for the isolated venv's hashed set
523
+ ----------------------------------------------------------------------
524
+
525
+ .. _plant-the-cbm-leaf-in-brorawbisos-syscbmcollectiveherewebpypiserver:
526
+
527
+ TODO Plant the CBM leaf in bro\ :sub:`rawBisos` (``sys/cbm/collective/hereWeb/pypiserver/``)
528
+ --------------------------------------------------------------------------------------------