semvec/pypi-packages huggingface dataset:
divspl 0.0.4
Dustin Ingram's Very Special Programming Language.
License: MIT
Keywords: fizz buzz rply

divspl (Dustin Ingram's Very Special Programming Language)
==========================================================

An implementation of a FizzBuzz DSL using `rply <https://github.com/alex/rply>`_.

Description
===========

``divspl`` is an interpreter for the DIVSPL DSL (Dustin Ingram's Very Special
Programming Language Domain Specific Language), which is used for implementing
FizzBuzz-like programs. For more information, see http://promptworks.com/blog/the-fastest-fizzbuzz-in-the-west.

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

::

    $ pip install divspl

Or for local development::

    $ virtualenv env
    $ source env/bin/activate
    $ python setup.py install

Usage
=====

::

    $ divspl [filename]

Where::

    filename            A *.divspl filename to execute

Example
=======

Use the interpreter to execute valid DIVSPL code::

    $ divspl fizzbuzz.divspl

Or use it as a shebang::

    #!env/bin/divspl
    1...15
    fizz=3
    buzz=5

Then::

    $ ./fizzbuzz.divspl


Compiling with RPython
======================

``divspl`` is compatible with `RPython <https://rpython.readthedocs.io>`__. To
compile::

    $ pip install rply
    $ mkdir -p pypy
    $ wget https://bitbucket.org/pypy/pypy/get/default.tar.bz2
    $ tar -xvvf default.tar.bz2 -C pypy --strip-components=1
    $ mkdir -p bin
    $ python pypy/rpython/bin/rpython --output=bin/divspl divspl/target.py

You now have a compiled ``divspl`` binary in ``./bin``, which you can use as
follows::

    $ bin/divspl fizzbuzz.divspl

Contact
=======

:On PyPI:
    http://pypi.python.org/pypi/divspl/

:Source:
    https://github.com/di/divspl

:Issues:
    https://github.com/di/divspl/issues
aviplot 1.0.2
Provide a matplotlib like interface to plotting data with Google Maps
License: MIT
Keywords: python wrapper google maps

aviplot
======

Plotting data on Google Maps, the easy way. A matplotlib-like
interface to generate the HTML and javascript to render all the
data you'd like on top of Google Maps. Several plotting methods
make creating exploratory map views effortless. Here's a crash course:

::

    import aviplot

    gmap = aviplot.GoogleMapPlotter(37.428, -122.145, 16)

    gmap.plot(latitudes, longitudes, 'cornflowerblue', edge_width=10)
    gmap.scatter(more_lats, more_lngs, '#3B0B39', size=40, marker=False)
    gmap.scatter(marker_lats, marker_lngs, 'k', marker=True)
    gmap.heatmap(heat_lats, heat_lngs)

    gmap.draw("mymap.html")


Geocoding
---------

``aviplot`` contains a simple wrapper around Google's geocoding service enabling
map initilization to the location of your choice. Rather than providing latitude,
longitude, and zoom level during initialization, grab your aviplot instance with
a location:

::

    gmap = aviplot.from_geocode("San Francisco")

Plot types
----------

* Polygons with fills.
* Drop pins.
* Scatter points.
* Grid lines.
* Heatmaps.

.. image:: http://i.imgur.com/dTNkbZ7.png

Misc.
-----

Code hosted on `GitHub <https://github.com/AvijitGhosh82/aviplot>`_

Install easily with ``pip install aviplot`` from PyPI.

Inspired by Yifei Jiang's (jiangyifei@gmail.com) pygmaps_ module.

.. _pygmaps: http://code.google.com/p/pygmaps/