semvec/pypi-packages huggingface dataset:
id3parse 0.1.1
A parser and serializer for ID3v2 tags
License: MIT

===========
id3parse.py
===========

An ID3 parser and serializer for Python 3.

Example Usage
=============

Creating an ID3 tag from scratch
--------------------------------

Input::

  from id3parse import ID3, ID3TextFrame

  id3 = ID3.from_scratch()

  id3.add_frame(ID3TextFrame.from_scratch('TIT2', 'Why Don\'t You Get A Job?'))
  id3.add_frame(ID3TextFrame.from_scratch('TPE1', 'The Offspring'))

  print(id3.serialize())

Output::

  b'ID3\x04\x00\x00\x00\x00\x00=TIT2\x00\x00\x00\x1a\x00\x00\x03Why Don\'t You Get A Job?\x00TPE1\x00\x00\x00\x0f\x00\x00\x03The Offspring\x00'

Parsing an ID3 tag
------------------

Input::

  from id3parse import ID3

  id3 = ID3.from_byte_array(b'ID3\x04\x00\x00\x00\x00\x00=TIT2\x00\x00\x00\x1a\x00\x00\x03Why Don\'t You Get A Job?\x00TPE1\x00\x00\x00\x0f\x00\x00\x03The Offspring\x00')

  for f in id3.frames:
      print(f)

Output::

  TIT2: Why Don't You Get A Job?
  TPE1: The Offspring

Loading and saving an ID3 tag
-----------------------------

::

  from id3parse import ID3, ID3TextFrame

  id3 = ID3.from_file('01 - The Offspring - Why Dont You Get A Job.mp3')

  id3.add_frame(ID3TextFrame.from_scratch('TPE1', 'The Offspring'))
  id3.add_frame(ID3TextFrame.from_scratch('TIT2', 'Why Don\'t You Get A Job?'))

  id3.to_file()

Querying frames
---------------

::

  from id3parse import ID3, ID3TextFrame

  id3 = ID3.from_file('01 - The Offspring - Why Dont You Get A Job.mp3')

  tpe1 = id3.find_frame_by_name('TPE1')    # Returns a frame, fails if more than one
  tpe1.text = 'The Offspring'              # frame with this name is available

  privs = id3.find_frames_by_name('PRIV')  # Returns a list of frames
  for priv in privs:
      print(priv)

  id3.to_file()
postboy 0.3.5
simple distributed emailing system.
License: MIT

PostBoy
=======

Simple distributed emailing system.

Usually websites send emails directly in a request.
Sometime I tried to use as emailing daemon "ssmtp".
I was shocked when I tried to send ten mails from django.
This was about half a minute (about 3 seconds per letter), and my request was processed long.

This system will be save your response time because your letters will be added to queue and delivered as soon as possible.
If you have more then one server, you will have load balancing and guarantee of delivering for your mailings.

For working the Postboy needed running and configure RabbitMQ AMQP daemon.
This may used as cluster or single server instance.
For delivering will be used any localhost MTA.

Installation
++++++++++++

Quick installation the system in the Ubuntu server https://github.com/mosquito/postboy/wiki/Installation.

Using
+++++
Then try to use it in your code:

    >>> from postboy import Email, BrokerHandler
    >>> broker = BrokerHandler()
    >>> email = Email(sender='info@test.name', recipient='user@localhost', subject='Test')
    >>> broker.store(email.dumps())
    1 # <= return task id
py-utilities 0.0.3
Collection of python utilities
License: MIT

py-utilities
============

.. image:: https://badge.fury.io/py/py-utilities.svg
    :target: http://badge.fury.io/py/py-utilities

.. image:: https://travis-ci.org/ryankanno/py-utilities.png?branch=master
   :target: https://travis-ci.org/ryankanno/py-utilities

.. image:: https://coveralls.io/repos/ryankanno/py-utilities/badge.png
   :target: https://coveralls.io/r/ryankanno/py-utilities

Collection of useful python utilities.

Docs
----
They will end up somewhere.

License
-------
MIT
pelican-edit-url 0.1.1
Add edit URLs to content objects.
License: MIT

# pelican-edit-url

Pelican plugin to add an edit URL to content objects.

This plugin assumes that the parent directory of your
content directory is your project directory. If you have
the code for your site somewhere public (e.g. Github), you
can provide links to the source for each piece of content.

## Installation

```
pip install pelican-edit-url
```

Add the setting to your `pelicanconf.py`

```
EDIT_CONTENT_URL = 'https://github.com/ME/MYCOOLSITE.com/blob/master/{file_path}'
```

Put `{file_path}` wherever the path to the file should go in the url. Once this is done
you will have an `edit_url` property on your page and article objects.

```
<a href="{{ article.edit_url }}">edit on github</a>
```