{ "info": { "author": "Brett Langdon", "author_email": "brett@blangdon.com", "bugtrack_url": null, "classifiers": [], "description": "Shapeways Uploader\n==================\n\nShapeways API bulk uploader.\n\n## Install\n### pip\n```bash\npip install swuploader\n```\n### Git\n```bash\ngit clone git://github.com/brettlangdon/swuploader.git\ncd ./swuploader\npython setup.py install\n```\n\n## Usage\n```\nUsage:\n swuploader (-h | --help)\n swuploader (-v | --version)\n swuploader auth [--server=] \n swuploader upload [--models=] [--out=] [--server=] \n\nOptions:\n -h --help Show this help text\n -v --version Show version information\n -m --models= Set the directory for where model ini's are available [default: ./]\n -o --out= Set the directory where the model ini's are moved to after upload [default: ./]\n -s --server= Set different api server url if desired.\n```\n\n### Setup App\n\nBefore you can use `swuploader` you must have an application setup on\nshapeways.com this can be setup/registered at\nhttps://developers.shapeways.com/manage-apps/create.\nYou will also need to note your `consumer key` and `consumer secret` from your\napp's settings page.\n\n### Authenticate\nOnce you have an application setup with shapeways.com you must authenticate with\nthe api server before you can start to upload models, to do so run the\nfollowing:\n\n```bash\nswuploader auth ./auth.json\n```\n\nThis will give you a url to use for authentication, once you follow that url and\nauthorize with your application you will be given a `verifier code` to enter to\ncomplete the authentication process.\n\nAs a result of running this command you will have a file `auth.json` which will\ncontain required keys/tokens/secrets necessary for all subsequent requests.\n\n### Upload\nFinally you are ready to upload. In order to upload you need a folder which\ncontains the model files that you want to upload (see\nhttp://www.shapeways.com/tutorials/supported-applications for a list of\nsupported file types).\n\nFor each model file you must supply an additional `.ini` file containing\ninformation about the model which is being uploaded. For example:\n```ini\nname=Sphere\nfile=./sphere.stl\n```\n\nFor supported properties please see:\nhttp://developers.shapeways.com/docs?li=dh_docs#POST_-models-v1 for the list of\naccepted paramaters.\n\n*note* for materials, please provide them in the format\n`material.=`.\n\nYour directory structure should look similar to:\n\n```bash\n$ ls -1\nauth.json\nmodel.obj\nmodel.ini\nsphere.ini\nsphere.stl\n```\n\nOnce you have your model files and `.ini` files ready you can run `swuploader`\nlike so:\n\n```bash\nswuploader upload ./auth.json\n```\n\n`swuploader` will then read all the `.ini` files in the current directory and\nupload the model file assigned to the `file` attribute along with the other\nprovided properties in the `.ini` file.\n\n\n## License\n```\nThe MIT License (MIT) Copyright (c) 2014 Brett Langdon \n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\nINCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A\nPARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF\nCONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE\nOR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n```\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/brettlangdon/swuploader", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "swuploader", "package_url": "https://pypi.org/project/swuploader/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/swuploader/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/brettlangdon/swuploader" }, "release_url": "https://pypi.org/project/swuploader/0.1.4/", "requires_dist": null, "requires_python": null, "summary": "Easy to use bulk model uploader for Shapeways.com API", "version": "0.1.4" }, "last_serial": 1483188, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6ffe5b2b164b5942c18b41720e4e37ca", "sha256": "1a9e8aa07b319f7016fe3b5cb3bb16a8978299ba8f529c5dd93255e8baf72a27" }, "downloads": -1, "filename": "swuploader-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6ffe5b2b164b5942c18b41720e4e37ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4052, "upload_time": "2014-12-18T01:50:29", "url": "https://files.pythonhosted.org/packages/e6/a7/78c117d137a119c96a31f718cf2b4eebb60133bab5d68bd1a3dc0747a5ef/swuploader-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "797103f1c9cdf6112afa9907aac2446b", "sha256": "a529a1db31cf682a8c417b808a6ff275b4b60dca00a78d0da20a8ccb504c912e" }, "downloads": -1, "filename": "swuploader-0.1.1.tar.gz", "has_sig": false, "md5_digest": "797103f1c9cdf6112afa9907aac2446b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4082, "upload_time": "2014-12-18T14:04:06", "url": "https://files.pythonhosted.org/packages/f5/9c/072578f0d4273af05a53324e2b5f8f86a580192b0b84375ced1b1aea5065/swuploader-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c627583a5775b6f2f78d102201fe0593", "sha256": "c0dac458321c69efe153f4ee5cb3a570842014a4c7dfbd6fc5a0a5465d512d43" }, "downloads": -1, "filename": "swuploader-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c627583a5775b6f2f78d102201fe0593", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4072, "upload_time": "2014-12-18T14:45:14", "url": "https://files.pythonhosted.org/packages/bc/8b/c3b47e23413b250542d674f37ae1ef37032d626d66fba0fc1c82e59c3089/swuploader-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "6cb3d8ea5104ccca9d8a3346d0d25244", "sha256": "2804ae378fe07f43f197081f3cb36cbb0feb0cb4e2d4fedba978caba30f37bf8" }, "downloads": -1, "filename": "swuploader-0.1.3.tar.gz", "has_sig": false, "md5_digest": "6cb3d8ea5104ccca9d8a3346d0d25244", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4077, "upload_time": "2015-01-12T14:46:02", "url": "https://files.pythonhosted.org/packages/30/84/2455f1a500950c3de7960fc0c0f97ce015a5b0db842e3ecb734c37b64c3d/swuploader-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "f9ca24854b73eb769f7e274866966265", "sha256": "535612f47c60f07401ceaa145ec9b56aab05ff6f19cc706e04aa18e4b41d6e5a" }, "downloads": -1, "filename": "swuploader-0.1.4.tar.gz", "has_sig": false, "md5_digest": "f9ca24854b73eb769f7e274866966265", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4087, "upload_time": "2015-03-30T13:35:00", "url": "https://files.pythonhosted.org/packages/f6/f5/d0528e04ac4b53dde76f63a1a681fba33c20983670a0e98029c83e011bb9/swuploader-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f9ca24854b73eb769f7e274866966265", "sha256": "535612f47c60f07401ceaa145ec9b56aab05ff6f19cc706e04aa18e4b41d6e5a" }, "downloads": -1, "filename": "swuploader-0.1.4.tar.gz", "has_sig": false, "md5_digest": "f9ca24854b73eb769f7e274866966265", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4087, "upload_time": "2015-03-30T13:35:00", "url": "https://files.pythonhosted.org/packages/f6/f5/d0528e04ac4b53dde76f63a1a681fba33c20983670a0e98029c83e011bb9/swuploader-0.1.4.tar.gz" } ] }