Metadata-Version: 2.1
Name: pyreqgen
Version: 0.0.4
Summary: Creates a requirements.txt file for a project solely from source files, given a root directory
Home-page: https://github.com/malanb5/py_requirements_installer
Author: Matthew Bladek
Author-email: malanb5@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# Python Requirements Tool

This package compiles and puts all of the required python packages into a single requirements.txt file.

## Quick Start
#### Usage
ReqParser is a module which contains static functions for generating the requirements.txt from
python source code.

```
from pyreqgen import ReqParser

root_dir_of_project = "/location/to/project"

ReqParser.run(root_dir_of_project, write_o=True, alpha=True)
```
## ReqParser
The run method is the main entry point to generate the requirements.txt.
It takes a mandatory argument the location of the root directory of the project as a string.
Optional arguments arguments are if you want to write out the required modules to a requirements.txt
in the function.  If not then it will return with a set of strings the module names.

The alpha option is set True if you want the modules sorted alphanumerically.


### Contributing
Please submit an issue or pull request if you have suggestions on how to make this project better.

