Develop python rest api to run 6 command on UNIX/BSD.

Develop python rest api to run 6 command on UNIX/BSD.


Create a REST Api using Flask framework, create the next six endpoint and storage the response back in Elasticsarch, make sure created fields exits in the json document in elasticsearch.


Method: GET /curl-cisa

Method: GET /tail-syslog

Method: GET /[login to view URL]

Method: POST /find-word/sample_word

Body: N/A = Not apply

POST /elevation-data







Command: $ curl -XPOST -d 'url=[login to view URL]' '[login to view URL]'

Command: $ tail -n 100 /var/log/syslog

Command: $ sudo tail -n 100 /var/log/[login to view URL]

Command: $ grep -A 5 "GNOME Display Manager" /var/log/[login to view URL]

Command: $ find /home/$USER/Documents/ -type f -exec grep -il 'sample_word' {} \;

Note: For this command response you should not just thinking in REST API, also thinking in timeout/response time/alternative architecture like reactive programming framework, other quick alternative can be interrupted the process after 30sec of continue running. my advice is leave for the last to work, if this command has not response, try to point to your right Documents folder based in your development machine os.


curl [login to view URL],70

Note: We want to print all all the elevation from 22 to 70, this one will required store all the response json object and convert to json list [], finally response just one list with all object inside.


#1 Code will push encrementally in our git repo (ask for the repo when from day 0), No one big PUSH.

#2 HLD Diagram in [login to view URL]

#3 Python REST API/folder with the Class, Files, Try to manager the curls call and the system command calls in different class, also try to fallow the Controller, Services patterns! you can have just one controller and 6 services, database access should be repository concept, take the time to think in the right project structure and let talk.

#4 Video calling the 6 endpoint from postman, video not more than a minute, doesn't mater is you record to quick, I can pause the video or putting in slow motion, No audio, No personal information in your desktop like names.

- No PPT, No Word/LibreOffice Documentation, just [login to view URL] with the example curl of how call with endpoint and how run the project "No more than 7 lines in the [login to view URL]"

Note 1: Python version 3 or 3.8 is Ok, python version 2 is Ok, if I'm able to run in with Python3 compiler without error. we test using python3.


Skills: Python, Software Architecture, UNIX, Flask, RESTful API

See more: python editor - online, work in freelancer, freelancer, pycharm, python download, feelancer, freelancer jobs, freelance tasks, python rest api, python rest api client, python rest api populate database, python rest api django, python rest api framework, python rest api flask, python rest api post example, python rest api tutorial, python rest api server, python rest api without framework, splunk python rest api, python rest api upload file

About the Employer:
( 6 reviews ) Linden, United States

Project ID: #26940836

Awarded to:


I will use my programming skills on python to complete the task according to the request and the client satisfaction

$50 USD in 10 days
(1 Review)

8 freelancers are bidding on average $48 for this job


Hi There, I have a visual of your project description & grasp all your requirements. But few questions are grappling up in my mind. I need to clarify these queries via chat. Please come over the chat to discuss methodo More

$45 USD in 7 days
(2 Reviews)

I read your requirement. This can be done using flask framework. I have strong experience in flask. Please message me for more details. Thanks

$40 USD in 3 days
(9 Reviews)
(1 Review)

hi , i can deliver this project in short time + clean code guaranteed . Let's talk in details if you are interested .

$50 USD in 2 days
(2 Reviews)

Hello I checked your post with title "Develop python rest api to run 6 command on UNIX/BSD.". I am familiar to python. I want to discuss your project in detail. please contact me thanks

$50 USD in 3 days
(0 Reviews)

Have experienced in Rest API with python. Can work on both framework Django and Flask. I will always available for your queries and discussion if you needed.

$45 USD in 7 days
(0 Reviews)

Hello I have read and understood what you need to be get done.I can do this perfectly for you, please chat me up and let's discuss further. Thanks

$50 USD in 10 days
(0 Reviews)