semvec/pypi-packages huggingface dataset:
excoverflow 0.1.0
Appends google/stackoverflow search links to unhandled exceptions
License: MIT

excoverflow
===========

This package adds links to google and stackoverflow search results to the end
of uncaught exceptions in Python. It should work with either Python 2 or 3.

To install:

.. code-block:: shell

    pip install excoverflow

To use, simply import the package in any project file for which you want
internet results pages printed after the exception.

.. code-block:: python

    import excoverflow

Unhandled exception output will be appended with links to google and
stackoverflow search results for python, the exception type, and the
exception message; e.g.

.. code-block:: shell

    Traceback (most recent call last):
      File "test.py", line 5, in <module>
        val = 5 / 0
    ZeroDivisionError: division by zero

    https://www.google.com/search?q=python+ZeroDivisionError+division+by+zero
    https://stackoverflow.com/search?q=%5Bpython%5D+%22ZeroDivisionError+division+by+zero%22


Inspired by this reddit post
https://www.reddit.com/r/ProgrammerHumor/comments/7z6x65/the_button_we_all_needed/
pygclip 0.0.8
Pygmentize to clipboard for macOS.
License: MIT

#######
pygclip
#######

.. image:: https://travis-ci.org/brymck/pygclip.svg?branch=master
    :target: https://travis-ci.org/brymck/pygclip

:code:`pygmentize` to clipboard for macOS

This utility package is designed to send code through :code:`pygmentize` and save it as rich HTML in your macOS
clipboard. It can then be pasted easily into anything that accepts styled HTML input, such as Evernote, OneNote, Gmail,
etc.

.. image:: https://github.com/brymck/pygclip/raw/master/assets/screenshot.png

*****
Usage
*****

:code:`pygclip` offers a couple ways to retrieve code for passing on to :code:`pygmentize`:

- From a file
- Via the standard input
- Pulling it from your clipboard

Examples below:

File
====

.. code-block:: bash

    $ cat path/to/file.py
    def foo():
        return 'bar'
    $ pygclip -s monokai -l python path/to/file.py

Standard input
==============

.. code-block:: bash

    $ pygclip -s monokai -l python
    def foo():
        bar()

Clipboard
=========

.. code-block:: bash

    $ echo "def foo():\n    return 'bar'" | pbcopy
    $ pygclip -s monokai -l python -c
oneliners 1.0
A collection of random one-liner jokes scraped from the Internet.
License: MIT

One-liners collection
=====================

A collection of one-liner jokes (in English) scraped from various places in the Internet.

Usage
------
.. code-block::

     from oneliners import get_random
     j = get_random()

where ``category`` is one of ``'chuck'``, ``'pyjokes_en'``, ``'unsorted'`` or ``None`` (which means the union of all).


License
-------

 * The code is licensed as MIT. 
 * The jokes in the data files were scraped from various random places in the Internet. Some of them may be subject to copyright (which ones in particular, is, however, nearly impossible to determine, and most may probably be considered "folklore"). In any case, beware if you plan to display them publicly. Also beware that the "unsorted" collection is, indeed, completely unedited, and may contain adult, offensive or simply bad jokes.


See also:
---------

  * `pyjokes <https://github.com/pyjokes>`_
  * `ICNDB <http://www.icndb.com/>`_
  * https://www.reddit.com/r/oneliners/
  * https://www.oneliners-and-proverbs.com/
  * https://onelinefun.com/