Metadata-Version: 2.1
Name: rvtools_python
Version: 1.0.0
Summary: Simple app to collect information from vSphere
Home-page: https://github.com/waldirio/rvtools_python/
Author: Waldirio
Author-email: waldirio@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: altgraph==0.17.4
Requires-Dist: appnope==0.1.4
Requires-Dist: astroid==3.0.3
Requires-Dist: asttokens==2.4.1
Requires-Dist: backcall==0.2.0
Requires-Dist: certifi==2024.2.2
Requires-Dist: chardet==5.2.0
Requires-Dist: charset-normalizer==3.3.2
Requires-Dist: decorator==5.1.1
Requires-Dist: dill==0.3.8
Requires-Dist: docopt==0.6.2
Requires-Dist: exceptiongroup==1.2.0
Requires-Dist: executing==2.0.1
Requires-Dist: flake8==7.0.0
Requires-Dist: gitdb==4.0.11
Requires-Dist: gitdb2==4.0.2
Requires-Dist: GitPython==3.1.42
Requires-Dist: idna==3.6
Requires-Dist: importlib-metadata==7.0.1
Requires-Dist: ipython==8.18.1
Requires-Dist: ipython-genutils==0.2.0
Requires-Dist: isort==5.13.2
Requires-Dist: jedi==0.19.1
Requires-Dist: lazy-object-proxy==1.10.0
Requires-Dist: lint==1.2.1
Requires-Dist: macholib==1.16.3
Requires-Dist: matplotlib-inline==0.1.6
Requires-Dist: mccabe==0.7.0
Requires-Dist: packaging==23.2
Requires-Dist: parso==0.8.3
Requires-Dist: pexpect==4.9.0
Requires-Dist: pickleshare==0.7.5
Requires-Dist: platformdirs==4.2.0
Requires-Dist: prompt-toolkit==3.0.43
Requires-Dist: ptyprocess==0.7.0
Requires-Dist: pure-eval==0.2.2
Requires-Dist: pycodestyle==2.11.1
Requires-Dist: pyflakes==3.2.0
Requires-Dist: Pygments==2.17.2
Requires-Dist: pyinstaller==6.4.0
Requires-Dist: pyinstaller-hooks-contrib==2024.1
Requires-Dist: pylint==3.0.3
Requires-Dist: pytoolconfig==1.3.1
Requires-Dist: pyvim==3.0.3
Requires-Dist: pyvmomi==8.0.2.0.1
Requires-Dist: requests==2.31.0
Requires-Dist: rope==1.12.0
Requires-Dist: simplegeneric==0.8.1
Requires-Dist: six==1.16.0
Requires-Dist: smmap==5.0.1
Requires-Dist: smmap2==3.0.1
Requires-Dist: stack-data==0.6.3
Requires-Dist: toml==0.10.2
Requires-Dist: tomli==2.0.1
Requires-Dist: tomlkit==0.12.3
Requires-Dist: traitlets==5.14.1
Requires-Dist: typing_extensions==4.9.0
Requires-Dist: urllib3==2.2.1
Requires-Dist: wcwidth==0.2.13
Requires-Dist: wrapt==1.16.0
Requires-Dist: zipp==3.17.0

# rvtools python
Application to be executed on Linux and collect all information from vCenter

The idea is to be a similar application as RVTools [1] the main difference is, the application from website was designed to be executed only on MS platform, this version will be written in python 3 so will be possible execute on Linux environment.

About the final result, the idea is generate similar output *CSV files*.

The point here is not about COPY but just improve the Python skill and use the project [1] as reference once this one is a fantastic product!!!

Thank you and feel free to request Features / Enhancements.

Ps.: Necessary python 3.9 or greather.

# How to use??

First, install the python module
```
$ pip install rvtools-python
```

Now it's time to execute it.
```

$ rvtools
```

On the first run, will be created the file ~/.rvtools.conf
```
vcenter=<fqdn>
username=<vcenter username>
password=<password>
directory=<directory>
```
Note. the directory above is the area where all the `CSV` files will be saved by default.


You can just update the information on the file to be seamless and generate all reports without ask you the password again or you are able to pass the information all the time as parameter
```
$ rvtools --help
usage: rvtools [-h] [-s HOST] [-u USERNAME] [-p PASSWORD] [-d DIRECTORY]
               [-v VERBOSE]

RVTools Python parameters

optional arguments:
  -h, --help            show this help message and exit
  -s HOST, --host HOST  vCenter server to connect to
  -u USERNAME, --username USERNAME
                        vCenter username
  -p PASSWORD, --password PASSWORD
                        vCenter username password
  -d DIRECTORY, --directory DIRECTORY
                        Directory where will be saved all csv files. Should be
                        empty
  -v VERBOSE, --verbose VERBOSE
                        Show additional info.
$
```

The result will be the csv file created on the directory defined on the conf file by `directory=<directory>` or via CLI by `-d DIRECTORY`.
```
vinfo.csv
...
```

Hope you enjoy it. Still working to improve/add all features. Feel free to send your feedback or just submit the new Issue [here](https://github.com/waldirio/rvtools_python/issues).

Best
Waldirio

[1]. https://www.robware.net/rvtools/
