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.1.tar.gz (5.7 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for Grillo-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f27b5a2607fa5710f8105d7aa188920abcdf9c546e1b779f146e289bc614558c
MD5 ae1cc7da0cb608a4e69a06dff7b5a09f
BLAKE2b-256 e210969c445a61160df12a3400882678e9876fbd26614efcb6129a73c6349bdc

See more details on using hashes here.

Supported by

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