Code Monkey home page Code Monkey logo

grpc's Introduction

TaskManager Project

TaskManager is a simple project for managing tasks using gRPC and JSON storage.

Table of Contents

Installation

Prerequisites

Make sure you have the following tools installed on your system:

  • Python (>=3.6)
  • gRPC Tools

Clone the Repository

git clone https://github.com/hrushikesh009/gPRC.git
cd TaskManager

Install Dependencies

pip install -r requirements.txt

Generate gRPC Files

python generate_grpc_files.py

Project Structure

TaskManager/

├── task.proto

├── task_pb2.py

├── task_pb2_grpc.py

├── db.json

├── task_manager_server.py

├── task_manager_client.py

├── generate_grpc_files.py

├── README.md

└── requirements.txt

  • task.proto: Protocol Buffer definition file.
  • task_pb2.py and task_pb2_grpc.py: Generated Python files for gRPC.
  • db.json: JSON file used as a simple database.
  • task_manager/: Python package containing server and client scripts.
  • task_db.py: Helper Function to insert,update and delete JSON Data.
  • generate_grpc_files.py: Script to generate gRPC files.
  • requirements.txt: List of project dependencies.
  • README.md: Project documentation.

Usuage

Start the server

python task_manager_server.py

Run the Client

python task_manager_client.py

grpc's People

Contributors

hrushikesh009 avatar

Stargazers

 avatar

Watchers

 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.