Generating Unix Domain Socket
Project description
Generate Unix Domain Socket
gen_unix_domain_socket is tool for generation of unix domain socket.
Developed in python code: 100%.
The README is used to introduce the modules and provide instructions on how to install the modules, any machine dependencies it may have and any other information that should be provided before the modules are installed.
Table of Contents
Installation
Currently there are three ways to install tool:
- Install process based on pip
- Install process based on setup.py (setuptools)
- Install process based on docker mechanism
Install using pip
Python package is located at pypi.org.
You can install by using pip
# python2
pip install gen-unix-domain-socket
# python3
pip3 install gen-unix-domain-socket
Install using setuptools
Navigate to release page download and extract release archive.
To install modules, locate and run setup.py with arguments
tar xvzf gen_unix_domain_socket-x.y.z.tar.gz
cd gen_unix_domain_socket-x.y.z/
# python2
pip install -r requirements.txt
python setup.py install_lib
python setup.py install_data
python setup.py install_egg_info
# python3
pip3 install -r requirements.txt
python3 setup.py install_lib
python3 setup.py install_data
python3 setup.py install_egg_info
Install using docker
You can use docker to create image/container.
Dependencies
gen_unix_domain_socket requires next modules and libraries:
Generation flow of py module
Base flow of generation process:
Tool structure
gen_unix_domain_socket is based on OOP:
Generator structure:
gen_unix_domain_socket/
├── conf/
│ ├── gen_unix_domain_socket.cfg
│ ├── gen_unix_domain_socket_util.cfg
│ ├── project.yaml
│ └── template/
│ └── posix/
│ ├── uds_accept.template
│ ├── uds_bind.template
│ ├── uds_connect.template
│ ├── uds_fatal_error.template
│ ├── uds_listen.template
│ ├── uds_read.template
│ ├── uds_socket.template
│ ├── uds.template
│ ├── uds_unlink.template
│ └── uds_write.template
├── __init__.py
├── log/
│ └── gen_unix_domain_socket.log
├── pro/
│ ├── config/
│ │ ├── __init__.py
│ │ ├── pro_name.py
│ │ └── template_dir.py
│ ├── __init__.py
│ ├── read_template.py
│ └── write_template.py
└── run/
└── gen_unix_domain_socket_run.py
Docs
More documentation and info at:
Copyright and Licence
Copyright (C) 2018 by vroncevic.github.io/gen_unix_domain_socket
gen_unix_domain_socket is free software; you can redistribute it and/or modify it under the same terms as Python itself, either Python version 2.x/3.x or, at your option, any later version of Python 3 you may have available.
Lets help and support PSF.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for gen_unix_domain_socket-1.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe4537f23f6a9e8f89cf72acf022f68a07281719fffe9cf892ea09667f947c5d |
|
MD5 | 16aace12fc562dd3e88da3b313c39b17 |
|
BLAKE2b-256 | c4b9f063e6077ac297c02f70f7e924c9b7443fc35a6882ed23122afad2e860d8 |
Hashes for gen_unix_domain_socket-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44c2ee96c0823b40c2b051bea3567cc83e0f92e16e599c0b07e5897d5f1e4824 |
|
MD5 | ba43a70eb594c3853192f24f0736429d |
|
BLAKE2b-256 | 6176d5943b0a89b158a81a488e38b35f6b3fa83ea5771fd6124b098136878539 |
Hashes for gen_unix_domain_socket-1.0.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 368a598d0e3d923e913cb97617a9d61372b24a29929fe4761b0295f09d914012 |
|
MD5 | f30f956f8f5156bed62cd4d04771a52a |
|
BLAKE2b-256 | 498e63a809523432e0caf13a3aaa403db68c414cddd2bd2fd7960572b7adec58 |