Skip to main content

The Python framework which is used to build complex Client-Server applications

Project description

csbuilder

The framework supports you to build complex Client-Server applications.

How to build

Our library is only supported by Python 3. Now we test it only on Python 3.7.1. If you meet any problems, even if with other versions, you could create an issue to notify us. We will solve them as quickly as possible.

Create Virtual Environment (optional but IMPORTANT)

If you had your virtual environment, you can ignore this step.

You ought to create a virtual environment to avoid conflicting with other applications on your machine when installing our module. The virtual environment must be installed with Python 3.
I highly recommend you to use Anaconda because of its utilities. The command of creating a virtual environment in Anaconda is:

$ conda create -n your_venv_name
$ conda activate your_venv_name
(your_venv_name) $ _ 

Or use Python venv:

$ python -m venv path/to/your/venv
$ path/to/your/venv/Scripts/activate.bat
(your_venv_name) $ _

Method 1: Install the PyPI version (not completed yet)

(your_venv_name) $ pip install csbuilder

Method 2: Install the newest version (recommendation)

(your_venv_name) $ git clone https://github.com/huykingsofm/csbuilder.git
(your_venv_name) $ cd csbuilder
(your_venv_name) csbuilder $ pip install -e .

How to use

Just use import statement and enjoy it. We will write documentation and tutorials as soon as possible so that you can understand our library easier.

from csbuilder.listener import Listener
from csbuilder.client import ClientResponser

Example

See the library sft supporting file transfer using csbuilder.

Change log

Version 0.0.2

  • Fix the error in wait_result of Session.
  • Remove ActiveSession and PassiveSession. Now csbuilder allows to create the protocol which has both active activation and passive activation.
  • Change size of elements in cspacket.
  • Add role to CSPacket. Now a SessionManager can contain multiple roles of a protocol.
  • Remove the CSPacketUtils. Instead, add from_bytes to CSPacket to extract the packet.

Version 0.0.1

  • Hello world.

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

csbuilder-0.0.2.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

csbuilder-0.0.2-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

Details for the file csbuilder-0.0.2.tar.gz.

File metadata

  • Download URL: csbuilder-0.0.2.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.1

File hashes

Hashes for csbuilder-0.0.2.tar.gz
Algorithm Hash digest
SHA256 101a881aea6df69d6eabfd0ab16eb96da175cc305c3aa8350acd9b0f76d32110
MD5 bdc9eb43f77d6f8657f38adad3c7e303
BLAKE2b-256 bf54d7395e7e22742db3841ec9bf8e40dd7f502e6847aff1a35ae214c8a0090d

See more details on using hashes here.

File details

Details for the file csbuilder-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: csbuilder-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 24.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.1

File hashes

Hashes for csbuilder-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fd19437b79a24a00250014a41c9566f83ea6b0d6e5a295b8c768009ab8537f40
MD5 c95d17f0261463c574f9e32280a9af12
BLAKE2b-256 95ec55253e10c4b44781b6a20a2c926523340ba51d8e06fc3f1622d84cad81e5

See more details on using hashes here.

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