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

Uploaded Python 3

File details

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

File metadata

  • Download URL: stundrg_check_os_ver-0.4.3.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.3.tar.gz
Algorithm Hash digest
SHA256 7fcdc448f1c21a1ce10aa6596db8d7d15e904693dad49107fe63b2ae726b77b7
MD5 343348044f0a4ed7641fd285ae3829db
BLAKE2b-256 d0ab4603bf1a27f1e5bc73923b3a2db0580c49464d4f67f87ac4762e12b69c49

See more details on using hashes here.

File details

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

File metadata

  • Download URL: stundrg_check_os_ver-0.4.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b52c5f83cffe0fd9bd3a293bf07a205dc1dbc2fa2350c0e2b7f0ab8cf2a6a0b7
MD5 98d62cf00e146dfe6d4ceb292c81d7bf
BLAKE2b-256 ded9b3fc496b966f670514c830ae180710fc9f35f87db02cb6c56c37a221f4c5

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