Skip to main content

Utility that checks the name and version of the operating system.

Project description

stundrg-check-os-ver

  • Detects and outputs the os version.

                                         :.                           
                                        :=:                           
                                       :-==                           
              :                   .:=-:=+==                           
             .-           .-      .:==:-=+*=-:                        
             .+-          :=  .=-::-**=====*#**+=:.                   
             .*+     ::.  :=::=++**==*#===+#***%%**+:                 
             :*+:    :==++=***##*+==-:-====********+=.                
            ..=+=.:==**+*#%#%@%##*=::.::-==+******=-==.               
             .:+**+*#*==+**#%%%#*-:---=--====*%%%*=--===:             
               =#%*%#+*%#=+%%%##*==**+=*==++++*##*=-:::.::            
                :+##*+*%%%%%#%%%%%##%***+=+++*##**+=-::::..:.         
                 .:=#*==*%%%*#*#%##%%%#***+=***+**+==-::==--:         
                   :-=::+###*#==**#%#*#%##*+=+*****+**+:-=---:        
                       .-*#+*=+++*#**%%%##-:-=*%#*=-+**=*====.        
                       :=*===.=+**=*%%%%%%= .%@%%%*-+****+==-.        
                      .-====+==**#%%%%%%#+  .*%%##*==++%%**==:        
                       :-=**###%%%%*##*-     :+==****-.:+*=+=         
                    .::::=+*-=+*####%%%#=    -**+**%@:..=++=:         
                  .:=##**--*%%*==+*###%%%===-:*++*#%%*::+==-          
                  .:=#%#**#%%%%#+*#%%#%%%%@%#===++*%%#-====.          
                 .::=**#%%#*%%#%%**%%%#+==#%%*=+***%%*=+==:           
                .::=**#%%#*+%####*#%%%*---=++=+=+*#%#===::.           
                ::=**=+*+++%@%%#**#%#*+=--=*++*#%%%##+=:.-            
     ::::     :::-**+==***#*#*****##*==-==.+%**%%%%%*=::::            
     .=**=:  .-.:-+*++**+==+*=+*+*#%##*+-=:.*%*#%%%%#*=*=             
      .:**+::::-===**#*+*****:-#*****+===-=::*##%%%%#==#.             
        :+***#=***+****=**##%=:*#@@+. :-+++=.:*#***++==*              
         .=**+********+*#%%%%+:=*%%-   :--*+::-**-:---*=              
          .-**=+*****#%%%%%%%*:=*%*:   .:::*#+=*+---=*%:              
         ..-=*##==##**#%%%%%%#::*=     :.==:=*++**###%%+              
        ..=#####*###%%%%%####*+===:    =*%#*=*++*#%%%%#:              
       .:=*#%%%%+=+===*%#+++*#=:...     :#%###**+*#%%#*.              
      .:=***###-      :*##****#*=:        =*#%%###%%%#*:              
    ..:=+++**+.    .-+*##%=+***%%+:          -**%%%%##*-              
   .:=****++-     .=*%%%%%+*%%%%%*=.          ::+*######=.            
  .:*%%#**+:       :*%%##+*%%%%#%#*:           :==****+#%#-           
 ..-%%%%%+:   ..:...=%****%%#%%#*+-.          .-==++===*%%#*:         
 ..=%%%%%-..:=*===++==+*#%%%%*-.             .-=::=++***%%##*-        
 ::+=#*#+:::::.-**+=+*#%%%%#=                --::+%%%#######%+:       
.--:=-==:==::-=+*++*#%##**+:                .==*##********###+:       
...-:-: ::.:=-::-=**##*=.                   .=***+=====+*+***+-==:.   
    ..     -:    ::-++-.                     :====+**=+*##*+==++-::.  
                 ..:==:                    .--=+***#*=+-*###***-..... 
                  .:-==:                  ....:+##*#*+:.=**###*===-.: 
                     ..                   :.=+++**+==*:.:+++--=+====::
                                          :-+====:. :--..+=:       -=-
                                          :=-          :.=-         ::
                                           :            .=.           
 ...  .    ... .:....    ......                                       
.-:=-----:.::=:====--::::===-:::::::::-:.    

Use

Use hi.py
$ pip install stundrg-check-os-ver
$ python # use hi
>>> from stundrg_check_os_ver.hi import hi
>>> hi()
$ python # use random_pic
>>> from stundrg_check_os_ver.hi import random_pic
>>> ramdom_pic()
# $ pip install stundrg-check-os-ver
$ pip install --upgrade stundrg-check-os-ver
$ python
>>> from stundrg_check_os_ver.osver import get_os_ver as os
>>> os()

Development environment setting

# install PDM
# git clone ...
$ source .venv/bin/activate
# pdm install
# $ vi ...

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

$ git add<FILE_NAME>
$ git push
$ pdm publish

Username:__token__
password : Token

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

stundrg_check_os_ver-0.4.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

stundrg_check_os_ver-0.4.2-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file stundrg_check_os_ver-0.4.2.tar.gz.

File metadata

  • Download URL: stundrg_check_os_ver-0.4.2.tar.gz
  • Upload date:
  • Size: 5.2 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 stundrg_check_os_ver-0.4.2.tar.gz
Algorithm Hash digest
SHA256 d4decbe9f07c7143f845f736aef5ef9a30abbc840b77564741bff770bcd1d1c9
MD5 41346345da031424c045de12034de2e4
BLAKE2b-256 8c974000e0c2c1cc712255b1326b0695d5f9c8acfb0a9089325f65acfb8bd1a7

See more details on using hashes here.

File details

Details for the file stundrg_check_os_ver-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: stundrg_check_os_ver-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 5.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 stundrg_check_os_ver-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 01d198d7eb116baf86ad2e93a7136310edf5452540d7006d089e59a3d6e70f71
MD5 12fe4459fdfeea34172f9bae9a01f5be
BLAKE2b-256 c414cb669cb9fcd2d12a2bb8ac47600570d605efed3bf8614cbbb0609b0bda10

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