Skip to main content

A python program that keeps track of a user's comunio profile

Project description

Comunio Manager
===============

.. figure:: comunio/resources/logo/logo_256.png
:alt: Logo

Logo
Comunio Manager is a program designed to help Comunio players with
managing their teams by collecting information about their player's
performance and market value.

This is accomplished by parsing the comunio.de website itself and
storing the parsed values in a local SQLite3 database.

Installation
------------

If you don't have python installed, please do so beforehand

If you have pip installed, you can simply run ``pip install comunio``
(or ``pip install comunio --user`` to install as non-root, which is
probably the preferred way to do it).

If you can not use pip, you can also install the program by downloading
the source and running ``python setup.py install`` or
``python setup.py install --user`` in the root directory (which is the
one containing a setup.py file)

Alternatively, Linux and Windows executables which require no additional
dependencies can be downloaded from the `Github release
section <https://github.com/namboy94/comunio-manager/releases>`__

Usage
-----

The program offers the following command line arguments:

::

-u , --username Specifies the comunio username
-p , --password Specifies the comunio password
-g , --gui Starts the program in GUI mode
-k , --keep_creds Stores the provided credentials in a local config file
-r , --refresh Updates the local database, then exits the program
-s , --summary Prints a short summary of the player's account to the console
-x , --xkcd Draws the graphs in the GUI in an XKCD-comic style

Examples
~~~~~~~~

Running the program with the command

::

comunio -u namboy94 -p hunter2 -sk

will make the program try to log in as the user 'namboy94' and the
password 'hunter2'. Afterwards, a short summary of the player's comunio
account will be printed to the console. Since the -k flag was also set,
the player's username and password are stored locally, which enables the
player to now just run

::

comunio -r

and the local database will be updated. Please be aware of the fact that
anyone with access to your local files will be able to read your
credentials, so beware of storing these on shared PCs.

The Program also offers a GUI, which can be called via

::

comunio -g

It will start with a login screen, then proceed to displaying various
information about the comunio account and the (football) players in the
(comunio) player's team. For more details, view the screenshots section.

Additionally, the -x flag can be combined with the -g flag to show
XKCD-style graphs instead of normal graphs in the GUI

Current Limitations
-------------------

Due to the design of Comunio, the program has a couple of limitations:

- When 5 players (the maximum amount) are up for sale, the database can
not be updated, as it is not possible to determine the market values
of the players that are not on sale
- At times, the comunio servers do not allow logins from non-'Pro'
players. At those times, the program can naturally not update the
local database
- The program can not get data from the past. Gaps in the database are
compensated, but if no daily updates are done, gaps in the data will
occur.

Screenshots
-----------

.. figure:: comunio/resources/screenshots/login.png
:alt: The Login Screen

The Login Screen
.. figure:: comunio/resources/screenshots/gui_normal.png
:alt: The Main Window

The Main Window
.. figure:: comunio/resources/screenshots/gui_xkcd.png
:alt: Using the XKCD graphs

Using the XKCD graphs
.. figure:: comunio/resources/screenshots/cli.png
:alt: CLI Summary

CLI Summary
Further Information
-------------------

`Documentation(HTML) <https://docs.namibsun.net/html_docs/comunio-manager/index.html>`__

`Documentation(PDF) <https://docs.namibsun.net/pdf_docs/comunio-manager.pdf>`__

`Python Package Index Site <https://pypi.python.org/pypi/comunio>`__

`Git Statistics
(gitstats) <https://gitstats.namibsun.net/gitstats/comunio-manager/index.html>`__

`Git Statistics
(git\_stats) <https://gitstats.namibsun.net/git_stats/comunio-manager/index.html>`__

`Changelog <https://gitlab.namibsun.net/namboy94/comunio-manager/raw/master/CHANGELOG>`__

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

comunio-0.5.1.tar.gz (20.2 kB view details)

Uploaded Source

Built Distributions

comunio-0.5.1-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

comunio-0.5.1-py2-none-any.whl (33.8 kB view details)

Uploaded Python 2

File details

Details for the file comunio-0.5.1.tar.gz.

File metadata

  • Download URL: comunio-0.5.1.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for comunio-0.5.1.tar.gz
Algorithm Hash digest
SHA256 48179520ba921e07412e98e04e6bc9aa229cd4c28625d6b4657cf558521214f0
MD5 3d59ac6ef9c15b2a2ce7cc25d3504b90
BLAKE2b-256 1390dc2623fe4b1493b815da3a15cd111e6e0270fa7732ffb64c2ea49ba62848

See more details on using hashes here.

File details

Details for the file comunio-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for comunio-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c8ef8e2f2ca057951f1913ca9906f6d6d14684c5f4fc1e1a144e9d29296cfd36
MD5 332a7eea35016961e86f8660743f2434
BLAKE2b-256 3e75bf48851e784c1745ce837510ae920a20c75314948f6a67bc633da7cf6024

See more details on using hashes here.

File details

Details for the file comunio-0.5.1-py2-none-any.whl.

File metadata

File hashes

Hashes for comunio-0.5.1-py2-none-any.whl
Algorithm Hash digest
SHA256 93ea491b8ef97ce51fa21d9fb51c060c7a283c0a25ee6b85eb2e2971476d8a15
MD5 b79709f0277abb4f234d29f6febe615a
BLAKE2b-256 aebaff9ec219a4db812079af797d24e8ce0d910c27f1cdc126a1146320a8c3bb

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