{ "info": { "author": "Shane Carty", "author_email": "shane.carty@hotmail.com", "bugtrack_url": null, "classifiers": [], "description": "Guest List\n==========\n\nIntroduction\n------------\nSimple python package for a company to generate a guest list from a data file containing json encoded customer coordinates, based on their distance to the companies office.\n\nExample data file is given in 'customers.json'\n\nThe default distance is 100km and the default office location is::\n\n {\"latitude\": 53.3381985, 'longitude': -6.2592576}\n\n\nRequirements\n------------\npython3 \n\npip\n\nInstall\n------------\n::\n\n pip install guest_list\n\nUsage\n-----\n.. code:: python\n\n import guest_list\n\n # 'customers.json' must be stored in the same directory as your python script\n guests = guest_list.create(\"customers.json\")\n\n for guest in guests:\n print(\"{}: {}\".format(guest['user_id'], guest['name']))\n\nThe office location and maximum distance can be passed as arguments\n\n.. code:: python\n\n import guest_list\n\n office_coordinates = {'latitude': 53.378356, 'longitude': -6.588503}\n max_distance_km = 60.0 \n\n guests = guest_list.create(\"customers.json\", office_coordinates=office_coordinates, max_distance_km=max_distance_km)\n\n for guest in guests:\n print(\"{}: {}\".format(guest['user_id'], guest['name'])) \n\n\nTests\n---------\nTo run the tests::\n\n\tgit clone https://github.com/kujosHeist/guest_list.git\n\tcd guest_list\n\t\n\tpython setup.py test\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kujosHeist/guest_list", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "guest_list", "package_url": "https://pypi.org/project/guest_list/", "platform": "", "project_url": "https://pypi.org/project/guest_list/", "project_urls": { "Homepage": "https://github.com/kujosHeist/guest_list" }, "release_url": "https://pypi.org/project/guest_list/0.1/", "requires_dist": null, "requires_python": "", "summary": "Simple python package for a company to generate a guest list from a data file containing json encoded customer coordinates, based on their distance to the companies office.", "version": "0.1" }, "last_serial": 3630938, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "d8418ddbfd640ef4e79ac38ea346a7ff", "sha256": "86ec90739687c22df120df5392f3897ce52368a6a0c87d91212f9819852ec3ec" }, "downloads": -1, "filename": "guest_list-0.1.tar.gz", "has_sig": false, "md5_digest": "d8418ddbfd640ef4e79ac38ea346a7ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4506, "upload_time": "2018-03-02T03:38:35", "url": "https://files.pythonhosted.org/packages/63/8f/f690a4bc64ada5e624a90895ad27a8967dcf0406d852502200ea16725b10/guest_list-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d8418ddbfd640ef4e79ac38ea346a7ff", "sha256": "86ec90739687c22df120df5392f3897ce52368a6a0c87d91212f9819852ec3ec" }, "downloads": -1, "filename": "guest_list-0.1.tar.gz", "has_sig": false, "md5_digest": "d8418ddbfd640ef4e79ac38ea346a7ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4506, "upload_time": "2018-03-02T03:38:35", "url": "https://files.pythonhosted.org/packages/63/8f/f690a4bc64ada5e624a90895ad27a8967dcf0406d852502200ea16725b10/guest_list-0.1.tar.gz" } ] }