{"id":21482860,"url":"https://github.com/ibmstreams/pypi.streamsx.objectstorage","last_synced_at":"2025-03-17T09:22:45.528Z","repository":{"id":74839374,"uuid":"169050855","full_name":"IBMStreams/pypi.streamsx.objectstorage","owner":"IBMStreams","description":"This is a step in allowing natural use of Streams for a Python developer. A project that will be registered with PyPi to allow 'pip install' of Python packages that support Python developers interacting with IBM Streams.","archived":false,"fork":false,"pushed_at":"2020-12-07T08:07:24.000Z","size":175,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":9,"default_branch":"develop","last_synced_at":"2025-01-23T18:50:34.949Z","etag":null,"topics":["pypi","python","python-packages"],"latest_commit_sha":null,"homepage":"http://ibmstreams.github.io/pypi.streamsx.objectstorage","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IBMStreams.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-04T08:54:08.000Z","updated_at":"2020-12-07T07:55:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"aaf2cbd8-0c7a-4407-bdb2-74866e57ef83","html_url":"https://github.com/IBMStreams/pypi.streamsx.objectstorage","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBMStreams%2Fpypi.streamsx.objectstorage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBMStreams%2Fpypi.streamsx.objectstorage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBMStreams%2Fpypi.streamsx.objectstorage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBMStreams%2Fpypi.streamsx.objectstorage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IBMStreams","download_url":"https://codeload.github.com/IBMStreams/pypi.streamsx.objectstorage/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244006303,"owners_count":20382443,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pypi","python","python-packages"],"created_at":"2024-11-23T12:38:19.577Z","updated_at":"2025-03-17T09:22:45.520Z","avatar_url":"https://github.com/IBMStreams.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python streamsx.objectstorage package\n\nThis exposes SPL operators in the `com.ibm.streamsx.objectstorage` toolkit as Python methods.\n\nPackage is organized using standard packaging to upload to PyPi.\n\nThe package is uploaded to PyPi in the standard way:\n```\ncd package\npython setup.py sdist bdist_wheel upload -r pypi\n```\nNote: This is done using the `ibmstreams` account at pypi.org and requires `.pypirc` file containing the credentials in your home directory.\n\nPackage details: https://pypi.python.org/pypi/streamsx.objectstorage\n\nDocumentation is using Sphinx and can be built locally using:\n```\ncd package/docs\nmake html\n```\n\nor\n\n    ant doc\n\nand viewed using\n```\nfirefox python/package/docs/build/html/index.html\n```\n\nThe documentation is also setup at `readthedocs.io`.\n\nDocumentation links:\n* http://streamsxobjectstorage.readthedocs.io/\n\n## Version update\n\nTo change the version information of the Python package, edit following files:\n\n- ./package/docs/source/conf.py\n- ./package/streamsx/objectstorage/\\_\\_init\\_\\_.py\n\nWhen the development status changes, edit the *classifiers* in\n\n- ./package/setup.py\n\nWhen the documented sample must be changed, change it here:\n\n- ./package/streamsx/objectstorage/\\_\\_init\\_\\_.py\n- ./package/DESC.txt\n\n## Test\n\nWhen running in Streaming analytics service you may select a private endpoint to access your bucket, e.g. bucket given in location us-south and resiliency regional.\nWhen running in your local Streams instance you should select a public endpoint.\n\n```\nexport COS_BUCKET=\u003cYOUR_BUCKET\u003e\nexport COS_ENDPOINT=\u003cENDPOINT_FOR_YOUR_BUCKET\u003e\n```\n\nWhen using local build (e.g. not forcing remote build), then you need to specifiy the toolkit location, for example:\n\n    export COS_TOOLKIT_HOME=$STREAMS_INSTALL/toolkits/com.ibm.streamsx.objectstorage\n\n\n### Streaming Analytics service\n\nPackage can be tested with TopologyTester using the [Streaming Analytics](https://www.ibm.com/cloud/streaming-analytics) service.\n\nRun the test with:\n\n    ant test-sas\n\nor\n\n```\ncd package\npython3 -u -m unittest streamsx.objectstorage.tests.test_objectstorage.TestStreamingAnalytics\n```\n\n#### Remote build\n\nFor using the toolkit from the build service (**force_remote_build**) run the test with:\n\nRun the test with:\n\n    ant test-sas-remote\n\nor\n\n```\ncd package\npython3 -u -m unittest streamsx.objectstorage.tests.test_objectstorage.TestStreamingAnalyticsRemote\n```\n\n### Local Streams instance\n\nPackage can be tested with TopologyTester using a local and running Streams domain.\nMake sure that the streams environment is set, the domain and instance is running and the environment variables:\nSTREAMS_USERNAME\nSTREAMS_PASSWORD\nare setup.\n\nRun the test with:\n\n    ant test\n\nor\n\n```\ncd package\npython3 -u -m unittest streamsx.objectstorage.tests.test_objectstorage.TestDistributed\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibmstreams%2Fpypi.streamsx.objectstorage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibmstreams%2Fpypi.streamsx.objectstorage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibmstreams%2Fpypi.streamsx.objectstorage/lists"}