一个简单的消息传递程序和api

tuichat的Python项目详细描述


图伊卡特

Built with PythonLicense - GNU GPLv3ContributorsReleaseRepo size
Open issuesClosed issuesDownloadsCodacy Badge

一个简单的消息传递程序


目录

开始

These instructions will get you a copy of the project up and running on your local machine for development. See deployment for notes on how to deploy the project on a live system.

安装(1号)编译文件

Go to releases

Download archive with files and unzip it to any directory

安装(2号)PIP

Run this command in your shell:

pip install tuichat

Setup Git and type in git bash:

git clone https://github.com/Kukree/tuichat

Install Python 3 if not installed or compile program files with your program to compile (Pyinstaller, wheel, etc), the following lines are a program compilation guide

安装(4号)编译指南

Go to program directory

Run the following commands one at a time in your shell:

pip install pyinstaller

pyinstaller --onedir --onefile server.py

pyinstaller --onedir --onefile client.py

用户手册(主机或服务器支架)

配置

Enter settings into config.json file and save it

config.json

Configuring server

Note: If you have problems with configuring, look at configuration file description

Note 2: If you don't want to use config.json you can delete it and configure program at startup

运行

Run server.exe (on info table you will see information about your server, running port, limit of connections, external IP address, TUI graphics, logging and others)

Give your external IP address to clients and connection port, written in server info table

用户手册(客户端)

Run client.exe

Enter IP address of server and press ENTER

Enter connection port of server and press ENTER

Enjoy :)

Client connecting


配置文件说明

  • max_connections-用于设置到服务器的连接限制的变量

  • port-端口要连接到您的服务器,用户将在客户端键入它

  • enable_log(true/false)-启用或禁用保存服务器上发生的消息/连接或断开连接/其他事件的日志

  • enable_ui(真/假)-启用或禁用特殊的用户界面符号,如:徽标、突出显示系统消息的行、许可证块周围的边框

贡献

To get started...

步骤1

  • 选项1

    • 放弃这次回购!
  • 选项2

    • 使用https://github.com/Kukree/tuichat.git

步骤2

  • 滚开!???

步骤3

  • 使用^{}创建新的拉取请求。

使用

构建

版本控制

我们使用SemVer进行版本控制有关可用的版本,请参见tags on this repository

作者

另请参阅参与此项目的contributors列表。

许可证

此项目在gnu gplv3下获得许可-有关详细信息,请参见LICENSE文件

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java使用ContentExchange设置请求属性   java Spark/Hdfs/Hdfsclient兼容性   java springcloudstreamkafka配置:instanceCount和instanceIndex   Java中web服务序列化日期   java用动态数据替换占位符   java git gc似乎覆盖了一个packfile,留下了一个打开的文件描述符,其中包含对“oldxxx.pack”的引用   为什么Apache项目对Java版本敏感?   java Anylogic帮助如何在导入的3dobject通过输送机上的多个“站”时更改其颜色?   JavaEclipseNeonM2E可以导入一个大型项目,但似乎不能自动解决依赖关系   java@FindBy搜索具有满足条件的子元素的元素   java如何将ActionEvent e与键绑定一起使用?   java转换以集中方式从外部库抛出的异常   java中用户文件/数据文件与系统/程序文件的区别   java使用变量字符串或字符作为对象名   字体使用Java图形操纵字符串中每个字符的形状   JavaFX图表移动数据   java RandomAccessFile:将所有项设置为相同的字节数?   java Google Play inapp Billing onPurchasesUpdated()错误响应代码1   java在不知道属性名和属性数的情况下处理json对象   java是否可以一次从HazelcastInstance(映射和列表)中删除所有数据?