semvec/pypi-packages huggingface dataset:
drudge-parser 3.0.2
Naive parser for the Drudge Report
License: MIT
Keywords: parsing,webscraping,drudge,drudgereport

.. image:: https://travis-ci.org/mrasband/drudge_parser.svg?branch=master

A pretty simple parser for `Drudge Report <http://drudgereport.com>`_. I find the site impossible to look at and wanted a way to more easily digest the information, as I like to keep tabs on lots of differing news outlets.

This library has no external dependencies and supports Python 2.7+ (targeted for Python 3+)

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

PyPI

    pip install drudge_parser


Usage
=====

Example::

    import drudge_parser

    # You can use and feed the parser directly if you would like:
    parser = drudge_parser.DrudgeParser()
    parser.feed('<html string>')
    print(parser.articles)

    # Or just use the helper to scrape the current site:
    articles = drudge_parser.scrape_page()
    print(articles)

Articles is a list of article groupings. These are ordered down the page, so they will always be ``TOP_STORY``, ``MAIN_HEADLINE``, followed by ``COLUMN{1,3}``.

An article grouping looks like::

    {
        "images": [str],  # This often is just empty, never None
        "articles": [
            #  These will be ordered by appearance, in some cases drudge
            #  builds related titles on each other to make one link across
            #  multiple lines.
            {
                "title": str,
                "href": str
            }
        ],  # Never None
        "location": str  # One of the drudge_parser.Location 'enumeration'
    }

Additional Contributors
=======================

