Sign inSign up

mateord/pybroom

By mateord

•Updated over 2 years ago

Python app that receives objects and cleans it according to defined fields and characters.

Image
Data science
0

10K+

mateord/pybroom repository overview

Pybroom

⁠Pybroom

Python app that receives objects and cleans it according to defined fields and characters.

⁠Installation

You can access it through clone:

git clone https://github.com/ochan12/pybroom.git

or through Docker⁠

docker pull mateord/pybroom

⁠Configuration

Currently PyBroom is configured to work with objects like this

{
    "author": "SomebodyVeryFamous",
    "content": "Some deep but banned content",
    "banned_users":["SomebodyNotSoFamous"], 
    "banned_words":["deep"]
}

⁠Execution

PyBroom needs a couple of arguments work more securely.

docker run -p incoming_port:PORT \
-e USER_AUTH=BasicUserAuthIncomingObject \
-e PASSWORD_AUTH=BasicPasswordAuthIncomingObject \
-e PORT=PORT \
-e DESTINATION_URL="https://WhereDoYouSendIt.com" \
-e DESTINATION_AUTH="Authorization value for it's header in outgoing request" \
--name pybroom mateord/pybroom

Tag summary

Content type

Image

Digest

sha256:0ca536896…

Size

32.2 MB

Last updated

over 2 years ago

docker pull mateord/pybroom