semvec/pypi-packages huggingface dataset:
PyOpenGraph 0.2
PyOpenGraph is a library written in Python for parsing Open Graph protocol information from web sites.
License: MIT License

=============
 PyOpenGraph
=============
    
PyOpenGraph is a library written in Python for parsing Open Graph protocol information from web sites.

Learn more about the protocol at:

http://opengraphprotocol.org

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

To install, download the archive at http://pypi.python.org/pypi/PyOpenGraph and decompress, run python setup.py install.

-------
 Usage
-------
::

    import PyOpenGraph

    og = PyOpenGraph('http://www.rottentomatoes.com/m/10011268-oceans/')

    print og.metadata # => {'url': 'http://www.rottentomatoes.com/m/10011268-oceans/', 'site_name': 'Rotten Tomatoes', 'image': 'http://images.rottentomatoes.com/images/movie/custom/68/10011268.jpg', 'type': 'movie', 'title': 'Oceans'}

    print og.metadata['title'] # => Oceans

    og.is_valid() # => return True or False
rocketdive 0.3
Easy GUI frontend for Rocket, a modern WSGI web server.
License: MIT License

Rocketdive is a non-programmer-friendly GUI frontend for Rocket which is
a modern, multi-threaded, comet-friendly WSGI web server. So, of course, it
depends on Rocket. Its GUI is written by Tkinter. Tested on Mac OS X, Linux
and Windows.

You can download executable binaries for Mac OS X (.dmg packaged .app) and
Windows (standalone .exe) from following URL:

http://bitbucket.org/dahlia/rocketdive/downloads

(The name is borrowed from Japanese artist hide's song of the same title, but
there is no relation between both.)
pyhistorian 0.6.8
pyhistorian is a BDD tool for writing specifications using Given-When-Then template
License: MIT License
Keywords: bdd dsl python

A BDD tool for writing specifications using Given-When-Then template
====================================================================

The goal of *pyhistorian* is to write an internal Given-When-Then template using Python.
The ideas came from JBehave, RBehave, Cucumber and others.

It's possible to write your stories in English and Portuguese, choose your preferred.

A good example of use ``[en-us, by default]`` follows (call this file *calculator.py*)::

    from should_dsl import *
    from pyhistorian import *

    class Calculator(object):
        def sum(self, n1, n2):
            return n1+n2


    class SpecifyingMyNewCalculator(Story):
        """As a lazy mathematician
           I want to use a calculator
           So that I don't waste my time thinking"""
        colored = True
        template_color = 'yellow'
        scenarios = ['SumScenario'] # optional


    class SumScenario(Scenario):
        @Given('I have a calculator')
        def set_my_calculator(self):
            self.calculator = Calculator()

        @When('I enter with 1 + 1')
        def sum_one_to_one(self):
            self.result = self.calculator.sum(1, 1)

        @Then('I have $value as result', 2)
        def get_result(self, value):
            self.result |should_be| value


    if __name__ == '__main__':
        SpecifyingMyNewCalculator.run()

Running::

    $ python calculator.py 
    Story: Specifying my new calculator
    As a lazy mathematician
    I want to use a calculator
    So that I don't waste my time thinking

    Scenario 1: Sum of 1 and 1
      Given I have a calculator   ... OK
      When I enter with 1 + 1   ... OK
      Then I have 2 as result   ... OK

    Ran 1 scenarios with 0 failures, 0 errors and 0 pending steps


pyhistorian is at github.com
----------------------------
Due to DVCS I moved pyhistorian from `Google Gode <http://code.google.com/p/pyhistorian>`_ to `github.com <http://github.com/hugobr/pyhistorian>`_. 

You can get it at `here <http://github.com/hugobr/pyhistorian>`_:

http://github.com/hugobr/pyhistorian