semvec/pypi-packages huggingface dataset:
bode-django-error-pages 0.0.3
This is a simple project to handle http errors responses to Bode Django Projects
License: MIT
Keywords: django error pages

=======================
Bode Django Error Pages
=======================

Objective
===============
This is a simple django app to handle error pages on a Django Project. Obvious, with some Bode flavor.

How to use
===============
You must configure your root urls.py to handle errors.

* In settings.py, add the 'bode_error_pages' to INSTALLED_APPS;

* In your root urls.py file, add:

.. code-block:: python

    from bode_error_pages.views import Error403View, Error404View, Error500View

    handler403 = Error403View.as_view()
    handler404 = Error404View.as_view()
    handler500 = Error500View.as_view()
tkCanvasGraph 1.0
A library to display and manipulate graphs on a tkinter canvas.
License: MIT
Keywords: graph visualisation

tkCanvasGraph is a Python library that implements a tkinter canvas on which
users can display and manipulate graphs.

The documentation is available on http://tkCanvasgraph.readthedocs.io/.

A small example of its usage:

.. code:: python

    import tkinter
    from tkCanvasGraph import CanvasFrame, Vertex, Edge
    root = tkinter.Tk()
    frame = CanvasFrame(root)
    frame.pack(fill="both", expand=True)
    v1 = Vertex(frame.canvas, label="vertex1")
    frame.canvas.add_vertex(v1)
    v2 = Vertex(frame.canvas, label="vertex2")
    frame.canvas.add_vertex(v2)
    edge = Edge(frame.canvas, v1, v2, label="edge")
    frame.canvas.add_edge(edge)
    root.mainloop()

It creates a new tkinter window, fills it with a `CanvasFrame` (a tkinter
frame containing a tkCanvasGraph `frame.canvas`, but also buttons to apply
layouts, and scrollbars), then add two vertices and one edge.


Another example is the `tkCanvasGraph/__main__.py` file:

.. code::

    python -m tkCanvasGraph

It opens a similar window with additional functionalities:

* new vertices can be created with CTRL + left click,
* new edges by maintaining CTRL and dragging and dropping the mouse from
  one vertex to another,
* elements can be deleted with CTRL + right click,
* labels can be modified by right-clicking on any element,
* "j" key will create a new vertex in a random position,
* "k" key will create a new edge between two vertices without an edge,
* "o" key will apply one step of the force based layout.

Look at the code to get more insight on how to use the library.
spotifylib 0.1.2
Spotify API Client
License: MIT
Keywords: spotifylib

============
Introduction
============

Spotify API Client

This library aims to implement Spotify's `Authorization flow <https://developer.spotify.com/web-api/authorization-guide/#authorization_code_flow>`_
without the user needing to create a third party application to authorize the
application, redirect it to the callback and then manually authorize it with
username and password.

This library goal is to make authorization transparent but using `Spotipy's <http://spotipy.readthedocs.io/en/latest/>`_
functionality. It is implemented in a non-standard way that Spotify wouldn't
recommend so we can't guarantee this would work forever.

Read more on `USAGE.rst <https://github.com/wefner/spotifylib/blob/master/USAGE.rst>`_
or `Read the docs <http://spotifylib.readthedocs.io/en/latest/>`_
or check the code for substantial docstrings.


How does the library work
-------------------------

.. image:: https://image.ibb.co/ekaugG/spotifylib_authorization_flow_Page_1_2.png
   :scale: 70%
   :align: center
   :height: 1500px
   :width: 1200px


Features
--------

* Same features as Spotipy's library but with transparent authentication
* Renew's the token transparently





History
-------

0.1 (18-09-2017)
---------------------

* First release

0.1.1 (09-10-2017)
------------------

* Docstrings

0.1.2 (13-10-2017)
------------------

* Invalid token message moved to constants
* Improved doc and examples
* Add refresh token back to Token namedtuple from response