bisos.examples: CS libraies and scripts which provide templates and which illustrate, examine and test BISOS features.
Project description
Overview
bisos.examples is a python package that uses the PyCS-Framework for NOTYET. It is a BISOS-Capability and a Standalone-BISOS-Package.
bisos.examples is based on PyCS-Foundation and can be used both as a Command and as a Service (invoke/perform model of remote operations) using RPYC for central management of multiple systems.
The following suffixes and prefixes are used to indicate purpose.
Code/text that illustrates a particular usage
A Template to be used as a beginning point for new code
Script that insert ``Begin’’ for new code
Table of Contents TOC
Part of BISOS — ByStar Internet Services Operating System
bisos.examples is part of BISOS.
bisos.examples is a Command Services (PyCS) Facility
bisos.examples can be used locally on command-line or remotely as a service. bisos.examples is a PyCS multi-unit command-service. PyCS is a framework that converges developement of CLI and Services. PyCS is an alternative to FastAPI, Typer and Click.
bisos.examples uses the PyCS Framework to:
Provide access to examples facilities through native python.
Provide local access to examples facilities on CLI.
Provide remote access to examples facilities through remote invocation of python Expection Complete Operations using rpyc.
Provide remote access to examples facilities on CLI.
What is unique in the PyCS-Framework is that these four models are all a single abstraction.
The core of PyCS-Framework is the bisos.b package (the PyCS-Foundation). See https://github.com/bisos-pip/b for an overview.
Uses of bisos.examples
Within BISOS, bisos.examples is used as a common facility.
bisos.examples as a Standalone Piece of BISOS
bisos.examples is a standalone piece of BISOS. It can be used as a self-contained Python package separate from BISOS. Follow the installtion and usage instructions below for your own use.
Installation
The sources for the bisos.examples pip package is maintained at: https://github.com/bisos-pip/examples.
The bisos.examples pip package is available at PYPI as https://pypi.org/project/bisos.examples
You can install bisos.examples with pip or pipx.
Installation With pip
If you need access to bisos.examples as a python module, you can install it with pip:
pip install bisos.examples
Installation With pipx
If you only need access to bisos.examples as a command on command-line, you can install it with pipx:
pipx install bisos.examples
The following commands are made available:
examples.cs
roInv-examples.cs
roPerf-examples.cs
These are all one file with 3 names. roInv-examples.cs and roPerf-examples.cs are sym-links to examples.cs
Usage
Locally (system command-line)
examples.cs can be invoked directly as
bin/examples.cs
Remotely (as a service – Performer+Invoker)
You can also run
Performer
Run performer as:
bin/roPerf-examples.cs
Invoker
Run invoker as:
bin/roInv-examples.cs
Use by Python script
The primary API for bisos.examples is ./bisos/examples/examples-csu.py. It is self documented in COMEEGA.
Documentation and Blee-Panels
bisos.examples 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.examples Blee-Panels
bisos.examples Blee-Panles are in ./panels directory. From within Blee and BISOS these panles are accessible under the Blee “Panels” menu.
Support
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file bisos_examples-0.74.tar.gz.
File metadata
- Download URL: bisos_examples-0.74.tar.gz
- Upload date:
- Size: 38.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ec08ddcd0a78504410a6ec6c55fd3417b69252db4a98089a9d2404001ca9372
|
|
| MD5 |
ee2231258b32755bd412cf4ff97c7f81
|
|
| BLAKE2b-256 |
204fef3b82281670ba20043b1b11da5d5e4ceec71626b1f07eea3dea08e61c41
|