{ "info": { "author": "Seth Dobson", "author_email": "sd0408@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: JavaScript", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Code Generators", "Topic :: Utilities", "Typing :: Typed" ], "description": "# SWA Secure S3 Storage Bucket Stack Library\n\nDefine a S3 bucket that security will be proud of.\n\n`S3StorageBucketStack` exposes the following deploy-time attributes from the underlying `bucket` construct:\n\n* `bucketArn` - the ARN of the bucket (i.e. `arn:aws:s3:::bucket_name`)\n* `bucketName` - the name of the bucket (i.e. `bucket_name`)\n* `arnForObjects(pattern)` - the ARN of an object or objects within the bucket (i.e.\n `arn:aws:s3:::bucket_name/exampleobject.png` or\n `arn:aws:s3:::bucket_name/Development/*`)\n* `urlForObject(key)` - the URL of an object within the bucket (i.e.\n `https://s3.cn-north-1.amazonaws.com.cn/china-bucket/mykey`)\n\n`S3StorageBucketStack` exposes the following deploy-time methods from the underlying `bucket` construct:\n\n* `add_lifecycle_rule`\n* `add_metric`\n* `add_object_created_notification`\n* `add_object_removed_notificationself`\n* `add_event_notification`\n* `add_to_resource_policy`\n* `arn_for_objects`\n* `on_cloud_trail_event`\n* `on_cloud_trail_put_object`\n* `url_for_object`\n\n## Helpfull commands\n\n* Package code for publishing. First increment the version in setup.py then run the following\n `python3 setup.py sdist bdist_wheel`\n* Publish code\n `python3 -m twine upload dist/*`\n* Generate documentation\n `cd docs && make html`\n* Run unit tests\n `pytest --cov . --cov-report=html --html=testreport/report.html`\n* upload to sonar\n `sonar-scanner \\`\n `-Dsonar.projectKey=swa_cc_secure_s3_storage_bucket \\`\n `-Dsonar.sources=source\\swa_cc \\`\n `-Dsonar.host.url=https://sonar-tools.swacorp.com/EC \\`\n `-Dsonar.login=eda1a69701cd879fe142e1c36b2ed3db6769a01c`\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": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "swa-cc.core", "package_url": "https://pypi.org/project/swa-cc.core/", "platform": "", "project_url": "https://pypi.org/project/swa-cc.core/", "project_urls": null, "release_url": "https://pypi.org/project/swa-cc.core/1.3.0/", "requires_dist": null, "requires_python": ">=3.6", "summary": "A set of core objects utilized by the rest of the SWA Cloud Catalog", "version": "1.3.0" }, "last_serial": 5600385, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "a20429ebf49b8fe9b1f4ecafcc685dc4", "sha256": "17a6509d5f2cc6d3687de892262bbe5f3f60dcfca817d4d8a6df7b566dc92fc8" }, "downloads": -1, "filename": "swa_cc.core-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a20429ebf49b8fe9b1f4ecafcc685dc4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 2771, "upload_time": "2019-07-29T15:29:50", "url": "https://files.pythonhosted.org/packages/1d/63/a17ae8d7062c8b6083b5a35e0e4c5506006cd5bfc7b79258e453558befae/swa_cc.core-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3652dafdc32ebb17c430e45b141b6dff", "sha256": "1626050570041861497acc5c555ce047bf0683b6567cf6431ae8c4a4c33462c8" }, "downloads": -1, "filename": "swa_cc.core-1.0.0.tar.gz", "has_sig": false, "md5_digest": "3652dafdc32ebb17c430e45b141b6dff", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 2725, "upload_time": "2019-07-29T15:29:52", "url": "https://files.pythonhosted.org/packages/10/66/d26febd0155ee1c4bfcd7202a55c59e684f810af3b0b5739650dafe1133f/swa_cc.core-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "e81069e04b7f17b5faaad4ed96c549bf", "sha256": "495c7135f201cd74b0e16c3847c94847a3c3aaf8fe5aede5cae1d1ecd09353f1" }, "downloads": -1, "filename": "swa_cc.core-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e81069e04b7f17b5faaad4ed96c549bf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 2860, "upload_time": "2019-07-29T15:42:55", "url": "https://files.pythonhosted.org/packages/31/b4/036a8ad010f370dba0d938354dcd0a3558d0c65dac7716418d486e40e831/swa_cc.core-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6d6c4253eced4a19206088a663a94278", "sha256": "3bd844b97ccf88adeb4d434179e0b7a6e93e16bb24b7f49508b10c4486ef54d7" }, "downloads": -1, "filename": "swa_cc.core-1.1.0.tar.gz", "has_sig": false, "md5_digest": "6d6c4253eced4a19206088a663a94278", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 2793, "upload_time": "2019-07-29T15:42:56", "url": "https://files.pythonhosted.org/packages/ba/ae/5f3f9a24301610da7e00357dcf37fdb5aaf98a868cd04b43f5115f4a107e/swa_cc.core-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "29ebbfaecb0965c04f0a51df0e7dccad", "sha256": "8f33c29d77bb4c46d17ae9cb4e14def12d7d108c750a2d0add68b62d55bec748" }, "downloads": -1, "filename": "swa_cc.core-1.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "29ebbfaecb0965c04f0a51df0e7dccad", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 2773, "upload_time": "2019-07-29T15:46:22", "url": "https://files.pythonhosted.org/packages/83/d4/f9f921fd936fe820f5ce106848d8ccea765a8c468d9178cb30a8bd7d7bc4/swa_cc.core-1.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8bd03a2067918e4ebdb77b4b9aa95fc3", "sha256": "5f673fae44bf1139f04cadce9df48ebf66e19e8da5778e3b0fc4236b3014282f" }, "downloads": -1, "filename": "swa_cc.core-1.2.0.tar.gz", "has_sig": false, "md5_digest": "8bd03a2067918e4ebdb77b4b9aa95fc3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 2719, "upload_time": "2019-07-29T15:46:24", "url": "https://files.pythonhosted.org/packages/e7/52/1d8ecf6950b3726743cf139bf3919b9cbe219f382ef14c8965db7e80940a/swa_cc.core-1.2.0.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "a7ff39cdf3c0b3020fe3e9928247fde7", "sha256": "eb15f8b5859282c73a58fed5105f93400a416194fbd9d3ca76bb29a631e5c0a1" }, "downloads": -1, "filename": "swa_cc.core-1.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a7ff39cdf3c0b3020fe3e9928247fde7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 2824, "upload_time": "2019-07-29T16:10:24", "url": "https://files.pythonhosted.org/packages/3d/e9/4d7c1aa8abef3fabac5e50437f15cb3ea75e5e222b9d9611bc7ca168fd89/swa_cc.core-1.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "62bde5072471f4d4cd4b6dac1277017f", "sha256": "11a0e99a0bb94ee9e8948ed979376fcf6cb786d610b3bbb7b279d7f08f8e04e6" }, "downloads": -1, "filename": "swa_cc.core-1.3.0.tar.gz", "has_sig": false, "md5_digest": "62bde5072471f4d4cd4b6dac1277017f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 2763, "upload_time": "2019-07-29T16:10:28", "url": "https://files.pythonhosted.org/packages/bc/c4/58a31dbdb694421c046cbe697acaa1bb3136efcb1c0c51ac3bdb28b2ecb9/swa_cc.core-1.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a7ff39cdf3c0b3020fe3e9928247fde7", "sha256": "eb15f8b5859282c73a58fed5105f93400a416194fbd9d3ca76bb29a631e5c0a1" }, "downloads": -1, "filename": "swa_cc.core-1.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a7ff39cdf3c0b3020fe3e9928247fde7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 2824, "upload_time": "2019-07-29T16:10:24", "url": "https://files.pythonhosted.org/packages/3d/e9/4d7c1aa8abef3fabac5e50437f15cb3ea75e5e222b9d9611bc7ca168fd89/swa_cc.core-1.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "62bde5072471f4d4cd4b6dac1277017f", "sha256": "11a0e99a0bb94ee9e8948ed979376fcf6cb786d610b3bbb7b279d7f08f8e04e6" }, "downloads": -1, "filename": "swa_cc.core-1.3.0.tar.gz", "has_sig": false, "md5_digest": "62bde5072471f4d4cd4b6dac1277017f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 2763, "upload_time": "2019-07-29T16:10:28", "url": "https://files.pythonhosted.org/packages/bc/c4/58a31dbdb694421c046cbe697acaa1bb3136efcb1c0c51ac3bdb28b2ecb9/swa_cc.core-1.3.0.tar.gz" } ] }