{ "info": { "author": "Matt GdV", "author_email": "matthewgdv@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Programming Language :: Python :: 3.7" ], "description": "Overview\n====================\n\nProvides subclasses for certain python builtins (str, list, dict) and common complex types (datetime, Enum, DataFrame, BeautifulSoup) which add functionality and\nconvenience methods/properties.\n\nThe `Str` class (subclasses `str`)\n--------------------\n* Can be sliced\n* Complex slicing methods\n* Regular expression operations\n* Fuzzy matching\n* Clipboard functionality\n* Casing\n* Stripping\n\nThe `List_` class (subclasses `list`)\n--------------------\n* Method chaining on in-place mutation methods (`list.append()`, `list.clear()` etc.)\n* Complex slicing methods\n* Fuzzy matching\n\nThe `Dict_` class (subclasses `dict`)\n--------------------\n* Method chaining on in-place mutation methods (`dict.update()`, `dict.clear()` etc.)\n* filtering and getting values based on regular expressions, for keys that are strings.\n\nThe `DateTime` class (subclasses `datetime.datetime`)\n--------------------\n* `DateTime.delta()` method (timedelta addition and subtraction using keyword arguments)\n* Methods representing the DateTime in various useful formats\n* FormatCode Enum, that can be used with `DateTime.strftime()` and `DateTime.strptime()`.\n* Accessor objects that shadow the object's basic attributes as PascalCase (`DateTime.Year` for `DateTime.year`, `DateTime.MicroSecond` for `DateTime.microsecond` etc.) which\n return that attribute as a string in various formats, based on the available format codes of the datetime class.\n\nThe `Enum` class (subclasses `aenum.Enum`)\n--------------------\n* Incorporates the aenum library's `extend_enum` function directly as `Enum.extend_enum()`\n* returns the value of its members on attribute access, rather than the members themselves.\n\nThe `Markup` class (subclasses `bs4.BeautifulSoup`)\n--------------------\n* Ensures the 'html.parser' is selected , rather than the system's best available parser\n\nThe `Frame` class (subclasses `pandas.DataFrame`)\n--------------------\n* Ensures the use of the new Int64 `Series` dtype when constructed with an iterable that only contains `int` and `None` (rather than using the default float64)\n* High-level methods for pivoting and unpivoting\n* Change the casing of the column names\n* Represent the `Frame` as ascii\n* Modified `Frame.to_excel()` formats the output file to an excel table, returns a path object\n* Modified `Frame.to_sql()`, with better SQL type selection, allows one of the columns (or the index) to be used as a primary key for the resulting SQL table.\n* Modified `Frame.from_excel()`, capable of inferring table boundaries from messy spreadsheets using several rulesets, recasing the column names, and removing password protection\n* Create a `Frame` from an iterable of homogenous objects\n* Write out an iterable of Frames as a single excel document with multiple sheets.\n* Other misc utility functions (eg. replacing all NaN values with None, etc.)\n\n\nInstallation\n====================\n\nTo install use pip:\n\n $ pip install pysubtypes\n\n\nOr clone the repo:\n\n $ git clone https://github.com/matthewgdv/subtypes.git\n $ python setup.py install\n\n\nUsage\n====================\n\nDetailed usage examples coming soon.\n\nContributing\n====================\n\nContributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.\n\nYou can contribute in many ways:\n\nReport Bugs\n--------------------\n\nReport bugs at https://github.com/matthewgdv/subtypes/issues\n\nIf you are reporting a bug, please include:\n\n* Your operating system name and version.\n* Any details about your local setup that might be helpful in troubleshooting.\n* Detailed steps to reproduce the bug.\n\nFix Bugs\n--------------------\n\nLook through the GitHub issues for bugs. Anything tagged with \"bug\" and \"help wanted\" is open to whoever wants to implement a fix for it.\n\nImplement Features\n--------------------\n\nLook through the GitHub issues for features. Anything tagged with \"enhancement\" and \"help wanted\" is open to whoever wants to implement it.\n\nWrite Documentation\n--------------------\n\nThe repository could always use more documentation, whether as part of the official docs, in docstrings, or even on the web in blog posts, articles, and such.\n\nSubmit Feedback\n--------------------\n\nThe best way to send feedback is to file an issue at https://github.com/matthewgdv/subtypes/issues.\n\nIf you are proposing a new feature:\n\n* Explain in detail how it would work.\n* Keep the scope as narrow as possible, to make it easier to implement.\n* Remember that this is a volunteer-driven project, and that contributions are welcome :)\n\nGet Started!\n--------------------\n\nBefore you submit a pull request, check that it meets these guidelines:\n\n1. If the pull request adds functionality, it should include tests and the docs should be updated. Write docstrings for any functions that are part of the external API, and add\n the feature to the README.md.\n\n2. If the pull request fixes a bug, tests should be added proving that the bug has been fixed. However, no update to the docs is necessary for bugfixes.\n\n3. The pull request should work for the newest version of Python (currently 3.7). Older versions may incidentally work, but are not officially supported.\n\n4. Inline type hints should be used, with an emphasis on ensuring that introspection and autocompletion tools such as Jedi are able to understand the code wherever possible.\n\n5. PEP8 guidelines should be followed where possible, but deviations from it where it makes sense and improves legibility are encouraged. The following PEP8 error codes can be\n safely ignored: E121, E123, E126, E226, E24, E704, W503\n\n6. This repository intentionally disallows the PEP8 79-character limit. Therefore, any contributions adhering to this convention will be rejected. As a rule of thumb you should\n endeavor to stay under 200 characters except where going over preserves alignment, or where the line is mostly non-algorythmic code, such as extremely long strings or function\n calls.\n\n\n", "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/matthewgdv/subtypes", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pysubtypes", "package_url": "https://pypi.org/project/pysubtypes/", "platform": "", "project_url": "https://pypi.org/project/pysubtypes/", "project_urls": { "Homepage": "https://github.com/matthewgdv/subtypes" }, "release_url": "https://pypi.org/project/pysubtypes/0.0.3/", "requires_dist": [ "aenum", "bs4", "case-conversion", "clipboard", "dateutil", "inflect", "lazy-property", "maybe-else", "numpy", "pandas", "parsedatetime", "regex", "tabulate" ], "requires_python": "", "summary": "Provides subclasses for common python types with additional functionality and convenience methods.", "version": "0.0.3" }, "last_serial": 5959767, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "4dc8ce3c9edb745caa784d37788ce935", "sha256": "360cb961722ebe1dca806aa8d6fea4d51eed9af3080e66c775f879b2b572cfb5" }, "downloads": -1, "filename": "pysubtypes-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "4dc8ce3c9edb745caa784d37788ce935", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17668, "upload_time": "2019-07-29T13:41:31", "url": "https://files.pythonhosted.org/packages/ec/db/08a29a1ba3ddf01498bbd0b8b5ab3b1bba51aa70092f25ca110543786879/pysubtypes-0.0.1-py3-none-any.whl" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "82624e6e28c2763f625bb76efcb95014", "sha256": "4c11cb236a1b3a49c8e0f28397fec95faa956cb20318256f59011e9300ab7acd" }, "downloads": -1, "filename": "pysubtypes-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "82624e6e28c2763f625bb76efcb95014", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17674, "upload_time": "2019-07-29T15:35:41", "url": "https://files.pythonhosted.org/packages/87/1a/bc7bfb881af3f2f753cac5215cad7d82e5f81ce0e6c3c171e4f36f6e55fb/pysubtypes-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "71aa0f9c486b1e80346d6cc0ae1115fc", "sha256": "4483757a36af578e02f5df2d66c7774e26a567b2dea4f2d7eb1ec3822fa26403" }, "downloads": -1, "filename": "pysubtypes-0.0.2.tar.gz", "has_sig": false, "md5_digest": "71aa0f9c486b1e80346d6cc0ae1115fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14724, "upload_time": "2019-07-29T15:35:43", "url": "https://files.pythonhosted.org/packages/09/83/54b437adfb39274a7c7b9a0df65a481e38147e46b247f1819f648a36f492/pysubtypes-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "8417638c750d3d1d8eacca5b91421f1b", "sha256": "882c3b77da1a7db63266e51d259a14f65217a1024956bb9b815affb6c93a9749" }, "downloads": -1, "filename": "pysubtypes-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "8417638c750d3d1d8eacca5b91421f1b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18703, "upload_time": "2019-10-11T10:59:26", "url": "https://files.pythonhosted.org/packages/c8/4d/83e845dc2331d5b044c155bc4da6a46d64e39534488035f29d4acd87491f/pysubtypes-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "28e30e9a128e637de70dc58c8e85816a", "sha256": "af230d0e796461ec0a2e8316058ef01e0d4df16c4badba121e9bd33c353b42e8" }, "downloads": -1, "filename": "pysubtypes-0.0.3.tar.gz", "has_sig": false, "md5_digest": "28e30e9a128e637de70dc58c8e85816a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15432, "upload_time": "2019-10-11T10:59:27", "url": "https://files.pythonhosted.org/packages/0e/08/e700ab432cbeebe54a9da2c8febf56f4c79dfeb80defd1b4897827906915/pysubtypes-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8417638c750d3d1d8eacca5b91421f1b", "sha256": "882c3b77da1a7db63266e51d259a14f65217a1024956bb9b815affb6c93a9749" }, "downloads": -1, "filename": "pysubtypes-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "8417638c750d3d1d8eacca5b91421f1b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18703, "upload_time": "2019-10-11T10:59:26", "url": "https://files.pythonhosted.org/packages/c8/4d/83e845dc2331d5b044c155bc4da6a46d64e39534488035f29d4acd87491f/pysubtypes-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "28e30e9a128e637de70dc58c8e85816a", "sha256": "af230d0e796461ec0a2e8316058ef01e0d4df16c4badba121e9bd33c353b42e8" }, "downloads": -1, "filename": "pysubtypes-0.0.3.tar.gz", "has_sig": false, "md5_digest": "28e30e9a128e637de70dc58c8e85816a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15432, "upload_time": "2019-10-11T10:59:27", "url": "https://files.pythonhosted.org/packages/0e/08/e700ab432cbeebe54a9da2c8febf56f4c79dfeb80defd1b4897827906915/pysubtypes-0.0.3.tar.gz" } ] }