<commit_before>sc
==

``sc`` is a cli tool for interacting with Soundcloud.

Install
-------

::

    pip install sc-cli

<commit_msg>Update README.rst.<commit_after>sc
==

``sc`` is a command-line interface Soundcloud. It allows you to compress
and upload audio to Soundcloud, and will eventually support many other
useful features.

Install
-------

Preferred method of install is ``pip``:

::

    $ pip install sc-cli

Then run ``sc auth`` to authenticate with Soundcloud: ``sc`` will try to
guess your username based on your system account name:

::

    $ sc auth
    Enter username (zk): requite
    Enter password:
    Saved access_token.

Usage
-----

You can use the ``sc upload`` command to upload audio to Soundcloud. If
you specify a ``.wav`` file ``sc`` will compress the audio for you (if
``lame`` is installed). By default uploaded audio is set to private, and
you'll get the secret link for sharing:

::

    $ sc upload mysong.mp3
    uploading mysong.mp3 [==================================================] 100%
    http://soundcloud.com/requite/mysong/s-oFATH

You can also specify tons of other options, genre, tags etc. Check the
usage with ``--help``:

::

    $ sc upload --help
    usage: sc upload [-h] [--public] [--compress] [--no-compress] [--downloadable]
                     [--no-downloadable] [--bitrate BITRATE] [--artist ARTIST]
                     [--title TITLE] [--album ALBUM] [--year YEAR]
                     [--description DESCRIPTION] [--genre GENRE] [--tags TAGS]
                     [--artwork ARTWORK]
                     filename

    positional arguments:
      filename              filename to upload

    optional arguments:
      -h, --help            show this help message and exit
      --public              make track public
      --compress            compress file
      --no-compress         do not compress file
      --downloadable        allow downloads
      --no-downloadable     disallow downloads
      --bitrate BITRATE     bitrate for compression
      --artist ARTIST       id3 title
      --title TITLE         id3 title
      --album ALBUM         id3 album
      --year YEAR           id3 year
      --description DESCRIPTION
                            description of track
      --genre GENRE         genre of track
      --tags TAGS           comma separated list of tags
      --artwork ARTWORK     artwork to use for song


{'fraction_non_alphanumeric': 0.11508101371001246, 'fraction_numerical': 0.003739094308267553, 'mean_word_length': 1.9582309582309583, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4454499', 'n_tokens_mistral': 672, 'n_tokens_neox': 633, 'n_words': 260}