Skip to main content

bisos.banna: BANNA (BISOS Assigned Names and Numbers Authority)

Overview

bisos.banna is a python package for BISOS Assigned Names and Numbers Authority

Package Documentation At Github

The information below is a subset of the full of documentation for this bisos-pip package. More complete documentation is available at: https://github.com/bisos-pip/banna-cs

Realted Resources

bisos Capabilities Panel

file:./panels/biso s.banna/_nodeBase_/fullUsagePanel-en.org

Table of Contents TOC

What banna Assigns

banna is the single authority for the names and numbers BISOS services bind to. Each is assigned once and never recomputed, so a new entry never moves an existing one, and each registry rejects duplicates when it is imported.

Registry

Module

Assigns

TCP ports

tcpPorts.py

portNu per service; and, for those with a .internal name, its

hereIp (127.0.22.x) and hereName (defaults to portName)

Unix sockets

unixSockets.py

RPyC socket numbers

System accounts

sysAccts.py

uid=/=gid of every account a BISOS capability creates

TCP ports and .internal names

Code looks a port up rather than hardcoding it: tcpPorts.tcpPortsAssignedList.tcpPortsList['kafka'].portNu. A port with a hereIp gets a line in /etc/hosts, generated by bannaForEtcHosts and installed by bisos.dnsCap. The IP is stored with the port (since 2026-10-09; before, it was derived from sorted position, so adding a port could renumber others). hereName lets a port publish another name: kafka.internal is Kafbat UI’s port (kafbatUi, 24009), not the broker’s. hereIpOf(name) returns the IP without needing /etc/hosts to be current.

System accounts (uid/gid)

useradd -r picks numbers per host, so the same account differs between platforms, and files moved between them (backups, rsync, cloned VMs, NFS) or logs disagree. sysAccts.py assigns them from 500 upward (inside Debian’s dynamic system range, without changing /etc/login.defs: adduser --system counts up from 100 and useradd -r down from 999): airflow 501, kafka 503, prometheus 504, grafana 505, pypiserver 506, devpi 507, geneweb 508, the qmail block 510–519, the gitlab block 520–529. useraddScript(acctName) is the bash an sbom runs: it creates the account with its numbers, warns if an existing account differs, and refuses if a number is already taken.

Commands

bannaInfo.cs -i bannaForEtcHosts       # the /etc/hosts block: hereIp  hereName.internal  # port=
bannaInfo.cs -i bannaForEtcPasswd      # /etc/passwd lines of every registered account
bannaInfo.cs -i bannaForEtcGroup       # /etc/group lines of their primary groups
bannaInfo.cs -i bannaSysAcctsVerify    # read-only: this host's accounts against the registry

Installation

The sources for the bisos.banna pip package is maintained at: https://github.com/bisos-pip/banna.

The bisos.banna pip package is available at PYPI as https://pypi.org/project/bisos.banna

You can install bisos.banna with pip or pipx.

Installation With pip

If you need access to bisos.banna as a python module, you can install it with pip:

pip install bisos.banna

Installation With pipx

If you only need access to bisos.banna as a command on command-line, you can install it with pipx:

pipx install bisos.banna

The following commands are made available:

  • seedBanna.cs

  • exmpl-banna.cs

Part of BISOS and ByStar — ByStar Internet Services Operating System

Layered on top of Debian, BISOS: (By* Internet Services Operating System) is a unified and universal framework for developing both internet services and software-service continuums that use internet services. See Bootstrapping ByStar, BISOS and Blee for information about getting started with BISOS.
BISOS is a foundation for The Libre-Halaal ByStar Digital Ecosystem which is described as a cure for losses of autonomy and privacy in a book titled: Nature of Polyexistentials

bisos.banna is part of BISOS.

bisos.banna as a Standalone Piece of BISOS

bisos.banna is a standalone piece of BISOS. It can be used as a self-contained Python package separate from BISOS. Follow the installation and usage instructions below for your own use.

Documentation and Blee-Panels

bisos.banna is part of ByStar Digital Ecosystem http://www.by-star.net.

This module’s primary documentation is in the form of Blee-Panels. Additional information is also available in: http://www.by-star.net/PLPC/180047

bisos.banna Blee-Panels

bisos.banna Blee-Panels are in ./panels directory. From within Blee and BISOS these panels are accessible under the Blee “Panels” menu.

Support

For support, criticism, comments and questions; please contact the author/maintainer

Metadata

Release files for bisos.banna 0.49

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bisos.banna 0.49
File Size Uploaded Provenance Actions
bisos_banna-0.49.tar.gz 37.6 kB Without provenance Details for bisos_banna-0.49.tar.gz

Release files / bisos_banna-0.49.tar.gz

Download URL bisos_banna-0.49.tar.gz
Size 37.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ec8c42f448bda91382db8035727e2567b8df445fdc78e2c2777aa215f4f67022
BLAKE2b-256 checksum
How to use checksums
39ac2fe0fa5c4589d43870a6ae3be722a038673c71818f9c1f3caff982d07825
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.2

Security for bisos.banna 0.49

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page