Skip to main content

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

Project description

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.

Project details


Release history Release notifications | RSS feed

This version

0.4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

istao-0.4.tar.gz (15.2 kB view hashes)

Uploaded Source

Built Distribution

istao-0.4-py3-none-any.whl (15.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page