ndejong / pfsense_fauxapi

REST based API interface for pfSense 2.3.x and 2.4.x to facilitate devops
Apache License 2.0
354 stars 61 forks source link

Having FauxAPI Python Library on PyPI? #22

Closed fxfitz closed 5 years ago

fxfitz commented 6 years ago

Have you thought about putting FauxAPI Python Library on PyPI, that way one can just pip install pfsense_fauxapi and have all of the dependencies (requests) and library installed super easily?

thrawnarn commented 6 years ago

I agree, this would be great... Or at least packaged separatly among releases...

ping @ndejong

ndejong commented 6 years ago

@fxfitz and @thrawnarn - thanks both, yes rolling a pip package would make life easier - I've added it to the enhancement queue - also mentioned in #31

vwhissell commented 6 years ago

That is indeed a must for this project. Would be amazing to have it installed using pip. I would love that feature to much. That would make active reponse very easy to block IPs, CnC, bad DNS and stuff. Make it pip! ;)

ssbarnea commented 5 years ago

That is a great idea! Usually there are two things that, most of the time make me decide if I should even bother to test a python library: if it is published to pypi and if it does have a CI running on the repository. Most of the time, if it fails to meet these, i continue browsing.

ndejong commented 5 years ago

Took a while, but this is now a thing https://github.com/ndejong/pfsense_fauxapi_client_python

Go ahead and install with pip

pip3 install pfsense-fauxapi