{ "info": { "author": "Tilemachos Charalampous", "author_email": "tilemachos.charalampous@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "pushbots\n========\n\n| A python 2/python 3 REST API library module (wrapper) for\n `pushbots `__. The module, the tests and the\n examples work for both python 2 and python 3 versions.\n| Current \"pushbots\" module supports all of the pushbots API calls. List\n of supported API calls follow: \n\n- Register (For testing API call)\n- Register Batch (For testing API call)\n- unRegister (For testing API call)\n- Alias\n- Tag\n- unTag\n- Device Location (For testing API call)\n- Devices Info\n- Device Info (For testing API call)\n- Push (For testing API call)\n- Push Batch\n- Get Push analytics\n- Record Analytics\n\nIn the list above, some of the API calls are tagged with \"(For testing\nAPI call)\". This means that a token is needed to perform those API calls\nand since this module is reserved for backends, you, normally, won't be\nusing those API calls. Though you can retrieve device tokens based on\nalias, tags, etc through devices info (see\nexamples/get\\_token\\_from\\_alias.py and examples/location.py,\nexamples/unregister.py for more info):\n\nThere is also a second list of generic API calls, for calls not listed\nin the first list. At the moment of creating this all API calls are\nsupported. This is provided for future API calls:\n\n- Put (For generic put API calls, not listed above)\n- Post (For generic post API calls, not listed above)\n- Get (For generic get API calls, not listed above)\n\nInstall\n-------\n\nYou can choose to install \"pushbots\". If you don't want to install it,\nyou can manually copy the \"pushbots\" package into your project. There\nare two ways to install \"pushbots\".\n\n- With pip: ``pip install pushbots``\n- Manually: Go to `releases `__ and download\n the latest version. Extract the compressed file, navigate to project's\n root directory and run: ``python setup.py install``\n\nDependencies\n------------\n\n| For \"pushbots\" to work, python \"requests\" must be installed. If you\n already have \"setuptools\" installed and choose to install \"pushbots\"\n from pip or setup.py, you don't have to manually install \"requests\".\n On any other case, you must install it manually:\n| http://docs.python-requests.org/en/latest/\n\n.. code:: bash\n\n pip install requests\n\nHow to use\n----------\n\n.. code:: python\n\n from pushbots import Pushbots\n # Your code\n\nExamples\n--------\n\nYou can find examples under pushbots/examples directory. If there is an\nAPI call missing from the first list mentioned above, you can view the\nexamples/generic.py examples, on how to make custom API calls, listed in\nthe second list mentioned (put, post, get). If you want to perform token\noperations, you can use the examples/get\\_token\\_from\\_alias.py to get\nthe devices tokens and platforms associated with a specific alias. Also\nthe files, examples/location.py and examples/unregister.py make use of\ntokens to make an API call, whereas all the other files in examples make\nuse of alias, tags etc for the API calls.\n\nTests\n-----\n\nThe tests package is located under pushbots directory. Tests create\nvirtual devices to test the API calls provided by \"pushbots\" module. You\ncan run the tests by typing:\n\n.. code:: bash\n\n python -m pushbots.tests.run\n\nIf you want help on how to run tests, type:\n\n.. code:: bash\n\n python -m pushbots.tests.run -h", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/tchar/pushbots/releases", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tchar/pushbots", "keywords": "pushbots,push,push notifications,gcm,google cloud messaging", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pushbots", "package_url": "https://pypi.org/project/pushbots/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pushbots/", "project_urls": { "Download": "https://github.com/tchar/pushbots/releases", "Homepage": "https://github.com/tchar/pushbots" }, "release_url": "https://pypi.org/project/pushbots/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "REST API library for pushbots.", "version": "0.0.2" }, "last_serial": 1940694, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "ab0ad08f9f09bf5c21c8f6b9c361fa7b", "sha256": "066849932abe7f05d4a30393874a5950c752686baba3cf6e25dd25b83849aee7" }, "downloads": -1, "filename": "pushbots-0.0.1.tar.gz", "has_sig": false, "md5_digest": "ab0ad08f9f09bf5c21c8f6b9c361fa7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13496, "upload_time": "2015-09-18T02:08:28", "url": "https://files.pythonhosted.org/packages/39/45/aece0b5cde1d8818918ce9959e8ce2106c361b2ef99cc4b56d6b0fcce9ee/pushbots-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "5d72e139fd8da3497df8852e26f46fdd", "sha256": "7c18d5ddb996c9475cdb5c5835c46052beae45245f74e92157458198b4211220" }, "downloads": -1, "filename": "pushbots-0.0.2.tar.gz", "has_sig": false, "md5_digest": "5d72e139fd8da3497df8852e26f46fdd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13524, "upload_time": "2016-02-04T22:52:04", "url": "https://files.pythonhosted.org/packages/87/11/7c3aec81f0217d07cd639b51156da5ab5fbcc532e9105b5d8fc29548bee5/pushbots-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5d72e139fd8da3497df8852e26f46fdd", "sha256": "7c18d5ddb996c9475cdb5c5835c46052beae45245f74e92157458198b4211220" }, "downloads": -1, "filename": "pushbots-0.0.2.tar.gz", "has_sig": false, "md5_digest": "5d72e139fd8da3497df8852e26f46fdd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13524, "upload_time": "2016-02-04T22:52:04", "url": "https://files.pythonhosted.org/packages/87/11/7c3aec81f0217d07cd639b51156da5ab5fbcc532e9105b5d8fc29548bee5/pushbots-0.0.2.tar.gz" } ] }