GithubHelp home page GithubHelp logo

smallrpc's Introduction

SmallRPC

A simple Remote File Management System using RPC implemented in Python

Requirements:

  1. Python 3.6 or above
  2. Python libraries: xmlrpc

Usage:

  1. Extract the contents of the zip file located in dist/SmallRPC.zip
  2. Start the server by running the command: python server.py
  3. Run the client application by executing the command: python client.py
  4. The client will interact with the server using RPC to perform file management operations.
  5. The server runs on port 8000 by default. Make sure the port is not being used by any other application.
  6. The client can be run on any machine in the same network as the server. The client needs to know the IP address of the server to connect to it. The IP address of the server can be changed in the client.py file.

Features:

  1. Starting the client application will connect to the server automatically: Client
  2. The client can perform the following operations on the server:
    1. Create a file:
      Creating from text : Just writting text after the command will create a file with the text as content for the file: Create Creating from a file : Writting a file name with a supported extension ('.txt', '.md') after the command will create a file with the content of the file: Create Create
    2. Read a file :
      This command will read the content of the file and display it on the console: Read
    3. Write to a file :
      The update command will update the content of the file with the text or file provided: Update
    4. Delete a file :
      Delete
    5. List all files in the server :
      List
    6. Exit the client :
      Exit

More Information:

  • If you have question, open an issue on this repository or contact me at: [email protected]
  • Contribution are welcome. Feel free to open a pull request.

smallrpc's People

Contributors

svartorm 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.