{"id":19832053,"url":"https://github.com/ail-project/pyail","last_synced_at":"2025-05-01T16:32:55.338Z","repository":{"id":62578596,"uuid":"267423667","full_name":"ail-project/PyAIL","owner":"ail-project","description":" Python library using the AIL Rest API ","archived":false,"fork":false,"pushed_at":"2024-10-04T09:59:32.000Z","size":79,"stargazers_count":7,"open_issues_count":2,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-08T20:18:09.656Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ail-project.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}},"created_at":"2020-05-27T20:50:56.000Z","updated_at":"2024-10-04T09:59:37.000Z","dependencies_parsed_at":"2022-11-03T19:17:25.815Z","dependency_job_id":"fe7975b0-a95b-413d-b84f-34fcb685597c","html_url":"https://github.com/ail-project/PyAIL","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":0.5,"last_synced_commit":"e0f28d1a8dc7ade5e2f943d9dd00ad3c2a2a1cc9"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ail-project%2FPyAIL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ail-project%2FPyAIL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ail-project%2FPyAIL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ail-project%2FPyAIL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ail-project","download_url":"https://codeload.github.com/ail-project/PyAIL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224267702,"owners_count":17283369,"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-11-12T11:36:13.015Z","updated_at":"2024-11-12T11:36:13.710Z","avatar_url":"https://github.com/ail-project.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"PyAIL\n======\n\n[![Python 3.6](https://img.shields.io/badge/python-3.6+-blue.svg)](https://www.python.org/downloads/release/python-360/)\n\n# PyAIL - Python library using the AIL Rest API\n\nPyAIL is a Python library to access [AIL](https://github.com/ail-project/ail-framework) platforms via their REST API.\n\n## Install from pip\n\n**It is strongly recommended to use a virtual environment**\n\nIf you want to know more about virtual environments, [python has you covered](https://docs.python.org/3/tutorial/venv.html)\n\nInstall pyail:\n```bash\npip3 install pyail\n```\n\n## Usage\n\n### Feeding items to AIL\n\n```python\nfrom pyail import PyAIL\n\nail_url = 'https://localhost:7000'\nail_key = '\u003cAIL API KEY\u003e'\ntry:\n    pyail = PyAIL(ail_url, ail_key, ssl=False)\nexcept Exception as e:\n    print(e)\n    sys.exit(0)\n\ndata = 'my item content'\nmetadata = {}\nsource = '\u003cFEEDER NAME\u003e'\nsource_uuid = '\u003cfeeder UUID v4\u003e'\n\npyail.feed_json_item(data, metadata, source, source_uuid)\n```\n\n\n# License\n\n\nThis software is licensed under BSD 3-Clause License\n\nCopyright (C) 2020-2023 CIRCL - Computer Incident Response Center Luxembourg\n\nCopyright (C) 2020-2023 Aurelien Thirion\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fail-project%2Fpyail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fail-project%2Fpyail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fail-project%2Fpyail/lists"}