Skip to main content

A Python library is built to communicate between objects in internal or external programs.

Project description

hks_pynetwork

A Python library is built to communicate between objects in internal or external programs.

How to build

Our library is only supported by Python >=3.7.1. 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 stablest version (PyPI)

(your_venv_name) $ pip install hks_pynetwork

Method 2: Install the newest version (Github)

(your_venv_name) $ git clone https://github.com/huykingsofm/hks_pynetwork.git
(your_venv_name) $ cd hks_pynetwork
(your_venv_name) hks_pynetwork $ 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 hks_pynetwork import internal
from hks_pynetwork import external

Change log

Version 0.0.5

  • Modify error catching in external module.
  • Change packet dependencies.

Version 0.0.4

  • Change .gitignore to Python template.
  • Synchronize with hks_pylib version 0.0.6.
  • Fix typo.
  • Change many error type and replace some of them to hkserror.
  • Future work:
    • Fix the error when a packet with invalid header (invalid or spoof size field).
    • Change ChannelBuffer and PacketBuffer to new style.

Version 0.0.3

  • Update hks_pylib to 0.0.5.
  • Change the name of some methods in modules packet and secure_packet.
  • Add highly identified exceptions in module hks_pynetwork.errors.
  • Beautify code.
  • Fix some errors.

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

hks_pynetwork-0.0.5.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

hks_pynetwork-0.0.5-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file hks_pynetwork-0.0.5.tar.gz.

File metadata

  • Download URL: hks_pynetwork-0.0.5.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 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 hks_pynetwork-0.0.5.tar.gz
Algorithm Hash digest
SHA256 e278bca2b18716eee5533b875a872646820cff01f573eecbed00e30b8c4af139
MD5 e38516d13a41e224aeb8526d2ed60d8f
BLAKE2b-256 7b719796fc365553d8bf91fe754a0839b83a0e6f185b7ab58f9dde56ff947fb0

See more details on using hashes here.

File details

Details for the file hks_pynetwork-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: hks_pynetwork-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 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 hks_pynetwork-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7d2c669845e79603072f627d54bae6a36abdae729d296ab41e3fa55ddd1e9d5d
MD5 486bdd115244fc2d65fd7e5bb4135e6f
BLAKE2b-256 8441eb5cfc35f52036c32e8a8a8634f461de31e679d037ce4ac1447bcdcb75a4

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