semvec/pypi-packages huggingface dataset:
feedfinder2 0.0.4
Find the feed URLs for a website.
License: MIT

Feedfinder2
===========

This is a Python library for finding links feeds on a website. It is based on
`feedfinder <http://www.aaronsw.com/2002/feedfinder/>`_ - originally
written by `Mark
Pilgrim <http://en.wikipedia.org/wiki/Mark_Pilgrim_(software_developer)>`_ and
subsequently maintained by `Aaron
Swartz <http://en.wikipedia.org/wiki/Aaron_Swartz>`_ until his untimely death.

Usage
-----

Feedfinder2 offers a single public function: ``find_feeds``. You would use it
as follows:

::

    from feedfinder2 import find_feeds
    feeds = find_feeds("xkcd.com")

Now, ``feeds`` is the list: ``['http://xkcd.com/atom.xml',
'http://xkcd.com/rss.xml']``. There is some attempt made to rank feeds from
best candidate to worst but... well... you never know.

License
-------

Feedfinder2 is licensed under the MIT license (see LICENSE).
mpijobs 0.2.2
Run many jobs using MPI processes through a master/slave approach
License: MIT
Keywords: mpi master/slave

Mpijobs
=======

A Python3 library for running many jobs on multiple processes, using
MPI.

Example
-------

The following example runs 3 jobs. For each of them, a message is
printed on the screen.

.. code-block:: python

    from mpi4py import MPI
    from time import sleep

    import mpijobs

    class MyJob(mpijobs.Job):
        def __init__(self,
                     params):
            super().__init__()
            self.params = params
            self.result_str = None

        def run(self, rank):
            print("Hi, I am {0} (process {1})".format(self.params, rank))

            # Pretend you're doing something useful
            sleep(1.0)

            # Perform a simple computation and save the result
            self.result_str = self.params.upper()

    JOB_LIST = [MyJob(name) for name in ('Bob', 'Alice', 'Stephen')]
    RESULTS = mpijobs.run_event_loop(MPI.COMM_WORLD, JOB_LIST)

    if MPI.COMM_WORLD.rank == 0: # Only one process should print the results
        print("strings computed by the processes = [{0}]"
              .format(', '.join([x.result_str for x in RESULTS])))
        print("elapsed_time = [{0}]"
              .format(', '.join([str(x.running_time) for x in RESULTS])))


The program must be run using ``mpirun`` (or an equivalent program,
depending on your MPI library)::

    mpirun -n 3 python3 example.py

The output is the following (actual ranks and times might vary)::

    Hi, I am Stephen (process 2)
    Hi, I am Alice (process 1)
    Hi, I am Bob (process 1)
    strings computed by the processes = [ALICE, STEPHEN, BOB]
    elapsed_time = [0:00:01.001056, 0:00:01.001088, 0:00:01.001041]

Copyright
---------

See the COPYRIGHT.md file.
aserializer 0.8.1
An object serializer inspired by the django forms.
License: MIT

===========
aserializer
===========

.. image:: https://travis-ci.org/onyg/aserializer.png?branch=master
  :target: https://travis-ci.org/onyg/aserializer

.. image:: https://img.shields.io/coveralls/onyg/aserializer/master.svg
  :target: https://coveralls.io/github/onyg/aserializer?branch=master

.. image:: https://img.shields.io/pypi/v/aserializer.svg
   :target: https://pypi.python.org/pypi/aserializer/
   :alt: pypi

About
=====

aserializer is an object serializer inspired by the django forms.

Examples
========
**Examples how code looks like**::

  class Address(Serializer):
      id = IntegerField(required=True, identity=True)
      street = StringField(required=True)
      streetNumber = StringField(required=True)
      city = StringField(required=False)
      country = StringField(required=False)

  class User(Serializer):
      _type = TypeField('user')
      id = IntegerField(required=True, identity=True)
      name = StringField(required=True)
      email = EmailField(required=True)
      tel = StringField(required=False, min_length=10, max_length=50)
      address = SerializerField(Address, required=True)


**Result**::

  user = User(DATA)
  user.dump()

  {
    "_type": "user",
    "id": 1,
    "name": "Joe",
    "email": "joe@example.com",
    "tel": "+49 555 555 12",
    "address": {
      "id": 1,
      "street": "Street",
      "streetNumber": "5a",
      "city": "Berlin",
      "country": "Germany"
    }
  }


Tests
=====
To run the tests use the command: ``python setup.py nosetests``


Contributing
============

Please find bugs and send pull requests to the `GitHub repository`_ and `issue tracker`_.

.. _GitHub repository: https://github.com/onyg/aserializer
.. _issue tracker: https://github.com/onyg/aserializer/issues