Skip to main content

mysocks package for easy file transfer and chat

Project description

mysocks

This repository contains my work on socket programming. The goal of this project is to provide a python package based on socket programming that can enable developers to create server-client backend for seamless and secure multiple file transfers, group chats, etc.

Prerequisites

Windows (Python3.x)

Installing dependencies

Note: You can skip this step, if you are installing the packages. Dependencies are listed below and in the requirements.txt file.

  • tqdm

Install one of python package managers in your distro. If you install pip, then you can install the dependencies by running pip3 install -r requirements.txt

Directory Structure

  • mysocks/ - Package folder which contains all the code files corresponding to package

TODO: Write example files for easy understanding

  • examples/ - Contains examples on how to use the package

Details of the package

  • utilities.py - Contains helper functions for the package
  • file_transfer - Code to transfer files. Contains two classes for sending/receiving files.
    • 1 - send_files
    • 2 - receive_files

TODO: Examples

Have a look at examples/ directory.

Documentation

Code documentation can be found here

Installation

A setup.py file is provided in the repository. You can run python3 setup.py install to install it at system level. If you don't have privileges to do so, you can install it at user level by running python3 setup.py install --user.

Contributing to the repository.

  • If you find any problem with the code, please feel free to open an issue.
  • Found something you can improve, please send me a pull request with your changes. I will be more than happy to review and approve them.

Contacting me

You can send an email to thecodeboxed@gmail.com

Note: If you find this code useful, please leave a star :)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mysocks-1.1.0.tar.gz (12.4 kB view details)

Uploaded Source

File details

Details for the file mysocks-1.1.0.tar.gz.

File metadata

  • Download URL: mysocks-1.1.0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4

File hashes

Hashes for mysocks-1.1.0.tar.gz
Algorithm Hash digest
SHA256 bec0d0babbfdc8014cf3f5fc4d7c84e423dd3b64606db1d6259bd6e4b64dfb7e
MD5 35c7873840bc3a08c10e51f84cf8c576
BLAKE2b-256 4e1a8f53c3fca6558ccf3afc728f5dd093e7215bc8bcf0fcb3af9f11f58febfb

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page