semvec/pypi-packages huggingface dataset:
roboclone 2.0
A script for cloning FRC robot projects and configuring them for Eclipse
License: MIT

RoboClone |buildstatus| |pypiversion|
=========================================================================================================================================
A neat little script for cloning git repositories containing FRC robot projects
and configuring them for use with Eclipse.

Install Instructions
--------------------
Open a terminal and run::

   pip install roboclone

If you want the very latest version pushed to git then run::

   pip install git+https://github.com/simon-andrews/roboclone.git

Usage
-----
Now that you have RoboClone installed, it's time to use it! Open a terminal and type `roboclone`. Something like this
should show up::

   $ roboclone
   usage: roboclone [-h] [--gitargs args] [--force [FORCE]]
                    remote_url destination
   roboclone: error: the following arguments are required: remote_url, destination

Add the `-h` switch to show a help message::

   $ roboclone -h
   usage: roboclone [-h] [--gitargs args] [--force [FORCE]]
                    remote_url destination

   positional arguments:
     remote_url       url of the remote git repository (https or ssh)
     destination      directory to clone repository to

   optional arguments:
     -h, --help       show this help message and exit
     --gitargs args   extra arguments for git
     --force [FORCE]  write metadata files even if they already exist in the repo

Clone a repository::

   $ roboclone https://github.com/Team4761/2015-Robot-Code.git 2015-Robot-Code
   100%

.. |buildstatus| image:: https://img.shields.io/travis/simon-andrews/roboclone.svg
    :target: https://travis-ci.org/simon-andrews/roboclone

.. |pypiversion| image:: https://img.shields.io/pypi/v/roboclone.svg
    :target: https://pypi.python.org/pypi/roboclone/
dictcom 0.0.3
A pseudo-API for Dictionary.com that works by scraping its website.
License: MIT

************
dictcom
************

dictcom is a simple Python package that extract dictionary info from Dictionary.com via web scraping. It can be thought of as an unofficial "API" for Dictionary.com.

************
Installation
************

dictcom is available on PyPI::

    $ pip install dictcom

Currently it only works under Python 3. Tested with Python 3.4 and 3.5.

************
Usage
************

The package itself exposes two main methods, ``get_word`` and ``get_word_pronunciation``. 

``get_word`` downloads all the data found for the word provided and packages it into a ``Word`` object::

  import dictcom
  word = dictcom.get_word('something')  # an instance of dictcom.models.Word

You can access the word's pronunciation (the textual representation of it) via the ``pronunciation`` property::

  word.pronunciation # '[suhm-thing]'

The definitions are found under the ``defs`` property, as a dictionary. Each key of the dictionary represents one definition subsection, which usually means a different part of speech (for example noun or pronoun)::

  word.defs.keys() # ['pronoun', 'noun', 'adverb']
  
The value under each key is a list of ``Definition`` instances. Each definition has two properties, ``text`` and ``example``.

One can also download the audio file for the word's pronunciation::

  pronun = word.get_pronunciation_audio() # an instance of dictcom.models.WordPronunciation
  pronun.audio # raw audio buffer
  pronun.content_type # the MIME type of the buffer data
  
You can also immediately get the pronunciation audio with ``get_word_pronunciation``, the other method exposed by the package.