Skip to main content

A terminal based chat server and client.

Project description

========
Overview
========

Grillo is a terminal based chat server and client. It was originally
written as an `chat server entry`_ for the `Rossetta Code Project`_.
It was then extended further into reusable threaded classes for the
server and client, with command line options and some basic in-chat
commands.

Grillo is named after the `Italian phone`_ of the same name,
developed in 1965. They both share the common theme of being a very
small communications device for their class, while being implemented
with relatively basic technology.

Given that there are many richer and more powerful applications
available for implementing the features Grillo provides, its best
use at the least is to serve as a good example of how to do basic
socket programming in Python, as well as a demonstrating some simple
tricks for controlling threads.

Installation
============

Assuming you have `setuptools`_ installed, the easiest method is to
install directly from pypi by running the following command::

$ easy_install -U grillo

Otherwise you can download Grillo and install it directly from
source::

$ python setup.py install

Usage
=====

Once installed, the command ``grillo`` should be available which can
be used for starting a server, client, or both at once (the default)::

$ grillo --bind host:port [--server-only|--client-only]

Note that the Grillo does not need to be installed in order to
connect to a Grillo server, as the telnet command available on most
modern systems can be used::

$ telnet host port

.. _`chat server entry`: http://rosettacode.org/wiki/Chat_server#Python
.. _`Rosetta Code Project`: http://rosettacode.org/
.. _`Italian phone`: http://en.wikipedia.org/wiki/Grillo_telephone
.. _`setuptools`: http://pypi.python.org/pypi/setuptools

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

Grillo-0.1.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file Grillo-0.1.tar.gz.

File metadata

  • Download URL: Grillo-0.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Grillo-0.1.tar.gz
Algorithm Hash digest
SHA256 10bf74240c3217c1407df0618265a8005ba3d41adf67d3f9055cfe8907c31c55
MD5 1a54baf181fcfb72ebb261f8a74cde53
BLAKE2b-256 b09a5731138f71fd34176e21d0bc1f5b4bb8997ef58ceaaec465c6e30ac982c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page