{ "info": { "author": "Danish Abdullah", "author_email": "dev@danishabdullah.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 6 - Mature", "Intended Audience :: Developers", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "### BigSchema\n\nThis library is meant as a simple way to generate the big query boilerplate \ngiven a simple yaml based schema.\n\n\n#### CLI Tool\n\nThe library comes with a simple command line tool that takes a source file, \nan optional destination directory default is ```./schema/``` and an output \nformat and transforms the given yaml specifications to BigQuery compliant \nschema in the desired output format.\n\n```bash\n$ bigschema --help\n\nUsage: bigschema [OPTIONS] SOURCE [DESTINATION]\nOptions:\n -f, --output-format [java|json]\n Which format to output the data in? Default\n is JSON\n -o, --overwrite BOOLEAN Should we overwrite the data in existing\n file? Default is FALSE\n --help Show this message and exit.\n \n```\n\n\n#### File Specification\n\n```yaml\nspec-mode: \"compact\" | \"verbose\"\n\n---------------------------------------------------------------------------------\nspec-mode: \"verbose\"\n--------------------\n\ntable:\n type: \"table\"\n fields:\n - name:\n type: \"integer\" | \"float\" | \"string\" | \"timestamp\" | \"boolean\" | \"bytes\" | \"record_name\"\n mode: \"nullable\" | \"repeated\" | \"required\"\n\nrecord:\n type: \"record\"\n fields:\n - name:\n type: \"integer\" | \"float\" | \"string\" | \"timestamp\" | \"boolean\" | \"bytes\" | \"record_name\"\n mode: \"nullable\" | \"repeated\" | \"required\"\n\n\n----------------------------------------------------------------------------------\nspec-mode: \"compact\"\n--------------------\n\ntable:\n type: table\n fields:\n - name_of_column, type_of_column, mode_of_column\n\nrecord:\n type: record\n fields:\n - name_of_column, type_of_column, mode_of_column\n```", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/danishabdullah/bigschema", "keywords": "bigschema bigquery json java schema transformation", "license": "BSD 3 Clause", "maintainer": null, "maintainer_email": null, "name": "bigschema", "package_url": "https://pypi.org/project/bigschema/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/bigschema/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/danishabdullah/bigschema" }, "release_url": "https://pypi.org/project/bigschema/1.0.3/", "requires_dist": null, "requires_python": null, "summary": "bigschema provide primitives for writing more maintainable/readable schemas for bigquery in yamland getting bigquery target output from the specification.", "version": "1.0.3" }, "last_serial": 2084991, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "a70359a4023794d714b7be418cec006b", "sha256": "016e118fa8c46b42048a6e0f1479fe57415b2d3acf1ab36c98a0e1530faa0782" }, "downloads": -1, "filename": "bigschema-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a70359a4023794d714b7be418cec006b", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 10920, "upload_time": "2016-04-26T09:52:39", "url": "https://files.pythonhosted.org/packages/6d/10/efec1c4bd78c3799a4f6ff023e49eeec5a60d4507f828c3b6442ef8c0c42/bigschema-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "09b5f80acae2a1879ec875ada384216b", "sha256": "f323595863198ace94fd92c7979c5d744f3ccb3ab93ef29c4bd8ac58f141e53f" }, "downloads": -1, "filename": "bigschema-1.0.tar.gz", "has_sig": false, "md5_digest": "09b5f80acae2a1879ec875ada384216b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6289, "upload_time": "2016-04-26T09:52:25", "url": "https://files.pythonhosted.org/packages/c6/cc/5b8066cb3e9d8738e856915ab09fe93b8624650eda5b1a477a47f7bf3832/bigschema-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "6c166479dc684b52cd77177377289265", "sha256": "14d2bdd2e80ecae48842db6bd51a49371b79d978086ce79103db0faa6533fe76" }, "downloads": -1, "filename": "bigschema-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "6c166479dc684b52cd77177377289265", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 10956, "upload_time": "2016-04-26T10:04:29", "url": "https://files.pythonhosted.org/packages/0e/66/8ea91ac28d95b7ae341488f4719d59a77094ef96d8317e6e72fc664974e7/bigschema-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "969096a5c678341d61378e4a5c69d105", "sha256": "866e6af83cb254b441c3fae0a93fa9361c580a2f6c3cd3776b1d4db6a2742f72" }, "downloads": -1, "filename": "bigschema-1.0.1.tar.gz", "has_sig": false, "md5_digest": "969096a5c678341d61378e4a5c69d105", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6297, "upload_time": "2016-04-26T10:04:19", "url": "https://files.pythonhosted.org/packages/d8/90/ad1927cdfc97c97a7b26b5e40425e977b331e0af1483480e73b069929be5/bigschema-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "649d9bce1dfb0787dd94481ab39fbb5e", "sha256": "94e5fc5967799249b7247643be7e09c801d9e44634f889f64da65a6eee33ef26" }, "downloads": -1, "filename": "bigschema-1.0.2.tar.gz", "has_sig": false, "md5_digest": "649d9bce1dfb0787dd94481ab39fbb5e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6299, "upload_time": "2016-04-26T10:07:02", "url": "https://files.pythonhosted.org/packages/05/7e/9f89df3c64c62b3d7d5011f98e4786973839d2ef047d1c67abd6da4ded46/bigschema-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "a859a0e23511a5d1a3aff91361f833c7", "sha256": "3b364aeb647894c84e01bd8256d48550d302f9d3120bd59ff0473e2cecb711da" }, "downloads": -1, "filename": "bigschema-1.0.3.tar.gz", "has_sig": false, "md5_digest": "a859a0e23511a5d1a3aff91361f833c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6570, "upload_time": "2016-04-26T15:30:40", "url": "https://files.pythonhosted.org/packages/fe/d4/b4fbe8d8b8990a805170b7fd175b8f1913e811cacbaec1e508563c0c72e6/bigschema-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a859a0e23511a5d1a3aff91361f833c7", "sha256": "3b364aeb647894c84e01bd8256d48550d302f9d3120bd59ff0473e2cecb711da" }, "downloads": -1, "filename": "bigschema-1.0.3.tar.gz", "has_sig": false, "md5_digest": "a859a0e23511a5d1a3aff91361f833c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6570, "upload_time": "2016-04-26T15:30:40", "url": "https://files.pythonhosted.org/packages/fe/d4/b4fbe8d8b8990a805170b7fd175b8f1913e811cacbaec1e508563c0c72e6/bigschema-1.0.3.tar.gz" } ] }