{"id":19082232,"url":"https://github.com/waikato-datamining/pydex","last_synced_at":"2026-04-12T08:40:15.792Z","repository":{"id":62579877,"uuid":"207660225","full_name":"waikato-datamining/pydex","owner":"waikato-datamining","description":"Python client for the Data Exchange Server REST service (DEX) provided by ADAMS.","archived":false,"fork":false,"pushed_at":"2023-06-15T00:15:42.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-29T05:23:49.054Z","etag":null,"topics":["python","rest"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/waikato-datamining.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.rst","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-09-10T20:47:05.000Z","updated_at":"2023-06-15T00:15:46.000Z","dependencies_parsed_at":"2025-01-02T20:28:35.122Z","dependency_job_id":"eb1bdba8-dfa8-4839-83c2-0b72bc8ceba9","html_url":"https://github.com/waikato-datamining/pydex","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/waikato-datamining/pydex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waikato-datamining%2Fpydex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waikato-datamining%2Fpydex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waikato-datamining%2Fpydex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waikato-datamining%2Fpydex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waikato-datamining","download_url":"https://codeload.github.com/waikato-datamining/pydex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waikato-datamining%2Fpydex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31709294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["python","rest"],"created_at":"2024-11-09T02:42:39.252Z","updated_at":"2026-04-12T08:40:15.751Z","avatar_url":"https://github.com/waikato-datamining.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pydex\nPython client for the *Data Exchange Server* REST service provided \nby [ADAMS](https://adams.cms.waikato.ac.nz/).\n\n## Example usage\n\nIn the following example, a file is uploaded to the server. \nThen, the data is downloaded from the server using the obtained token.\nLastly, the data is removed from the server using the token again.\n\n```python\nfrom pydex import upload_file, download, remove\n\n# upload a file\ntoken = upload_file(\"/some/where/file.txt\", \"http://localhost:8080/upload\")\nprint(\"token for upload\", token)\n\n# download data associated with token\ndata = download(token, \"http://localhost:8080/download\")\nprint(\"data received for token\", token)\nprint(data.decode())\n\n# remove data from server\ncode = remove(token, \"http://localhost:8080/remove\")\nprint(\"status code for removing token\", token, \"is\", code)\n```\n\n## Authentication\n\nDepending on the DEX backend in use, you might have to provide credentials \nas well in your calls. For instance, when using the `BasicAuthentication`\nbackend, you can provide user/password in your calls like this:\n\n```python\nfrom pydex import upload_file, download, remove\n\nparams = {\n    'user': 'someuser',\n    'password': 'itspassword'\n}\n\ntoken = upload_file(\"/some/where/file.txt\", \"http://localhost:8080/upload\", params=params)\nprint(\"token for upload\", token)\n```\n\n## Installation\n\n```commandline\npip install pydex-client\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaikato-datamining%2Fpydex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaikato-datamining%2Fpydex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaikato-datamining%2Fpydex/lists"}