Setup as python package
This commit is contained in:
parent
3fde3f747a
commit
ce24dfb7fc
4 changed files with 64 additions and 0 deletions
21
LICENSE
Normal file
21
LICENSE
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2019 flifloo
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
16
README.md
Normal file
16
README.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
<h1>Secure Socket Service</h1>
|
||||||
|
A simple but useful socket service I will use and update in the course of my projects
|
||||||
|
|
||||||
|
<h2>What is the secure ?</h2>
|
||||||
|
The connexion between two sockets is by default encrypted, a encryption key is pass from the server to the client with a pair of private and a public key
|
||||||
|
Also the server and the client check her "service id" to make sure it's the same app (yes it's easy to hack but it's a security, maybe upgrade later)
|
||||||
|
|
||||||
|
<h2>How to use it ?</h2>
|
||||||
|
Look at the [wiki](https://github.com/flifloo/SecureSocketService/wiki) ;3
|
||||||
|
|
||||||
|
<h2>License</h2>
|
||||||
|
This project is on the [MIT license](https://github.com/flifloo/SecureSocketService/blob/master/LICENSE)
|
||||||
|
|
||||||
|
<h2>Projects that use the SSS</h2>
|
||||||
|
* [Morpion](https://github.com/flifloo/Morpion)
|
||||||
|
* More soon !
|
27
setup.py
Normal file
27
setup.py
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
|
|
||||||
|
def readme():
|
||||||
|
with open('README.md') as f:
|
||||||
|
return f.read()
|
||||||
|
|
||||||
|
|
||||||
|
setup(name="SecureSocketService",
|
||||||
|
version="1.0.0",
|
||||||
|
description="A socket service with secure connexion",
|
||||||
|
long_description=readme(),
|
||||||
|
classifiers=[
|
||||||
|
'Development Status :: 3 - Alpha',
|
||||||
|
'License :: OSI Approved :: MIT License',
|
||||||
|
'Programming Language :: Python :: 3.7',
|
||||||
|
'Topic :: System :: Networking',
|
||||||
|
],
|
||||||
|
url="https://github.com/flifloo/SecureSocketService",
|
||||||
|
author="flifloo",
|
||||||
|
author_email="flifloo@gmail.com",
|
||||||
|
license="MIT",
|
||||||
|
packages=find_packages(),
|
||||||
|
install_requires=[
|
||||||
|
'cryptography',
|
||||||
|
],
|
||||||
|
zip_safe=False)
|
Reference in a new issue