Skip to content

Library for Tao Python applications to check if the intended operating system is being used

License

Notifications You must be signed in to change notification settings

Tao-Linux/python-istao

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Library: istao

Library for Tao Python applications to check if the intended operating system is being used

GPLv3 License

Installation

You may either install a pre-built version of the package or build it yourself.

Downloading a pre-built package

Pre-built packages are available on PyPI (for Windows and macOS) and in Tao-Repo.

Building the package manually

To build the package manually, follow these steps:

  1. Install needed dependencies:
sudo pacman -S --needed python python-build python-colorama python-distro
  1. Clone this repository:
git clone https://github.com/Tao-Linux/python-istao.git
  1. Navigate to the repository directory:
cd python-istao
  1. Build the package:
python -m build

After the above command finishes, there should be package files in the dist/ directory.

Looking for the pacman version of this package? That's in python-istao-PKGBUILD.

Usage in Python

The library is intended to check if the operating system being used is Tao Linux. If it is not, it will exit, displaying an error.

First, import the package:

import istao

Then call the check function (usually at the very beginning of a given script):

istao.check()

License

This repository is licensed under the GPLv3 License. If you have found that Tao has violated any licenses or copyrights, please don't hesitate to open an issue on the repository/repositories that do so, and we will do our best to respond in a timely manner.

About

Library for Tao Python applications to check if the intended operating system is being used

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages