{"id":16717888,"url":"https://github.com/xoolive/pyb2b","last_synced_at":"2025-04-10T07:45:24.312Z","repository":{"id":182842318,"uuid":"669194200","full_name":"xoolive/pyb2b","owner":"xoolive","description":"Python API to EUROCONTROL NM B2B services","archived":false,"fork":false,"pushed_at":"2024-11-21T14:18:53.000Z","size":711,"stargazers_count":7,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T07:57:07.651Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/xoolive.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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":"2023-07-21T15:15:44.000Z","updated_at":"2025-03-18T09:11:46.000Z","dependencies_parsed_at":"2024-01-04T22:35:53.071Z","dependency_job_id":"c3bddb88-738d-49dc-8bc8-07b2b9cb5042","html_url":"https://github.com/xoolive/pyb2b","commit_stats":null,"previous_names":["xoolive/b2b"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xoolive%2Fpyb2b","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xoolive%2Fpyb2b/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xoolive%2Fpyb2b/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xoolive%2Fpyb2b/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xoolive","download_url":"https://codeload.github.com/xoolive/pyb2b/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248180630,"owners_count":21060881,"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":[],"created_at":"2024-10-12T21:34:18.061Z","updated_at":"2025-04-10T07:45:24.295Z","avatar_url":"https://github.com/xoolive.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python API to EUROCONTROL NM B2B services\n\n## Installation\n\n```sh\npoetry install\n```\n\n## Get started\n\n\u003e [!IMPORTANT]  \n\u003e You have to own a B2B certificate granted by EUROCONTROL to get access to this data.\n\nYou must provide a config file with your key and password to use pyb2b.\n\n```text\n[global]\npkcs12_filename = path/to/your/p12/file\npkcs12_password = your_password\nmode = OPS/PREOPS\nversion = 26.0.0\n```\n\nThis file must be placed in the user_config_dir.\n\n- on linux: `~/.config/b2b/b2b.conf`\n- on mac: `~/Library/Application Support/b2b/b2b.conf`\n- on windows: `C:\\\\Users\\\\\u003cusername\u003e\\\\AppData\\\\Local\\\\\u003cAppAuthor\u003e\\\\\u003cAppName\u003e`\n\nThen you may run a text-user interface:\n\n```sh\npoetry run b2b\n```\n\n## Python interface\n\nThe client is also available programmatically (Python):\n\n```python\nfrom pyb2b import b2b\n```\n\n\u003e [!WARNING]  \n\u003e Documentation is still very limited:\n\u003e\n\u003e - Functions are self documented, listed through autocompletion\n\u003e - Most functions return a structure with a JSON object fully typed (for autocompletion in modern editors)\n\u003e - All functions have an asynchronous version (with the `async_` prefix)\n\nAsynchronous functions take a `httpx.AsyncClient` as a first argument, to be called as follows:\n\n```python\nimport httpx\n\nfrom pyb2b import b2b\n\nasync with httpx.AsyncClient(verify=b2b.context) as client:\n    result = await b2b.async_...(\n        client, # and extra arguments\n    )\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxoolive%2Fpyb2b","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxoolive%2Fpyb2b","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxoolive%2Fpyb2b/lists"}