semvec/pypi-packages huggingface dataset:
tagtool 1.0.7
Tagtool allows you to perform mass ID3 tag cleaning operations.
License: MIT

tagtool
=======

Mass clean metadata of downloaded MP3 songs.

I wrote the initial version as a `simple
script <https://github.com/dufferzafar/tagtool/blob/old/tagfix.py>`__
that just worked. This tool later became an exercise in command line
application design as I'd never done it before. It uses
`docopt <http://docopt.org/>`__ (along with some hackery to allow
sub-commands)

install
-------

``pip install tagtool``

You could also use ```pipsi`` <https://github.com/mitsuhiko/pipsi>`__ to
install.

usage
-----

::

    Usage:
        tagtool [--no-skip] <command> [<args>...]

    Commands:
        replace     Perform regex replace on tags
        remove      Remove tag frames
        rename      Rename files to format: "%TrackTitle%.mp3"
        help        Read about a specific command

    Options:
        --no-skip   Do not skip already tagged files

commands
--------

**``replace``**

::

    Perform regex replace on tags like artist name, track title etc.

    Usage:
        tagtool replace --pattern=<pattern> [--repl=<replacement>] <file>...
                        [--prune] [--frames=<tags>] [--frames_skip=<tags>]

    Options:
        <file>                       MP3 file(s) to process
        --pattern=<pattern>          Pattern to search for
        --repl=<replacement>         Replacement text
        --prune                      Remove empty frames
        --frames=<frames>            Comma separated list of frames to
                                     restrict replacement to
        --frames_skip=<frames>       Comma separated list of frames to skip

    Examples:
        tagtool replace --pattern='\s+\d+\s+' --repl='' --prune SomeSong.mp3 --frames_skip=TOPE,TIT2

**``remove``**

::

    Remove tag frames.

    Usage:
        tagtool remove  --frames=<tags> <file>...
                        [--prefix]

    Options:
        <file>                       MP3 file(s) to process
        --frames=<frames>            Comma separated list of frames to remove
        --prefix                     Consider the list of frames as prefixes

    Examples:
        tagtool remove --frames=APIC,COMM,USLT *.mp3

**``rename``**

::

    Rename a file with it's track title.

    Usage:
        tagtool rename <file>...

    Options:
        <file>                       MP3 file(s) to process

    Examples:
        tagtool rename *.mp3

tagfix
------

Tagfix is a script that uses the available tagtool commands as building
blocks and performs multiple cleaning operation on files in one pass. If
you download music from sites like `songspk <http://songspk.cc/>`__,
`djmaza <www.djmaza.info/>`__ etc. then this script is for you. It
removes all mention of these websites from the tags.
terrabot 1.0.3
A library for making Terraria bots in a event driven manner
License: MIT
Keywords: terraria bot event driven library

Terrabot
========

Introduction
------------

|PyPI version|

| Terrabot is a Terraria bot API written in Python.
| It is designed to be easy to use and uses the event-listener pattern.

Installation
------------

Install the module using pip:

::

    pip3 install terrabot

Current features
----------------

-  Joining servers
-  Chatting
-  Triggering various events, like joining, tiledata and itemdrops
-  Parsing server data to keep classes up-to-date
-  Moving the bot by teleporting

Examples
--------

The following is a very basic bot, which will connect and handle chat.

--------------

.. code:: python

    from terrabot import TerraBot
    from terrabot.events import Events

    #Create a TerraBot object
    bot = TerraBot('127.0.0.1')
    event = bot.get_event_manager()

    #Connect a function to an event using a decorator
    @event.on_event(Events.Chat)
    def chat(event_id, msg):
        #Do something with the message
        #In this case, stop the bot if the word "Stop" occurs
        print(msg)
        if "stop" in msg:
            bot.stop()

    #Start the bot
    bot.start()

    #And wait
    while bot.running:
    pass

More examples can be found under the 'examples' directory. Also check
the wiki for more information about the inner workings of the bot and
how to interface with it.

Contributing
------------

If you want to contribute, that's great! I would really appreciate the
help. Just send a pull request and i'll quickly check and accept it.
These are some areas that need work:

-  NPC packet parsing
-  Item dropping
-  Teleporting other players (>:D)
-  Synchronizing packets like health and update-player-packets
-  Placing tiles (!)

For information about the packets, see `this
link <https://tshock.atlassian.net/wiki/display/TSHOCKPLUGINS/Packet+Documentation>`__.

.. |PyPI version| image:: https://badge.fury.io/py/terrabot.svg
   :target: https://badge.fury.io/py/terrabot