{ "info": { "author": "Yeddu Dinesh Babu", "author_email": "ydineshy225@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# sorted-months-weekdays\nIt sorts list of months or list of weekdays in a chronological order not in alphabetical order\n\nThe default python or pandas sort functions sort month names and weekdays in an alphabetical order. I checked a lot to find a function which sorts in chronological order but couldn't find one, so I created this simple package.\n\n# How to install\n pip install sorted-months-weekdays\n \nThere are two main functions in this package\n Month_Sorted_Month\n Weekday_Sorted_Week\n \n# How to import\n from sorted_months_weekdays import Month_Sorted_Month, Weekday_Sorted_Week\n \n# Example1\n```python\n samplemonthnames1 = ['Apr','Jan','Dec','Mar','Oct']\n samplemonthnames2 = ['December', 'January', 'June', 'March', 'September']\n \n Month_Sorted_Month(samplemonthnames1)\n Result: ['Jan', 'Mar', 'Apr', 'Oct', 'Dec']\n \n Month_Sorted_Month(samplemonthnames2)\n Result: ['January', 'March', 'June', 'September', 'December']\n```\n# Example2\n``` python\n testweeknames1 = ['Tue','Thu','Mon','Sun']\n testweeknames2 = ['Saturday','Tuesday','Friday','Monday']\n \n Weekday_Sorted_Week(testweeknames1)\n Result: ['Mon', 'Tue', 'Thu', 'Sun']\n \n Weekday_Sorted_Week(testweeknames2)\n Result: ['Monday', 'Tuesday', 'Friday', 'Saturday']\n```\nThis function also handles lower and upper case and mixed case months and weekdays lists.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ydineshy225/sorted-months-weekdays", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "sorted-months-weekdays", "package_url": "https://pypi.org/project/sorted-months-weekdays/", "platform": "", "project_url": "https://pypi.org/project/sorted-months-weekdays/", "project_urls": { "Homepage": "https://github.com/ydineshy225/sorted-months-weekdays" }, "release_url": "https://pypi.org/project/sorted-months-weekdays/0.2/", "requires_dist": null, "requires_python": "", "summary": "Get sorted Months and Weeks by chronological order", "version": "0.2" }, "last_serial": 4899162, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "3a8f97102ad2385637562b1898f7a9ea", "sha256": "6e81464845f8b5f0ff4acfb232194c12a7a09b0afd9274e82a02e7ab15fc117b" }, "downloads": -1, "filename": "sorted_months_weekdays-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "3a8f97102ad2385637562b1898f7a9ea", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3407, "upload_time": "2018-02-21T09:42:07", "url": "https://files.pythonhosted.org/packages/fb/3a/4b6c57b2896e8a75f82f1f0730ad441637fa3119ef3ac3f17d0fa710e568/sorted_months_weekdays-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a6dab15a261010c711648d2b75abfbbe", "sha256": "abce086687ad97fc3c3b75e8bba9ac5df6143b4308d4117eb0e0dac524519406" }, "downloads": -1, "filename": "sorted_months_weekdays-0.1.tar.gz", "has_sig": false, "md5_digest": "a6dab15a261010c711648d2b75abfbbe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1873, "upload_time": "2018-02-21T09:42:10", "url": "https://files.pythonhosted.org/packages/9e/b7/7db3b1ae2ce2e855fc407af21e9e607db8b272a4f80caeee8419d213cf71/sorted_months_weekdays-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "298ec233414dc68c67fc26aaed1a58f9", "sha256": "da789b04ef3cbb24df8044cef14669b3f9a5ade729ad4f3be04cb36f7612d824" }, "downloads": -1, "filename": "sorted_months_weekdays-0.2.tar.gz", "has_sig": false, "md5_digest": "298ec233414dc68c67fc26aaed1a58f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2677, "upload_time": "2019-03-05T12:18:50", "url": "https://files.pythonhosted.org/packages/8a/96/885ab16f3653bcf7a035b9dcf0089f2b5e26a2af76573fc458dcb51758fe/sorted_months_weekdays-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "298ec233414dc68c67fc26aaed1a58f9", "sha256": "da789b04ef3cbb24df8044cef14669b3f9a5ade729ad4f3be04cb36f7612d824" }, "downloads": -1, "filename": "sorted_months_weekdays-0.2.tar.gz", "has_sig": false, "md5_digest": "298ec233414dc68c67fc26aaed1a58f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2677, "upload_time": "2019-03-05T12:18:50", "url": "https://files.pythonhosted.org/packages/8a/96/885ab16f3653bcf7a035b9dcf0089f2b5e26a2af76573fc458dcb51758fe/sorted_months_weekdays-0.2.tar.gz" } ] }