Skip to main content

Detects and outputs the os vesion.

Project description

jacob-os-version-check

This package is designed for those who want to check their server version. I will be updating this package to include features for Windows and Mac. If anyone encounters issues with this package, please feel free to leave a message. This version is clearer and more polished. Let me know if you need further adjustments!

Homer-Jay-Simpson
===========================+***+=======================================
====================#%*+#@#%#===+%#====================================
==================#*===%*==+*%#***#%*+=================================
=================#+===@%#*==--::::::-=+##+=============================
================**=+%%#::::::::::::::::::-#*===========================
================*%#-:=%::::::::::::::::::::=#*=========================
===============*%#-:::+-:::::::::::::::::::::+#========================
==============%=::::::::::::::::::::::::::::::+#=======================
============+#-::::::::::::::::::::::::::::::::+#======================
============*+::::::::::::::::::::::::::::::::::##=====================
============#-:::::::::::::::::::::::::::::::::::%+====================
===========+#-:::::::::::::::::::::::::::::::::::=#====================
============#-:::::::::::::::::::::::::::::::::::-*+===================
============#=::::::::::::::::::::::::::::::::::::+%+==================
============*+::::::::::::::::::::::::::::::::::::::**=================
============+*-:::::::::::::::+%%%%%%*-::::-+%%##%%%+#=================
=============#=::::::::::::+*:.........+*=#=.........**================
=============+#::::::::::-#:.............+=........  .=#===============
==============%=::+%::::-#................=-.......  ..**==============
===========+*=+%::@+*-::+-... ............-+....:-.  ..=#==============
===========*@%+%==#:*=::+:... %@-.    ....:+....#%-  ..**==============
============%+%@*+*:-#::==... ....    ....==..........=#===============
============#*=*%#+::**::*=.... ...   ...=%++--:::-**+#================
============*#==*#-:::-:::-#:......  ..-%=::::::::::+#=================
============+*==+%##=:::::::=%#-::::-%%=::::::::::::#*=================
===============%*=+=:::::::::::::::::::::--==+++***#+#*================
==============#*-#*=*=:::::::::::+%%#+==========------+%===============
==============+%-+-:::::::::-=%#=----------------------+%==============
===============+#*+*#*:::::=#=--------------------------#*=============
==================#*::::::**----------------------------=#=============
==================%=:::::+#-----------------------------=#+============
==================@-:::::%=------------------------------**============
=================+%:::::-#----+%=----------------------=%#=============
=================**:::::-%---=%#%###*++++++++++++*###%*================
=================#-::::::%=----------=============#+===================
================+*:::::::-@=------------------=*@#=====================
===========+#**#%+::::::::=#=----------------+#+=======================
==========+#.:#=#-:::::::::-*#-------------=%#=========================
=========+#....=#=::::::::::::+%*========+%*===========================
========+*:......-**=::::::::::::-=+***++@*============================
========*=..........:*#=::::::::::::::::*=.=%*=========================
=======#+....        ...=#*=-:::::::::::#-....=#*======================
=======%=....         ......-+**++-:::::*=......**=====================
=======+#*-..         ..........:%=*-:::=@*...*:.#+====================
======+%...*+-...            ..:*..-*-::::=*:%-..:#*===================
=+##*++**+:..:+*+:..  .      ..*:....+*-:::=@+*:..+*+==================
=:........:#*.....=##:.... ...%:......:*=:-#-.-*...#+==================
=............+*.......=*+-:.:#..........-#*=...+%**#*==================

Usage

 # Print "Homer"
python
$ pip install jacob_os_version_check
$ python
>>> from jacob_os_version_check.hi import hi
>>> hi()

 # Random Print
>>> from jacob_os_version_check.hi import random_pic
>>> random_pic()

 # OS ver Print
>>> from jacob_os_version_check.osver import os_check_j
>>> os_check_j()

Development enviroment setting

# install PDM
# git clone ... 
$ pdm venv create
$ source .venv/bin/activate
$ pdm install
# $ vi .... (coding)

# TEST
$ pdm install
$ pdm test
$ pip install . 

$ git add  <file_name>
$ git commit -a
$ git push
$ pdm publish

TEST

# $ pdm add -dG test pytest pytest-cov
$ pytest
$ pytest -s
$ pytest --cov

Ref

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

jacob_os_version_check-0.4.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

jacob_os_version_check-0.4.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file jacob_os_version_check-0.4.0.tar.gz.

File metadata

  • Download URL: jacob_os_version_check-0.4.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.2 CPython/3.10.12 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for jacob_os_version_check-0.4.0.tar.gz
Algorithm Hash digest
SHA256 81b603b831d1ee0b994de23cfca0327e2d1fb0c6342487d4c3e06207c429ff81
MD5 fdab98972c2a1fc61b3b332fdebd227c
BLAKE2b-256 c194437c9b417e5a39b9831cab0d473578d2c615e3d8a402b8fb75fdb6bdc531

See more details on using hashes here.

File details

Details for the file jacob_os_version_check-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: jacob_os_version_check-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.2 CPython/3.10.12 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for jacob_os_version_check-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5100bd08f6b0b1ca1679c9b66f4bdc47c5f6118e3812d9c2300e65570989087
MD5 1570a4e6fbd6c5bd4088f99d310fffb6
BLAKE2b-256 bcfb0c1d4c4ab07ac799c6b3f42876f960e6290f5fd20de160beb037ad64383c

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