Find Jobs
Hire Freelancers

Flask script

$10-30 USD

Closed
Posted almost 3 years ago

$10-30 USD

Paid on delivery
Hola, tengo un web service en flask que no funciona y tengo que hacerlo funcionar. ¿puedes ayudarme? Es super simple, solo hace una consulta a una base de datos y ya está hecho. Supuestamente alguna vez funcionó. Está instalado dentro de un docker. from flask import Flask,jsonify,Response import psycopg2 import json import os app = Flask(__name__) @[login to view URL]('/consulta/<emisor>/<dte>/<folio>/', methods=['GET']) def get_consulta(emisor,dte,folio): #Credenciales db_user = [login to view URL]('usuario') db_password = [login to view URL]('password') db_port = [login to view URL]('puerto') db_server = [login to view URL]('[login to view URL]') db_name = [login to view URL]('environment') conn = [login to view URL](dbname=db_name, user=db_user, host=db_server,password=db_password) cursor = [login to view URL]() # Consula query = """select dte,folio from dte_referencia where emisor=%s and referencia_dte=%s and referencia_folio=%s limit 5;""" [login to view URL](query, (emisor,dte,folio)) rows = [login to view URL]() consulta = rows[0] [login to view URL]() [login to view URL]() tasks = [ { 'dte': row[0], 'folio': row[1] } for row in rows ] return Response([login to view URL](tasks),mimetype='application/json') if __name__ == "__main__": [login to view URL](host='0.0.0.0', debug=True, port=80)
Project ID: 30223018

About the project

6 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
6 freelancers are bidding on average $31 USD for this job
User Avatar
Flask script. Senior Python , Flask Expert. As 9+ years experiences in these field. I can give good quality work. I have read the guidelines of your work.I believe that i can provide you the best quality works you are anticipating from this platfrom give me a chance to show you the best i can do at your service.
$40 USD in 1 day
4.9 (15 reviews)
4.1
4.1
User Avatar
Hello, sir . Nice to meet to you! I read your project description carefully and I have understood fully your requirements. I am professional in Python,Dajngo,flask,React ,Anguler and react native have many experiences for 7+ years. So I'm very interested in your project and you will satisfy with my perfect result for any requirements as you want. If you hire me, I'll do my best for you. Thanks. ganesh
$30 USD in 2 days
5.0 (2 reviews)
2.2
2.2
User Avatar
Hola ! Me gustaría trabajar contigo en este proyecto. He trabajado desarrollando aplicaciones web en Python durante los últimos 5 años. Estoy segura de que puedo ayudarte con este programa de flask. Me gusta trabajar hasta que el cliente este satisfecho con la entrega final, es por eso que el precio incluye revisiones ilimitadas. Si tienes alguna pregunta no dudes en contactarme.
$30 USD in 10 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Am an expert in flask and docker i have read the code above and i think i can help find a solution to your problem.
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of ECUADOR
Guayaquil, Ecuador
0.0
0
Member since May 17, 2021

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.