Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Intel checkpoint and cycle calculator for Niantic Lab's Ingress(tm)

Project Description

This is a simple module for managing checkpoint and cycle information for Niantic Labs Ingress game.

It includes a command-line front end and a flask based daemon for responding to Slack slash commands.

Niantic Labs is not responsible for this program, and neither endorses nor supports it. The author is not associated with Niantic Labs and makes no representations.


pip install inteltime

After installing, you will end up with a set of applications (mostly used for testing) and Slack:

  • inteltime - command line utility for testing
  • inteltime-flask - stantalone (for debugging only) flask daemon for Slack


Use the source, or try the inteltime test-jig command. This is mainly an API, the slack plugin and test-jig are just fun examples.

Slack Use

There is rudimentary natural language time/date processing available, and timezone support. Timezones are separated by commas.

By default, checkpoint will give you the next checkpoint, and cycle will give you the current cycle.

/checkpoint on today, America/Los_Angeles
/checkpoint ,UTC
/checkpoint 2016-05-04,Asia/Bejing

/cycle next Monday,UTC

Apache with mod_wsgi for Slack

Configure Apache with HTTPS and valid (not self-signed) SSL certificates. Slack requires that your certificates are not self-signed.

Configure Apache to serve WSGI files out of of a particular directory, in this example, we’re using /srv/prod/wsgi

WSGIScriptAlias /inteltime /srv/prod/wsgi/inteltime.wsgi
<Directory "/srv/prod/wsgi">
    Require all granted
    SSLOptions +StdEnvVars
    Order allow,deny
    Allow from all

Install mod_wsgi and copy the .wsgi file in this module to the directory where you decided to serve .wsgi files (as above).

sudo pip install mod_wsgi
sudo a2enmod mod_wsgi
cp inteltime/examples/inteltime.wsgi /srv/prod/wsgi/inteltime.wsgi

Restart apache with the new configuration and modules.

systemctl apache2 restart


Create a two slack custom integration slash commands. (See

command: /checkpoint
url: https://address.of.your.server/inteltime/checkpoint
method: POST

command: /cycle
url: https://address.of.your.server/inteltime/cycle
method: POST

When someone uses the /checkpoint slash-command, a HTTPS post will be issued to the URL you specified, which, in turn, will cause Apache to execute the shim script, which will, in turn, execute the wsgi module.


1.0.4 - Fri May 6 09:54:39 PDT 2016

  • Checkpoint number was off by one.
  • Add home page url to packaging.
  • Improve documentation.
  • Pylint cleanup.

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(19.1 kB) Copy SHA256 Hash SHA256
Source Jul 11, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting