{ "info": { "author": "Mathias Lafeldt", "author_email": "mathias.lafeldt@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3" ], "description": "Camplight\n=========\n\nCamplight is a Python implementation of the `Campfire\nAPI `__.\n\nThe project comes with a Python module that can be imported via\n``import camplight`` and a simple command-line tool named ``camplight``\nto utilize it.\n\nInstallation\n------------\n\nThe easiest way to install Camplight and its dependencies:\n\n::\n\n $ pip install camplight\n\nAlternatively, you can install it from source:\n\n::\n\n $ git clone git://github.com/mlafeldt/camplight.git\n $ cd camplight/\n $ python setup.py install\n\n(Note that Camplight requires\n`Requests `__.)\n\nAPI Usage\n---------\n\n.. code:: python\n\n from camplight import Request, Campfire\n\n request = Request('https://your-subdomain.campfirenow.com', 'your_token')\n campfire = Campfire(request)\n\n account = campfire.account()\n rooms = campfire.rooms()\n\n room = campfire.room('Danger')\n room.join()\n room.speak('ohai')\n room.leave()\n\nClient Usage\n------------\n\n::\n\n Usage: camplight [options] [args]\n\n Options:\n -h, --help show this help message and exit\n -u URL, --url=URL set Campfire URL\n -t TOKEN, --token=TOKEN\n set API token for authentication\n -r ROOM, --room=ROOM set Campfire room\n -v, --verbose be more verbose\n\n Global commands:\n account get account information\n rooms list available rooms\n user [id] get user information\n presence list rooms the user is present in\n search search transcripts for term\n\n Room commands (require --room to be set):\n status get general room information\n recent list recent messages in the room\n transcript list all messages sent today to the room\n uploads list recently uploaded files in the room\n join join the room\n leave leave the room\n lock lock the room\n unlock unlock the room\n speak send a regular chat message\n paste paste a message\n play play a sound\n set-name change the room's name\n set-topic change the room's topic\n\n Environment variables:\n CAMPFIRE_URL same as --url\n CAMPFIRE_TOKEN same as --token\n CAMPFIRE_ROOM same as --room\n CAMPFIRE_VERBOSE same as --verbose\n\nTesting\n-------\n\n|Build Status|\n\nAfter cloning the repository, run the test suite using:\n\n::\n\n $ python setup.py test\n\nYou can generate a coverage report using\n`coverage.py `__. First,\ninstall the coverage package:\n\n::\n\n $ pip install coverage\n\nNow gather the data by running:\n\n::\n\n $ coverage run setup.py test\n\nAnd create a report:\n\n::\n\n $ coverage report\n\nYou can also create a much nicer HTML report:\n\n::\n\n $ coverage html\n\nNow open ``htmlcov/index.html`` in your browser.\n\nLicense\n-------\n\nCamplight is licensed under the terms of the MIT License. See\n`LICENSE `__\nfile.\n\nContact\n-------\n\n- Web: http://mlafeldt.github.com/camplight\n- Mail: mathias.lafeldt@gmail.com\n- Twitter: `@mlafeldt `__\n\n.. |Build Status| image:: https://travis-ci.org/mlafeldt/camplight.png?branch=master\n :target: https://travis-ci.org/mlafeldt/camplight\n\n\nHistory\n=======\n\nv0.9.6 (Aug 12 2013)\n--------------------\n\n- Add optional date parameter to ``Room.transcript()``. Format must be\n YYYY/MM/DD. Contributed by @luchux.\n\nv0.9.5 (Jul 16 2013)\n--------------------\n\n- Generate reStructuredText from markdown using\n ``python setup.py doc``. I want to keep using markdown.\n\nv0.9.4 (Jul 16 2013)\n--------------------\n\n- Convert documentation to reStructuredText for PyPI.\n- Recommend using ``pip install camplight`` in README.\n- Define one file per line in MANIFEST.in.\n\nv0.9.3 (Jul 10 2013)\n--------------------\n\n- Add MANIFEST.in for PyPI.\n\nv0.9.2 (Jul 10 2013)\n--------------------\n\n- Fix setup.py for PyPI.\n\nv0.9.1 (Feb 18 2013)\n--------------------\n\n- Use HTTPretty as mock library for unit tests.\n- Add Travis build status to README.\n- Update classifiers in setup.py.\n\nv0.9 (Feb 15 2013)\n------------------\n\n- Fix exit status of ``python setup.py test``.\n- Update copyright year in LICENSE file.\n\nv0.8 (Feb 8 2013)\n-----------------\n\n- Fix JSON decoding in case no text is returned. Reported by @astiam.\n- Travis: run tests against Python 3.3.\n\nv0.7 (Dec 19 2012)\n------------------\n\n- Fix path to Camplight module in unit tests.\n- Update to Requests version 1.0.3.\n\nv0.6 (Nov 6 2012)\n-----------------\n\n- Use `pytest `__ for unit testing.\n\nv0.5 (Oct 30 2012)\n------------------\n\n- Add test coverage using\n `coverage.py `__.\n (@keimlink)\n- Properly set ``tests_require`` and ``extras_require`` in setup.py.\n (@keimlink)\n- Work around dependency error returned by ``pip install`` by\n hardcoding the current Camplight version in setup.py. (@jwilder)\n\nv0.4 (Aug 8 2012)\n-----------------\n\n- Add unit tests; run them via ``python setup.py test``.\n- Add Travis CI config.\n- Python 3 compatibility.\n\nv0.3 (Aug 6 2012)\n-----------------\n\n- Rewrite command-line interface from scratch.\n- Add dedicated Camplight exceptions.\n- Make use of ``Response.json`` from Requests v0.12.1.\n- Add verbose mode.\n- More sounds.\n- Tweak per-file docstrings.\n- Add ``setup.py``.\n- Add much more documentation.\n\nv0.2 (Oct 25 2011)\n------------------\n\n- Use `requests `__ as HTTP\n library.\n- Move all HTTP/JSON handling to separate class.\n- Split up code into camplight package and runner script.\n- More pythonic coding style. Fix PEP8 errors.\n- Add ability to get account information (account.json).\n- More (undocumented) sounds.\n- Add MIT license text.\n\nv0.1 (May 30 2011)\n------------------\n\n- First tagged version.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mlafeldt/camplight", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "camplight", "package_url": "https://pypi.org/project/camplight/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/camplight/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mlafeldt/camplight" }, "release_url": "https://pypi.org/project/camplight/0.9.6/", "requires_dist": null, "requires_python": null, "summary": "Python implementation of the Campfire API", "version": "0.9.6" }, "last_serial": 838314, "releases": { "0.9.1": [ { "comment_text": "", "digests": { "md5": "1faa34d6799d2d7731245ed816bf745e", "sha256": "b7f735e269c39dad15045f368b9c9025b75978aaca1d15da7936b80a5a7b5780" }, "downloads": -1, "filename": "camplight-0.9.1.tar.gz", "has_sig": false, "md5_digest": "1faa34d6799d2d7731245ed816bf745e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7450, "upload_time": "2013-07-10T10:40:14", "url": "https://files.pythonhosted.org/packages/c9/5f/6b44eeedade94c134fc60dfed088b3c2498198e598b75a9b0f83e8c27ee7/camplight-0.9.1.tar.gz" } ], "0.9.2": [ { "comment_text": "", "digests": { "md5": "017071aa003f55c5833d83114db2298b", "sha256": "ff500c16694e13eff7832789092d5ce879eec51296570c01c000054f6718dd53" }, "downloads": -1, "filename": "camplight-0.9.2.tar.gz", "has_sig": false, "md5_digest": "017071aa003f55c5833d83114db2298b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7485, "upload_time": "2013-07-10T10:54:36", "url": "https://files.pythonhosted.org/packages/42/de/4150ae88d0263fd2be926346e025e97727eb9751fd912f3ad820d1344eb7/camplight-0.9.2.tar.gz" } ], "0.9.3": [ { "comment_text": "", "digests": { "md5": "b7f043cae61f948fd928505b2fe845e6", "sha256": "9805c0c489b310448ccbb048df90a9be93e8d53a92b34843c5a39e52cbf0e258" }, "downloads": -1, "filename": "camplight-0.9.3.tar.gz", "has_sig": false, "md5_digest": "b7f043cae61f948fd928505b2fe845e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8881, "upload_time": "2013-07-10T10:59:50", "url": "https://files.pythonhosted.org/packages/15/5e/03d4202bb0666e881bf4421b37175060563bda8ed4879ae43a64d1cea513/camplight-0.9.3.tar.gz" } ], "0.9.4": [ { "comment_text": "", "digests": { "md5": "4f8ffb5cac3d38b73665ad68f70cac51", "sha256": "9419673345d8fd52ae98bff0d523e72aa1b6a75665560b1864c00691ea9f5245" }, "downloads": -1, "filename": "camplight-0.9.4.tar.gz", "has_sig": false, "md5_digest": "4f8ffb5cac3d38b73665ad68f70cac51", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8955, "upload_time": "2013-07-16T10:38:54", "url": "https://files.pythonhosted.org/packages/71/e4/d21c35039dfe3d12e7533e26a4e9e44ca65f5135a0d9ad61d3b0556e66c3/camplight-0.9.4.tar.gz" } ], "0.9.5": [ { "comment_text": "", "digests": { "md5": "ac904796b0f93202c3e8b759cd6bd7b5", "sha256": "4d68e0b390d18e3b0083d3a29efad4c15a6c01e567af25ed490696a18e578f0a" }, "downloads": -1, "filename": "camplight-0.9.5.tar.gz", "has_sig": false, "md5_digest": "ac904796b0f93202c3e8b759cd6bd7b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9815, "upload_time": "2013-07-16T11:51:30", "url": "https://files.pythonhosted.org/packages/af/5b/89a2653ead3a65bd45f11e59cf4e28edc46a1a3fc4e89a4cd9ffbfcca0dd/camplight-0.9.5.tar.gz" } ], "0.9.6": [ { "comment_text": "", "digests": { "md5": "716cc7a4ea30da34ae4fcbfe2784ce59", "sha256": "82a5f67840c67be93953ebb5cb7c5958912b9803849aaba59ed69ff82587289d" }, "downloads": -1, "filename": "camplight-0.9.6.tar.gz", "has_sig": false, "md5_digest": "716cc7a4ea30da34ae4fcbfe2784ce59", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10030, "upload_time": "2013-08-12T15:51:50", "url": "https://files.pythonhosted.org/packages/60/df/bed89a1f1d06632b192eff09a8fa75f85e0080ff70229c8145fbc3b2afa8/camplight-0.9.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "716cc7a4ea30da34ae4fcbfe2784ce59", "sha256": "82a5f67840c67be93953ebb5cb7c5958912b9803849aaba59ed69ff82587289d" }, "downloads": -1, "filename": "camplight-0.9.6.tar.gz", "has_sig": false, "md5_digest": "716cc7a4ea30da34ae4fcbfe2784ce59", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10030, "upload_time": "2013-08-12T15:51:50", "url": "https://files.pythonhosted.org/packages/60/df/bed89a1f1d06632b192eff09a8fa75f85e0080ff70229c8145fbc3b2afa8/camplight-0.9.6.tar.gz" } ] }