Metadata-Version: 2.1
Name: shhistory
Version: 0.1.8
Summary: Simple Python library to return your shell history or dump to a nicely formatted JSON file.
Home-page: https://github.com/azazelm3dj3d/shhistory
Author: azazelm3dj3d
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# Shhistory
Simple Python library to return your shell history or dump to a JSON file.

You can install this library via pip:
```bash
pip install shhistory
```

## Example
A quick example to print the JSON data to stdout:
```python
# test.py
from shhistory import ShellHistory

print(ShellHistory.get_shell_history())
```

You can also create a quick bash utility with this library by piping to `jq` for nicer formatting:
```bash
python3 test.py | jq
```

If you would like to analyze the data more securely, you can also dump to a file:
```python
from shhistory import ShellHistory

print(ShellHistory.dump_shell_history())
```

NOTE: Windows is not currently supported. This may be added in a future update.