* [jamesjackson69](https://github.com/jamesjackson69)
tudo 0.1.0.dev6
A simple command-line based TODO-app in Python
License: MIT
Keywords: todo organization command-line

TUDO
====

A simple command-line based TODO-app in Python

Commands
--------

- ``main.py add <task_description> <...>``: Add new tasks. Default priorities: Important = No/0, Urgent = No/0
- ``main.py add --prio <task_description> <important_val> <urgent_val> <...>``: Add new tasks with non-default priorities (possible priority values: 0 => No, 1 => Yes)
- ``main.py list``: List all non-finished tasks
- ``main.py list all``: List all tasks including the finished ones
- ``main.py list --prio [all] <important_val> <urgent_val>``: List tasks, filter for specific important/urgent values
- ``main.py rm <task_id> <...>``: Delete tasks
- ``main.py done <task_id> <...>``: Set a task as done/finished
- ``main.py stats``: Display number of finished tasks per day
- ``main.py eisenhower``: Display open tasks in an Eisenhower matrix according to set priorities (see https://en.wikipedia.org/wiki/Time_management#The_Eisenhower_Method)

How to continue development (tested on Windows)
-----------------------------------------------

1. Navigate to the root directory of this repository
2. ``pip install -e .``
3. Now, you can use ``tudo list`` etc. while still applying changes to the underlaying source code
4. To uninstall, use ``pip uninstall tudo``

How to publish to PyPi (already done)
-------------------------------------

#. Register on PyPi (or, for tests, on TestPyPi) the  and create a personal ``.pypirc`` file in your HOME directory (see https://packaging.python.org/distributing/#create-an-account)
#. Register the package with ``python setup.py register -r <testpypi|pypi>`` (see https://packaging.python.org/distributing/#register-your-project)

  a. **Attention**: This does not work with the live PyPi version (``Server response (410): This API is no longer supported, instead simply upload the file.``). Using the register form (https://pypi.python.org/pypi?%3Aaction=submit_form) works.

#. Upload the package with ``twine upload dist/* -r <testpypi|pipy>`` (see https://wiki.python.org/moin/TestPyPI)
#. Install the package with ``pip install [-i https://testpypi.python.org/pypi] tudo``
#. To uninstall, use ``pip uninstall tudo``

Also probably a good guide: http://peterdowns.com/posts/first-time-with-pypi.html

Open issues
-----------

- ``database.db`` is currently created & saved in the same directory from where the ``tudo`` command was executed (leads to multiple ``database.db`` files). But our app should always use the same database location! (What is a good location? The user directory?)
- Editing tasks
pygcvs 1.1
A Python library for reading variable star data from GCVS.
License: MIT

======
pygcvs
======

.. image:: https://requires.io/github/zsiciarz/pygcvs/requirements.svg?branch=master
    :target: https://requires.io/github/zsiciarz/pygcvs/requirements/?branch=master
    :alt: Requirements Status

.. image:: https://img.shields.io/pypi/v/pygcvs.svg
    :target: https://pypi.python.org/pypi/pygcvs/
    :alt: Latest PyPI version

.. image:: https://img.shields.io/pypi/dm/pygcvs.svg
    :target: https://pypi.python.org/pypi/pygcvs/
    :alt: Number of PyPI downloads

.. image:: https://img.shields.io/pypi/pyversions/pygcvs.svg
    :target: https://pypi.python.org/pypi/pygcvs/
    :alt: Supported Python versions

.. image:: https://img.shields.io/pypi/wheel/pygcvs.svg
    :target: https://pypi.python.org/pypi/pygcvs/
    :alt: Wheel Status

.. image:: https://travis-ci.org/zsiciarz/pygcvs.svg?branch=master
    :target: https://travis-ci.org/zsiciarz/pygcvs

.. image:: https://coveralls.io/repos/zsiciarz/pygcvs/badge.svg?branch=master
    :target: https://coveralls.io/r/zsiciarz/pygcvs?branch=master

A Python library for reading variable star data from the
`General Catalog of Variable Stars <http://www.sai.msu.su/gcvs/gcvs/iii/html/>`_.

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

Use ``pip`` to install latest release available at PyPI::

    pip install pygcvs

Usage
-----

Download the ``iii.dat`` file from `GCVS <http://www.sai.msu.su/gcvs/gcvs/iii/>`_
and point the ``read_gcvs`` function at its location.
The function returns a generator which yields a single star data dictionary
at a time. See below::

    >>> import pygcvs
    >>> for star in pygcvs.read_gcvs('iii.dat'):
    ...     print(star['name'])
    R AND
    S AND
    #...
    V0515 VUL
    V0516 VUL

Resources
---------

 * `Documentation <http://pygcvs.rtfd.org>`_
 * `Issue tracker <https://github.com/zsiciarz/pygcvs/issues>`_
 * `CI server <https://travis-ci.org/zsiciarz/pygcvs>`_

Author
------

 * `Zbigniew Siciarz <http://siciarz.net>`_ (zbigniew at siciarz dot net)

License
-------

pygcvs is free software, licensed under the MIT/X11 License. A copy of
the license is provided with the source code in the LICENSE file.
pyaavso 0.2
A Python library for working with AAVSO data.
License: MIT

=======
pyaavso
=======

.. image:: https://requires.io/github/zsiciarz/pyaavso/requirements.svg?branch=master
    :target: https://requires.io/github/zsiciarz/pyaavso/requirements/?branch=master
    :alt: Requirements Status

.. image:: https://img.shields.io/pypi/v/pyaavso.svg
    :target: https://pypi.python.org/pypi/pyaavso/
    :alt: Latest PyPI version

.. image:: https://img.shields.io/pypi/dm/pyaavso.svg
    :target: https://pypi.python.org/pypi/pyaavso/
    :alt: Number of PyPI downloads

.. image:: https://img.shields.io/pypi/pyversions/pyaavso.svg
    :target: https://pypi.python.org/pypi/pyaavso/
    :alt: Supported Python versions

.. image:: https://img.shields.io/pypi/wheel/pyaavso.svg
    :target: https://pypi.python.org/pypi/pyaavso/
    :alt: Wheel Status

.. image:: https://travis-ci.org/zsiciarz/pyaavso.svg?branch=master
    :target: https://travis-ci.org/zsiciarz/pyaavso

.. image:: https://coveralls.io/repos/zsiciarz/pyaavso/badge.svg?branch=master
    :target: https://coveralls.io/r/zsiciarz/pyaavso?branch=master

**pyaavso** is a Python library for working with
`AAVSO <http://www.aavso.org>`_ (American Association of Variable Star
Observers) data. The library is compatible with both Python 2.7 and 3.3+.

Features
--------

* reading and writing variable star observations in AAVSO's
  `Visual File Format`_
* downloading all observation data for a given observer

.. _`Visual File Format`: http://www.aavso.org/aavso-visual-file-format

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

Use ``pip`` to install latest release available at PyPI::

    pip install pyaavso

Usage
-----

The following code uses ``VisualFormatWriter`` to report a single
observation of **SS Cyg** between the outbursts.

    >>> from pyaavso.formats import VisualFormatWriter
    >>> observer_code = 'XYZ'
    >>> with open('data.txt', 'wb') as fp:
    ...     writer = VisualFormatWriter(fp, observer_code)
    ...     writer.writerow({
    ...         'name': 'SS CYG',
    ...         'date': '2450702.1234',
    ...         'magnitude': '<11.0',
    ...         'comp1': '110',
    ...         'chart': '070613',
    ...     })

The ``data.txt`` file can be now submitted to AAVSO.

Resources
---------

 * `Documentation <http://pyaavso.rtfd.org>`_
 * `Issue tracker <https://github.com/zsiciarz/pyaavso/issues>`_
 * `CI server <https://travis-ci.org/zsiciarz/pyaavso>`_

Author
------

 * `Zbigniew Siciarz <http://siciarz.net>`_ (zbigniew at siciarz dot net)

License
-------

pyaavso is free software, licensed under the MIT/X11 License. A copy of
the license is provided with the source code in the LICENSE file.
pyqode.cobol 2.11.0
Adds COBOL support to pyqode.core
License: MIT
Keywords: CodeEdit PySide PyQt code editor widget cobol

.. image:: https://raw.githubusercontent.com/pyQode/pyQode/master/media/pyqode-banner.png

|

.. image:: https://img.shields.io/pypi/v/pyqode.cobol.svg
   :target: https://pypi.python.org/pypi/pyqode.cobol/
   :alt: Latest PyPI version

.. image:: https://img.shields.io/pypi/dm/pyqode.cobol.svg
   :target: https://pypi.python.org/pypi/pyqode.cobol/
   :alt: Number of PyPI downloads

.. image:: https://img.shields.io/pypi/l/pyqode.cobol.svg

.. image:: https://travis-ci.org/pyQode/pyqode.cobol.svg?branch=master
   :target: https://travis-ci.org/pyQode/pyqode.cobol
   :alt: Travis-CI build status


.. image:: https://coveralls.io/repos/pyQode/pyqode.cobol/badge.svg?branch=master
   :target: https://coveralls.io/r/pyQode/pyqode.cobol?branch=master
   :alt: Coverage Status


About
-----
*pyqode.cobol* adds **COBOL** support to `pyQode`_ (code completion,
code folding,...).


- `Issue tracker`_
- `Wiki`_
- `API reference`_
- `Contributing`_
- `Changelog`_
- `Screenshots`_


Features:
---------

* cobol code completion provider based on the cobol keywords and the defined
  names of the current document (pic fields, paragraphes)
* code folding mode
* auto indent mode (after struct, paragraph or inside procedures)
* native (fast) syntax highlighter with pygments themes support.
* document outline widget

License
-------

pyqode.cobol is licensed under the **GPL v3**.


Requirements
------------

pyqode.python depends on the following libraries:

- python 3 (>= 3.2)
- pyqode.core


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

::

    $ pip3 install pyqode.cobol --upgrade

Testing
-------

pyqode.core has a test suite and measure its coverage.

To run the tests, just run ``python setup.py test``

To measure coverage, run::

    python3 setup.py test -a "--cov pyqode"

To check for PEP8 warnings, install pytest-pep8 and run::

    python3 setup.py test -a "--pep8 -m pep8"


To run a single test, use ``-a "-- test_file_path.py::test_function"``, e.g.::

    python3 setup.py test -a "-- test/test_api/test_code_edit.py::test_set_plain_text"


Testing Matrix
++++++++++++++

We test the following combinations on Travis-CI:

+--------------------------+---------+---------+
|                          | PyQt4   | PyQt5   |
+==========================+=========+=========+
| GNU/Linux - Python 3.4   | yes     | yes     |
+--------------------------+---------+---------+


.. _pyQode: https://github.com/pyQode/pyQode
.. _Screenshots: https://github.com/pyQode/pyQode/wiki/Screenshots-and-videos#opencobolide-screenshots
.. _Issue tracker: https://github.com/pyQode/pyQode/issues
.. _Wiki: https://github.com/pyQode/pyQode/wiki
.. _API reference: http://pyqodecobol.readthedocs.org/en/latest/
.. _Changelog: https://github.com/pyQode/pyqode.cobol/blob/master/CHANGELOG.rst
.. _Contributing: https://github.com/pyQode/pyqode.cobol/blob/master/CONTRIBUTING.rst