Metadata-Version: 2.1
Name: pylongver
Version: 0.1.0
Summary: A python module to print the verbose version of your code
Author: k-katfish
License: # License
        
        Copyright (c) 2024 Kyle Ketchell
        
        Permission is hereby granted, free of charge,  to any person obtaining a copy of
        this software  and associated documentation files  (the “Software”),  to deal in
        the Software  without restriction,  including  without limitation  the rights to
        use,  copy,  modify,  merge, publish, distribute, sublicense, and/or sell copies
        of the Software,  and to permit persons to whom the Software  is furnished to do
        so, subject to the following conditions:
        
        The above copyright notice  and  this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE  SOFTWARE  IS  PROVIDED  “AS IS”, WITHOUT WARRANTY OF ANY KIND,  EXPRESS  OR
        IMPLIED,  INCLUDING  BUT  NOT  LIMITED  TO  THE  WARRANTIES  OF MERCHANTABILITY,
        FITNESS  FOR A  PARTICULAR PURPOSE  AND NONINFRINGEMENT.  IN NO EVENT  SHALL THE
        AUTHORS  OR  COPYRIGHT  HOLDERS  BE  LIABLE  FOR  ANY  CLAIM,  DAMAGES  OR OTHER
        LIABILITY,  WHETHER  IN  AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF  OR  IN CONNECTION WITH THE SOFTWARE  OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/k-katfish/pylongver
Project-URL: Source, https://github.com/k-katfish/pylongver
Keywords: version,verbose,pylongver,system info,debug,argparse
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# PyLongVer

PyLongVer is a utility to print a long version message about your python code.

This prints the version of the package in a long format with extra verbose
details about the Python interpreter, system, OpenSSL, and all imported modules
whose version information is available.

This package provides a simple interface for printing the version information
by adding an argument to the argparse parser. The package also provides a
function to print the version information directly.

## Sample output

```python
>>> from pylongver import print_version_info
>>> print_version_info()
Python Version: 3.12.6 (main, Sep  8 2024, 13:18:56) [GCC 14.2.1 20240805]
System: Linux
Platform: Linux-6.10.10-arch1-1-x86_64-with-glibc2.40
Architecture: ('64bit', 'ELF')
OpenSSL Version: OpenSSL 3.3.2 3 Sep 2024

Imported Modules:
argparse: 1.1
csv: 1.0
platform: 1.0.8
pylongver: 0.1.0
re: 2.2.1
zlib: 1.0
```

## Usage

### Using the ArgumentParser

```python
import argparse
from pylongver import add_longversion_argument

parser = argparse.ArgumentParser()
add_longversion_argument(parser)
args = parser.parse_args()
```

### Using the print_version_info function

```python
from pylongver import print_version_info

print_version_info()
```

## About

### Authors

Kyle Ketchell, independent contributor

### License

MIT
