{ "info": { "author": "Luxeys", "author_email": "tessier@luxeys.com", "bugtrack_url": null, "classifiers": [], "description": "You need to overwrite to setup your connections\n\n- ElasticModel You can overwrite this constant in your settings:\n-- ELASTIC_DEBUG\n-- ELASTIC_INDEX_PREFIX\n-- ENV\n\n\nOther files not directly related to elasticsearch:\n- Utils stuff for Django (paginator)\n- Unit tests\n\n\nBuild command:\npython setup.py sdist\npython setup.py bdist_wheel\n\nRun ./build.sh\nbuild the package that will be available in the dist/ directory\n\nif wheel return an error like not installed just run pip install wheel, you may need to install some dependencies\n\nResources about building lib: https://code.tutsplus.com/tutorials/how-to-write-package-and-distribute-a-library-in-python--cms-28693\n\nhttp://www.diveintopython3.net/packaging.html\n\nProject repo:\ngitlab.com\n\nSetup in projects guide:\n-Create a module name elastic.py and override the get_connection to use target elastic service.\n-Create a unit test to ensure that connection is working.\n-Elastic periodic model in elastic.py module must inherit like this (ElasticPeriodic, ElasticCustom)\n-Build the package and install\n--pip install 'package_file generated by ./build.sh command'\n\n** About tests and changes\n\nIf there's fixes changes to do in elastic_lib make the changes directly in your project i.e edit the file elastic from venv/lib/python3.5/site-packages/elastic_lib/elastic.py\nthen run the unit test: pytest venv/lib/python3.5/site-packages/elastic_lib/test_elastic.py\n\nIf all unit test are green check the unit test of your project if here also all is green, copy the content of your changes in the elastic_lib project and build a new version.\nThen update the version in the different project then run the unit test in each project to be sure that it broke nothing.\n\nYou can't run the unit test here or on you local.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://labola.jp", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "elastic-lib", "package_url": "https://pypi.org/project/elastic-lib/", "platform": "", "project_url": "https://pypi.org/project/elastic-lib/", "project_urls": { "Homepage": "https://labola.jp" }, "release_url": "https://pypi.org/project/elastic-lib/19.4.23/", "requires_dist": null, "requires_python": "", "summary": "Common elastic stuff for the projects.", "version": "19.4.23" }, "last_serial": 5175910, "releases": { "19.3.11": [ { "comment_text": "", "digests": { "md5": "5810e5d48baaf9efaab161e6f83796bf", "sha256": "b2ad08cd36eea0f5f2625f09192ebafd6e9d3f503a41d3614d25b6301eb867f1" }, "downloads": -1, "filename": "elastic_lib-19.3.11.tar.gz", "has_sig": false, "md5_digest": "5810e5d48baaf9efaab161e6f83796bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30008, "upload_time": "2019-03-12T09:08:46", "url": "https://files.pythonhosted.org/packages/31/e3/1a50b9224a50c6fc0167a91b0dd1c556a5f0e00960eaf1682b307e876293/elastic_lib-19.3.11.tar.gz" } ], "19.3.28": [ { "comment_text": "", "digests": { "md5": "1ed418a18ed930ab4825a472ea72388d", "sha256": "81a9c3b662cfde28e4083b3621340e92f9127d2501b7d58ce350adcc8419822d" }, "downloads": -1, "filename": "elastic_lib-19.3.28.tar.gz", "has_sig": false, "md5_digest": "1ed418a18ed930ab4825a472ea72388d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30785, "upload_time": "2019-03-28T07:59:59", "url": "https://files.pythonhosted.org/packages/4b/ee/89393d48eb444ce20145cbc187df6fe01b5d74e9615540ec76f01778d2dd/elastic_lib-19.3.28.tar.gz" } ], "19.4.23": [ { "comment_text": "", "digests": { "md5": "3a252692113954fc93cd08e87ffc1e7e", "sha256": "7641be4e596ee9cfe55415d181ba51bcb8447742ccf97ca751e1851f4e698d9a" }, "downloads": -1, "filename": "elastic_lib-19.4.23.tar.gz", "has_sig": false, "md5_digest": "3a252692113954fc93cd08e87ffc1e7e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30052, "upload_time": "2019-04-23T07:49:46", "url": "https://files.pythonhosted.org/packages/cd/b0/647ebde2b6ea6a27f4cf57470a9c5eddaad11e348b0905b9675bd238884a/elastic_lib-19.4.23.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3a252692113954fc93cd08e87ffc1e7e", "sha256": "7641be4e596ee9cfe55415d181ba51bcb8447742ccf97ca751e1851f4e698d9a" }, "downloads": -1, "filename": "elastic_lib-19.4.23.tar.gz", "has_sig": false, "md5_digest": "3a252692113954fc93cd08e87ffc1e7e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30052, "upload_time": "2019-04-23T07:49:46", "url": "https://files.pythonhosted.org/packages/cd/b0/647ebde2b6ea6a27f4cf57470a9c5eddaad11e348b0905b9675bd238884a/elastic_lib-19.4.23.tar.gz" } ] }