Giter VIP home page Giter VIP logo

grpc-poc-python's Introduction

gRPC-poc em Python

Para executar a aplicação, primeiramente devemos instalar as dependências. Após realizar o download da aplicação do Git, entrar na pasta do projeto baixado, abrir um terminal e digitar:

pip install -r requirements.txt

Assim que a instalação das dependências concluírem com sucesso, podemos executar a aplicação.

Primeiramente, vamos deixar o server rodando em background. De dentro do diretório do projeto execute o seguinte comando no terminal:

python server.py

Agora abra outro terminal e digite:

python client.py 100 10000 81 25 100000000 987656328

Você terá o seguinte resultado:

Square Root of 100 is 10.0
Square Root of 10000 is 100.0
Square Root of 81 is 9.0
Square Root of 25 is 5.0
Square Root of 100000000 is 10000.0
Square Root of 987656328 is 31427.0

grpc-poc-python's People

Contributors

brunoistvan avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.