Skip to content

adigaboy/python_assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python_assignment

Background

Done as part of a interview home assignment in Python.

Summary

The main purpose of the tool is to experience with APIs, Async jobs & DB in Python.

APIs

  • POST /upload
    The POST upload receives data in the following formart: {1:[5,7,2],2:[8,3,2],3:[2,5,1]}
    The API than needs to store the raw data in a table in the DB that have the following columns: id, raw_data, result
    and call an async celery job to calculate the result, which is the multiplication of the list of the numbers and store it in the result column.

  • GET /results/{result_id}
    The GET API fetches the result of result_id data from the DB.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages