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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file istao-0.4.tar.gz.

File metadata

  • Download URL: istao-0.4.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for istao-0.4.tar.gz
Algorithm Hash digest
SHA256 381bd7388214aa6afff1d793bbd7cf31f0bedf1a4d38df4cec06924a4bea2509
MD5 03743043ac49f792c110455d46fed0e2
BLAKE2b-256 aae50382116be88894834e7e9e94e5ca4895fcdfe6429cca5482a37ef20efab0

See more details on using hashes here.

File details

Details for the file istao-0.4-py3-none-any.whl.

File metadata

  • Download URL: istao-0.4-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for istao-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d3d44e866fa09fc462802b00fb4d386a2b09ebd6cfc0d82c78b5f7e7d43dfa40
MD5 fc64d1f80fe4840d1be98a61a1f4afd0
BLAKE2b-256 7818d920aab740512ad8613113b0ec1c8d0186c802a923902a0b55bf010598a5

See more details on using hashes here.

Supported by

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