{
"info": {
"author": "Ollie Terrance",
"author_email": "",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Communications :: Chat",
"Topic :: Software Development :: Libraries"
],
"description": "SkPy\n====\n\nAn unofficial Python library for interacting with the Skype HTTP API.\n\nHere be dragons\n---------------\n\nThe upstream APIs used here are undocumented and are liable to change, which may cause parts of this library to fall apart in obvious or non-obvious ways. You have been warned.\n\nRequirements\n------------\n\n- Python 2.6+ (includes 3.x)\n- `BeautifulSoup `_\n- `Requests `_ [1]_\n- `Responses `_ (for tests)\n\n.. [1] Note that Requests no longer supports Python 3.2 -- the last working version is 2.10.0.\n\nGetting started\n---------------\n\nThe documentation gives some examples in more detail, as well as a full API specification, but here are the basics to get you started:\n\n.. code:: python\n\n from skpy import Skype\n sk = Skype(username, password) # connect to Skype\n\n sk.user # you\n sk.contacts # your contacts\n sk.chats # your conversations\n\n ch = sk.chats.create([\"joe.4\", \"daisy.5\"]) # new group conversation\n ch = sk.contacts[\"joe.4\"].chat # 1-to-1 conversation\n\n ch.sendMsg(content) # plain-text message\n ch.sendFile(open(\"song.mp3\", \"rb\"), \"song.mp3\") # file upload\n ch.sendContact(sk.contacts[\"daisy.5\"]) # contact sharing\n\n ch.getMsgs() # retrieve recent messages\n\nRate limits and sessions\n------------------------\n\nIf you make too many authentication attempts, the Skype API may temporarily rate limit you, or require a captcha to continue. For the latter, you will need to complete this in a browser with a matching IP address.\n\nTo avoid this, you should reuse the Skype token where possible. A token only appears to last 24 hours (web.skype.com forces re-authentication after that time), though you can check the expiry with ``sk.tokenExpiry``. Pass a filename as the third argument to the ``Skype()`` constructor to read and write session information to that file.\n\nEvent processing\n----------------\n\nMake your class a subclass of ``SkypeEventLoop``, then override the ``onEvent(event)`` method to handle incoming messages and other events:\n\n.. code:: python\n\n from skpy import SkypeEventLoop, SkypeNewMessageEvent\n class SkypePing(SkypeEventLoop):\n def __init__(self):\n super(SkypePing, self).__init__(username, password)\n def onEvent(self, event):\n if isinstance(event, SkypeNewMessageEvent) \\\n and not event.msg.userId == self.userId \\\n and \"ping\" in event.msg.content:\n event.msg.chat.sendMsg(\"Pong!\")\n\nCreate an instance and call its ``loop()`` method to start processing events. For programs with a frontend (e.g. a custom client), you'll likely want to put the event loop in its own thread.\n\nTests and documentation\n-----------------------\n\nUnit tests can be found in the ``test`` folder -- client test cases are designed to test the library's behaviour and parsing of mocked API responses, whereas server cases connect to the live Skype API.\n\nThe `SkPy docs `_ repo holds, in addition to docs for this library, a collection of unofficial documentation for the Skype HTTP APIs at large.",
"description_content_type": "",
"docs_url": null,
"download_url": "https://github.com/Terrance/SkPy/releases",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://skpy.t.allofti.me",
"keywords": "",
"license": "",
"maintainer": "",
"maintainer_email": "",
"name": "SkPy",
"package_url": "https://pypi.org/project/SkPy/",
"platform": "",
"project_url": "https://pypi.org/project/SkPy/",
"project_urls": {
"Download": "https://github.com/Terrance/SkPy/releases",
"Homepage": "https://skpy.t.allofti.me"
},
"release_url": "https://pypi.org/project/SkPy/0.9.1/",
"requires_dist": null,
"requires_python": "",
"summary": "An unofficial Python library for interacting with the Skype HTTP API.",
"version": "0.9.1"
},
"last_serial": 5972631,
"releases": {
"0.1": [
{
"comment_text": "",
"digests": {
"md5": "ca0d4052288ac57fe67bd9fc57902899",
"sha256": "25e99f25102881d671ba386e142ea726981dd451c68cf3fd3ba994742c787a09"
},
"downloads": -1,
"filename": "SkPy-0.1.tar.gz",
"has_sig": false,
"md5_digest": "ca0d4052288ac57fe67bd9fc57902899",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 34039,
"upload_time": "2016-03-18T21:09:15",
"url": "https://files.pythonhosted.org/packages/d9/fc/a51a7c38540abc76cf33cf49d6f39aa50185e0163e50db88ebdee35dd14b/SkPy-0.1.tar.gz"
}
],
"0.1.1": [
{
"comment_text": "",
"digests": {
"md5": "e73893025f302c36997b8a1916799711",
"sha256": "d8ca979bc4a2d7562785051d947c4286df985f6e23ad56d0b73a5508176bfbdc"
},
"downloads": -1,
"filename": "SkPy-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "e73893025f302c36997b8a1916799711",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 34350,
"upload_time": "2016-03-27T10:51:27",
"url": "https://files.pythonhosted.org/packages/65/2b/bbc10da71a6ed0a61d629ca00ba470b4c15dcbcc61ea33bf9c8cf003389c/SkPy-0.1.1.tar.gz"
}
],
"0.2": [
{
"comment_text": "",
"digests": {
"md5": "7b78d4a87db106b77d80cb95d548a162",
"sha256": "04b9b8023941592ae8f29441a6b75c93052cc4fb66be0b2f4bd0146eae431766"
},
"downloads": -1,
"filename": "SkPy-0.2.tar.gz",
"has_sig": false,
"md5_digest": "7b78d4a87db106b77d80cb95d548a162",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 35552,
"upload_time": "2016-04-16T11:07:47",
"url": "https://files.pythonhosted.org/packages/e3/ed/d7896dd6e7716b742ce1fe589d1b0f04799b874cd17ce54f7da503fff086/SkPy-0.2.tar.gz"
}
],
"0.3": [
{
"comment_text": "",
"digests": {
"md5": "1bddf35860ddf623ca992a1e2ed60769",
"sha256": "ae2bc55959c0efd2eae0670704bde0b79f1f26407f0362cfeb991eb89f2694fc"
},
"downloads": -1,
"filename": "SkPy-0.3.tar.gz",
"has_sig": false,
"md5_digest": "1bddf35860ddf623ca992a1e2ed60769",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 39246,
"upload_time": "2016-05-27T20:04:31",
"url": "https://files.pythonhosted.org/packages/bc/72/31576bbadfba6d7c1656d1bcc9bbfbf15082c001ffb5f58bec75816e2f96/SkPy-0.3.tar.gz"
}
],
"0.4": [
{
"comment_text": "",
"digests": {
"md5": "2bcd455f2ceafb59d638d9f785164c82",
"sha256": "7115b203f22c1ba10392a6e4078c729da891b0436cc3d43d19cf59f88f9b323e"
},
"downloads": -1,
"filename": "SkPy-0.4.tar.gz",
"has_sig": false,
"md5_digest": "2bcd455f2ceafb59d638d9f785164c82",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 41160,
"upload_time": "2016-07-27T21:55:43",
"url": "https://files.pythonhosted.org/packages/10/d9/ae2b5568d6720ee20151c5bb26bc7f6ae7a80cd72d40c76f4c54055b3f8c/SkPy-0.4.tar.gz"
}
],
"0.5": [
{
"comment_text": "",
"digests": {
"md5": "9403fc90a9f41543d1c3d8733237a9e1",
"sha256": "a267c581c5618dab3779051e876c4f71b356948b5cd177c317449fa2d98ee7ef"
},
"downloads": -1,
"filename": "SkPy-0.5.tar.gz",
"has_sig": false,
"md5_digest": "9403fc90a9f41543d1c3d8733237a9e1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 37503,
"upload_time": "2016-10-06T19:30:50",
"url": "https://files.pythonhosted.org/packages/30/21/aff8511e458cad121d73fa1544a38bdf8225319ca418631a9d71d5aaa998/SkPy-0.5.tar.gz"
}
],
"0.5.1": [
{
"comment_text": "",
"digests": {
"md5": "8189b95151a8e5be8e37ab8714d9d427",
"sha256": "8b992e8f5c323b359c744bd6117143373b5885aca75ed3f7248a89b295a54024"
},
"downloads": -1,
"filename": "SkPy-0.5.1.tar.gz",
"has_sig": false,
"md5_digest": "8189b95151a8e5be8e37ab8714d9d427",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 36875,
"upload_time": "2016-10-13T21:16:25",
"url": "https://files.pythonhosted.org/packages/60/27/6665f11d4781eef872fb1eb873464d8bc62b89d6e7709ac08e5a33967611/SkPy-0.5.1.tar.gz"
}
],
"0.6": [
{
"comment_text": "",
"digests": {
"md5": "eec94af3385aa453a579674ce126a36c",
"sha256": "959fd4cb92ab915063e363557c3da0cc6075e14de8b82b9642542a42bb6295af"
},
"downloads": -1,
"filename": "SkPy-0.6.tar.gz",
"has_sig": false,
"md5_digest": "eec94af3385aa453a579674ce126a36c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 37797,
"upload_time": "2016-11-08T19:31:50",
"url": "https://files.pythonhosted.org/packages/ea/bb/1c2c64f0f3eceb2996167622b789e4a9434e4df48ce597eeed849aef6180/SkPy-0.6.tar.gz"
}
],
"0.7": [
{
"comment_text": "",
"digests": {
"md5": "8c683df1f02d371901120de5000c793c",
"sha256": "cac40d26403551512644c9396c3abd145d901aab915ea551fb84b584d2b6930a"
},
"downloads": -1,
"filename": "SkPy-0.7.tar.gz",
"has_sig": false,
"md5_digest": "8c683df1f02d371901120de5000c793c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 39926,
"upload_time": "2017-01-07T15:42:04",
"url": "https://files.pythonhosted.org/packages/30/3f/6654339837e26d8998259feaab4bcf1c6f490ecb5623cc90263277ed6fb7/SkPy-0.7.tar.gz"
}
],
"0.8": [
{
"comment_text": "",
"digests": {
"md5": "7a517d21100457715f8b46d2b6d6cf4f",
"sha256": "174345e96296b473895e764f8278c4605a9261c3442b790827e98808e5d35bef"
},
"downloads": -1,
"filename": "SkPy-0.8.tar.gz",
"has_sig": false,
"md5_digest": "7a517d21100457715f8b46d2b6d6cf4f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 40761,
"upload_time": "2017-04-21T20:02:54",
"url": "https://files.pythonhosted.org/packages/29/b2/a7330087902e6381e177cbb1bc915df09753244ba4a3af76eeb3650f4190/SkPy-0.8.tar.gz"
}
],
"0.8.1": [
{
"comment_text": "",
"digests": {
"md5": "2680641b619cc3d949c0ff856baf3ead",
"sha256": "8ec3ad175d5dfa85927f6f95685391f0ddf767bc05ba2b77d00e2da6d40901e3"
},
"downloads": -1,
"filename": "SkPy-0.8.1.tar.gz",
"has_sig": false,
"md5_digest": "2680641b619cc3d949c0ff856baf3ead",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 41006,
"upload_time": "2017-10-01T17:16:04",
"url": "https://files.pythonhosted.org/packages/34/30/368e4857ece91fb88cad91f7797a53a723be5cb037f5c85565226d9fbb10/SkPy-0.8.1.tar.gz"
}
],
"0.8.2": [
{
"comment_text": "",
"digests": {
"md5": "9d6b308d14fe3a65b8dd8a686153ec76",
"sha256": "6e0834648dc9959459f097e2c95b989189b00ba4e8743cf4b2e94306c9f59a5f"
},
"downloads": -1,
"filename": "SkPy-0.8.2.tar.gz",
"has_sig": false,
"md5_digest": "9d6b308d14fe3a65b8dd8a686153ec76",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 41267,
"upload_time": "2018-04-11T17:43:33",
"url": "https://files.pythonhosted.org/packages/7d/fc/e9ae690d309db3b69db65fa6aca31c338fbae43db5a58fd314e6a3d149f7/SkPy-0.8.2.tar.gz"
}
],
"0.9": [
{
"comment_text": "",
"digests": {
"md5": "40e56be31b5b3640595af5537806b066",
"sha256": "9ad68144c74c107032fc8913b541a789862e93b714b273cb0e694e779bca5e36"
},
"downloads": -1,
"filename": "SkPy-0.9.tar.gz",
"has_sig": false,
"md5_digest": "40e56be31b5b3640595af5537806b066",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 41315,
"upload_time": "2018-07-11T19:59:39",
"url": "https://files.pythonhosted.org/packages/dc/1e/b1a1471618f7e69447f9261f1d439f71e10baec0419a505aa1a374c2c782/SkPy-0.9.tar.gz"
}
],
"0.9.1": [
{
"comment_text": "",
"digests": {
"md5": "22809ada307fcebe23650677407fdc2e",
"sha256": "a723799c40a5b8bfa184d0f0f616729bcc07b8a8e159dfe0c317b01a399f0a81"
},
"downloads": -1,
"filename": "SkPy-0.9.1.tar.gz",
"has_sig": false,
"md5_digest": "22809ada307fcebe23650677407fdc2e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 39650,
"upload_time": "2019-10-14T18:05:42",
"url": "https://files.pythonhosted.org/packages/95/e8/c1ecc814fcc6e3d0532d66e63e6de4e6405df35dad626ab2c69e25b5c5f8/SkPy-0.9.1.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "22809ada307fcebe23650677407fdc2e",
"sha256": "a723799c40a5b8bfa184d0f0f616729bcc07b8a8e159dfe0c317b01a399f0a81"
},
"downloads": -1,
"filename": "SkPy-0.9.1.tar.gz",
"has_sig": false,
"md5_digest": "22809ada307fcebe23650677407fdc2e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 39650,
"upload_time": "2019-10-14T18:05:42",
"url": "https://files.pythonhosted.org/packages/95/e8/c1ecc814fcc6e3d0532d66e63e6de4e6405df35dad626ab2c69e25b5c5f8/SkPy-0.9.1.tar.gz"
}
]
}