{ "info": { "author": "Alice Girard Guittard", "author_email": "alice.girardguittard@dailymotion.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries" ], "description": "# tartiflette-plugin-scalars\n\nTartiflette plugin providing common scalars : \n\n```python\nsdl = \n\"\"\"\ntype Example {\n email: EmailAddress\n}\n\"\"\"\n\nengine = await create_engine(\n sdl=sdl,\n modules=[\n {\n \"name\": \"tartiflette_plugin_scalars\",\n \"config\": {\"email_address\": {\"enabled\": True}}\n }\n ],\n schema_name=\"test_email_address_ok\",\n)\n```\n\nImplemented scalars:\n\n| Name | Description |\n|------------------|---------------------------------------------------|\n| EmailAddress | Represents an email addresses |\n| DateTime | Represents a date and time object |\n| NegativeFloat | Represents a negative floating point number |\n| NegativeInt | Represents a negative integer |\n| NonNegativeFloat | Represents a positive or 0 floating point number |\n| NonNegativeInt | Represents a positive or 0 integer |\n| PositiveFloat | Represents a positive floating point number |\n| PositiveInt | Represents a positive integer |\n| NonPositiveFloat | Represents a negative or 0 floating point number |\n| NonPositiveInt | Represents a negative or 0 integer |\n| Long | Represents integers between 0 and 2^63 |\n| BigInt | Represents arbitrary length integers |\n| UnsignedInt | Represents integers between 0 and 2^32 |\n| PhoneNumber | Represents a phone number |\n| PostalCode | Represents a postal code |\n| URL | Represents an Uniform Resource Locator |\n| GUID | Represents a Globally Unique IDentifier |\n| HexColorCode | Hexadecimal representation of a color |\n| HSL | Hue, Saturation and Lightness of a color |\n| HSLA | Hue, Saturation, Lightness and Alpha of a color |\n| RGB | Red, Green, Blue of a color |\n| RGBA | Red, Green, Blue and Alpha of a color |\n| IPv4 | Represents an Internet Protocol version 4 address |\n| IPv6 | Represents an Internet Protocol version 6 address |\n| MAC | Represents a Media Access Control address |\n| ISBN | Represents an International Standard Book Number |\n| Port | Represents a TCP / UDP port |\n| USCurrency | Represents an amount of USD |\n| JSON | Represents a JSON value |\n| JSONObject | Represents a JSON object |", "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/dailymotion/tartiflette-plugin-scalars", "keywords": "api graphql protocol tartiflette", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "tartiflette-plugin-scalars", "package_url": "https://pypi.org/project/tartiflette-plugin-scalars/", "platform": "", "project_url": "https://pypi.org/project/tartiflette-plugin-scalars/", "project_urls": { "Homepage": "https://github.com/dailymotion/tartiflette-plugin-scalars" }, "release_url": "https://pypi.org/project/tartiflette-plugin-scalars/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "Tartiflette plugin providing common scalars", "version": "0.1.0" }, "last_serial": 5944144, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "fca73d0131f24bfdfd518adb91b9f4e0", "sha256": "4d29ad2cafed1d63d51e333131ddc62541c294d7c2352ccf138de1b7dc2846b8" }, "downloads": -1, "filename": "tartiflette-plugin-scalars-0.1.0.tar.gz", "has_sig": false, "md5_digest": "fca73d0131f24bfdfd518adb91b9f4e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10768, "upload_time": "2019-10-08T10:24:37", "url": "https://files.pythonhosted.org/packages/65/cc/0044b16b2cb4a01503e3860b5f39e9dc44c221b3cd9bcb710cdcbffd245b/tartiflette-plugin-scalars-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fca73d0131f24bfdfd518adb91b9f4e0", "sha256": "4d29ad2cafed1d63d51e333131ddc62541c294d7c2352ccf138de1b7dc2846b8" }, "downloads": -1, "filename": "tartiflette-plugin-scalars-0.1.0.tar.gz", "has_sig": false, "md5_digest": "fca73d0131f24bfdfd518adb91b9f4e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10768, "upload_time": "2019-10-08T10:24:37", "url": "https://files.pythonhosted.org/packages/65/cc/0044b16b2cb4a01503e3860b5f39e9dc44c221b3cd9bcb710cdcbffd245b/tartiflette-plugin-scalars-0.1.0.tar.gz" } ] }