The Abstraction Library for The Sirio Network's numerous projects.
Project description
The pillar of The Sirio Network
TSN Abstracter (also called TSNA) is a monolithic Python Module containing commonly used functions to avoid rewriting them for every project.
TSNA can be used to make fully featured Terminal Applications or CLI Based tools with some ease. It is however crucial to mention that TSNA lacks any formal documentation, only DocStrings within the Python Files are the unique type of documentation available for TSNA.
TSN Abstracter is currently used to power numerous tools and applications built by The Sirio Network such as:
Installation / Usage
TSNA has been historically been without a proper Python Package, this however finally changes now.
You should simply be able to run pip install TSN-Abstracter nowadays.
TSNA however on Adellian still installs TSNA the old way by cloning the repository then adding the folder path to your PYTHONPATH.
All projects from The Sirio Network thus installs TSNA this way and thus are only tested as such.
In the case of Adellian, with an installation at /System/Library/TSN_Abstracter, the .bashrc contains the following line: export PYTHONPATH=/System/Library/TSN_Abstracter:$.
You can do something similar if you wish to install TSN Abstracter the old way.
All that's left to do after installation is to simply include at the very top of your Python script from TSN_Abstracter import *; and then get to roll with it.
We recommend the following template file Python File to start your TSNA fueled programs:
# [Program] (c) [Author] (Date) - [License]
from TSN_Abstracter import *;
Debug_Mode: bool = Root_CFG["Debug"];
if (__name__ != "__main__"): TSN_Abstracter.Import_Unsupported(); # Remove this if your script can be imported as a Python Module
else:
TSN_Abstracter.App_Init(True);
Config.Logger.Print_Level = 15 if (Debug_Mode) else 20;
Config.Logger.File = True;
# Do whatever your program does here
...
TSNA automatically attempts to read data from App.tsna, this file contains basic information about your application:
{
"Name": "Tachibana",
"Description": "Tachibana is a (work in progress) TSNA-Based rewrite of Adellian's SSHMan Application.",
"Author": ["Ascellayn", "The Sirio Network"],
"Contributors": [],
"License": "TSN License 2.1 - Base",
"License_Year": "2026",
"Codename": "TSN_Tachibana",
"Branch": "Azure",
"Version": [1,0,0],
"Version_Prefix": "",
"Version_Suffix": "_dev",
"TSNA": [6,0,0], # Minimum required TSNA Version for the Application to run,
"Public": {}, # You can put anything in there, used for application-specific options.
"Private": {} # Application's private data to be only used internally. This is not meant to be present in the App.tsna file.
}
TSN Abstracter is obviously developer oriented, it is your job to look at TSNA and find functions that are deemed useful to you.
Dependencies
- The "LZMA" Python Module (should be shipped with your OS's Libraries)
- If you import the "Cryptography" TSNA Module":
- python3-cryptography
- If you import the "TUI" TSNA Module":
- python3-curses
Random facts about TSNA
TSN Abstracter was created in early 2025 after things started getting hectic when it came to creating stuff such as (at the time) Kosaka and TSN Trinity. I would constantly have this TSNDB_Dependencies.py or SN_PyDepends file that I'd have to manually synchronize across all those projects. At some point I decided enough was enough and thus TSN Abstracter was born.
If we have to take in when TSNA was truly created then it was created during Kosaka's Pre-Ceres Lifecycle, which was in the middle of 2024.
TSNA was created so early it does not follow TSN's naming conventions, thus, a Blue Archive character or thing was never attributed as its codename / name.
New coding style conventions or things such as the TSN Commit Guideline had their start in TSNA.
TSN Abstracter (TSNA) © Ascellayn / The Sirio Network (2025-2026) - TSN License 2.1 - Base
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tsn_abstracter-6.1.4.tar.gz.
File metadata
- Download URL: tsn_abstracter-6.1.4.tar.gz
- Upload date:
- Size: 45.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ce71954cadc9369b1b01b93829ba5b896d640ebbc48dc5d447a38313f84540a
|
|
| MD5 |
017b60b5532235609518fdca86d8cd99
|
|
| BLAKE2b-256 |
dbf8382f53bab752ba2b55c3619537d1b6f317ec819ea4e36017db4ab29a7964
|
Provenance
The following attestation bundles were made for tsn_abstracter-6.1.4.tar.gz:
Publisher:
pypi.yml on Ascellayn/TSN_Abstracter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tsn_abstracter-6.1.4.tar.gz -
Subject digest:
6ce71954cadc9369b1b01b93829ba5b896d640ebbc48dc5d447a38313f84540a - Sigstore transparency entry: 1553008858
- Sigstore integration time:
-
Permalink:
Ascellayn/TSN_Abstracter@ff184ef85d5a7932aa5a028ab868c1e00aa2f811 -
Branch / Tag:
refs/tags/v6.1.4 - Owner: https://github.com/Ascellayn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@ff184ef85d5a7932aa5a028ab868c1e00aa2f811 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tsn_abstracter-6.1.4-py3-none-any.whl.
File metadata
- Download URL: tsn_abstracter-6.1.4-py3-none-any.whl
- Upload date:
- Size: 51.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3e82c0e23794bcaf2d1916085031ae3225de3efaa0074592f43d572ed04373a
|
|
| MD5 |
8ce37d677805857266aee3882f7143c0
|
|
| BLAKE2b-256 |
f678f7bdcb0c112e0921feee8729b404efea073a2cf727fb99bed6fe765b8e77
|
Provenance
The following attestation bundles were made for tsn_abstracter-6.1.4-py3-none-any.whl:
Publisher:
pypi.yml on Ascellayn/TSN_Abstracter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tsn_abstracter-6.1.4-py3-none-any.whl -
Subject digest:
f3e82c0e23794bcaf2d1916085031ae3225de3efaa0074592f43d572ed04373a - Sigstore transparency entry: 1553008865
- Sigstore integration time:
-
Permalink:
Ascellayn/TSN_Abstracter@ff184ef85d5a7932aa5a028ab868c1e00aa2f811 -
Branch / Tag:
refs/tags/v6.1.4 - Owner: https://github.com/Ascellayn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@ff184ef85d5a7932aa5a028ab868c1e00aa2f811 -
Trigger Event:
push
-
Statement type: