PyCo

Clients:

Client V0.15

Servers:

Hosting your own server:

PyCo's official launch has introduced the ability to host your own servers. You can download PyCo's server software by clicking the button below, editing the file to match your IP, port(s), etc and running it! This may require port forwarding if you are using this outside of a single network environment or running it within a Virtual Machine without a bridged adapter.

What network protocol does PyCo use?

TCP (Transmission Control Protocol): A reliable, connection-oriented protocol ensuring ordered data delivery. 

UDP (User Datagram Protocol): A connectionless, lightweight protocol that doesn't guarantee delivery or order, but is faster than TCP for specific use cases like streaming. 

PyCo uses TCP for it's stability and reliable connections, we achieve this using socket, a low-level network interface. It is important to remember that there are other network protocols out there, and we haven't tried anything but TCP. If you believe for the next LTS release that there's another more accessible and stable network protocol we should be using, contact us.

What happens if my client disconnects from a server/room?

You’ll automatically be removed from the room. Simply reconnect and join the room again. 

Is this software secure?

The current implementation is designed for basic functionality, not for secure communication. Avoid sharing sensitive information. Whilst PyCo remains relatively secure it is important not to send any sensitive data over it as users can modify their clients, servers, etc.

How do I start the server?

Download the server (optionally move it to your preferred directory), configure the python file to match your needs, and then eventually start is using python server.py.

Can I modify the code?

Of course! This is open-source, modify as you need it. Please try to maintain some of PyCo's credit if you do want to re-release the code as an addon or new software.

What ports will my server use?

By default the port will be 12345, however you can change this by opening up server.py in your preferred text editor and changing the port option.

Can I run this server on any device?

Yes! As long as your device has a compatible version of python installed. Other devices will not be able to connect to the server unless it has an internet connection, however without one you can host chat rooms between clients on a single computer (as long as that computer is also running the server alongside the chats).

How do I install python?

WINDOWS:


OTHER:

How do I install tkinter?

PyCo uses a library known as Tkinter, which required external installation on your computer. Simply open up command prompt (or whatever terminal you use) and type pip install tk. You must already have python installed on your machine.

Why should I use .pyw rather than .py?

When you open a python file with a GUI, the regular terminal window still opens as well, creating a useless black box on your screen. That's why PyCo uses .pyw as it hides the terminal window when running python files with an extra 'w' on the end of .py.

How do I open my server to the internet or just to a group of friends?

For cases where you just want the server accessible by a group of friends from anywhere, we recommend using Tailscale.

For opening your server up to the internet in general we recommend using port forwarding or opening a TCP tunnel on something like Cloudflare or Playit.