{"id":41506396,"url":"https://github.com/apyrgio/mydata","last_synced_at":"2026-01-23T19:34:26.878Z","repository":{"id":219356059,"uuid":"748116888","full_name":"apyrgio/mydata","owner":"apyrgio","description":"Python interface for IARP's (ΑΑΔΕ) myDATA service","archived":false,"fork":false,"pushed_at":"2025-04-09T16:21:52.000Z","size":285,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-09T17:35:19.633Z","etag":null,"topics":["aade","erp","mydata","python","timologio"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apyrgio.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":"2024-01-25T10:04:53.000Z","updated_at":"2025-04-09T16:21:56.000Z","dependencies_parsed_at":"2024-06-04T13:35:48.044Z","dependency_job_id":"ebae8b5e-5b74-455e-b925-05d08e22cf15","html_url":"https://github.com/apyrgio/mydata","commit_stats":null,"previous_names":["apyrgio/mydata"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/apyrgio/mydata","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apyrgio%2Fmydata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apyrgio%2Fmydata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apyrgio%2Fmydata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apyrgio%2Fmydata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apyrgio","download_url":"https://codeload.github.com/apyrgio/mydata/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apyrgio%2Fmydata/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28698899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T17:25:48.045Z","status":"ssl_error","status_checked_at":"2026-01-23T17:25:47.153Z","response_time":59,"last_error":"SSL_read: 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":["aade","erp","mydata","python","timologio"],"created_at":"2026-01-23T19:34:26.806Z","updated_at":"2026-01-23T19:34:26.869Z","avatar_url":"https://github.com/apyrgio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Supported Python Versions](https://img.shields.io/pypi/pyversions/mydata-client)](https://pypi.org/project/mydata-client/)\n[![PyPI version](https://badge.fury.io/py/mydata-client.svg)](https://badge.fury.io/py/mydata-client)\n\n# CLI / HTTP client for myDATA\n\nThis project allows users to interact with [myDATA](https://www.aade.gr/en/mydata)\n(\"my Digital Accounting and Tax Application\") either via a Python HTTP client or\nfrom the CLI.\n\n## Install\n\nInstall it with `pip`:\n\n```\npython -m pip install mydata-client\n```\n\n## Usage\n\n\u003e [!WARNING]\n\u003e The tool is not suitable yet for production use. We **strongly** suggest that\n\u003e you use it for experimenting only with the development sandbox that myDATA\n\u003e provides.\n\n\u003e [!NOTE]\n\u003e Oh, you may also find the docs a bit... lacking :grimacing:\n\nIf you want to interact programmatically with myDATA's API, you can use the HTTP\nclient under `mydata/client.py`. The Python dataclasses that bind to XML\ndocuments can be found in the `mydata/models*` modules, depending on which\nversion of the API you want to use.\n\nThere is also a proof-of-concept CLI that you can use:\n\n```\nmydata --username \u003cusername\u003e \u003ccommand\u003e\n```\n\nThere are two command groups that you can invoke:\n\n* The `api` command group, which is unopinionated and straight up hits the\n  endpoint that you ask.\n* The `invoice` command group, which is heavily opinionated and adds some helper\n  commands to work with invoices. Basically, it's there to assist the list -\u003e\n  retrieve -\u003e copy -\u003e edit -\u003e validate -\u003e send lifecycle of an invoice.\n\n## Building\n\nInstall [Poetry](https://python-poetry.org/). Then, install the project\ndependencies:\n\n```\npoetry install\n```\n\n### Adding new XSD schemas\n\nWhenever there's an API update, myDATA devs include the XML schemas for the\nlatest API. You can include them in the project as follows:\n\n* Download the XSD zipfile from the myDATA page, and take note of its version\n  number (e.g., 1.0.10).\n* Run the following command:\n\n  ```\n  poetry run ingest-xsd --api-version 1.0.10 /path/to/xsd.zip\n  ```\n\n* Commit the final result\n\n\n## License\n\nLicensed under MPL-2.0. Please read the [`NOTICE.md`](NOTICE.md) and\n[`LICENSE`](LICENSE) files for the full copyright and license information.\n\n## Useful links\n\n* [myDATA REST API documentation](https://www.aade.gr/epiheiriseis/mydata-ilektronika-biblia-aade/mydata/tehnikes-prodiagrafes-ekdoseis-mydata)\n* [myDATA developer sandbox](https://www.aade.gr/epiheiriseis/mydata-ilektronika-biblia-aade/mydata/dokimastiko-periballon)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapyrgio%2Fmydata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapyrgio%2Fmydata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapyrgio%2Fmydata/lists"}