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.1.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.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jacob_os_version_check-0.4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 cdbaa5a3a1b964c731c02ca80f444bf1b21ba6cd738cfc6282505d5658a76ade
MD5 80f2de2ab33a1383f7e1c907ae263fbf
BLAKE2b-256 e78ab71e21a7561cbacd1649ddef883841f7b187e471b96295266265dfaaa03b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jacob_os_version_check-0.4.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 409a86e6f26e3f997c51d81bd7c85f0a76ee126d0a646d9a592437135fda8b3f
MD5 4493feb5728178e357ddfcf66d0ad63a
BLAKE2b-256 352aa97c9144362e2d55a1d96fd2ead289c72f5db6f9aff0bb49af8217e4c973

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