{"id":17477723,"url":"https://github.com/thebabylonai/babylog","last_synced_at":"2025-05-07T10:36:26.120Z","repository":{"id":65584045,"uuid":"576075187","full_name":"thebabylonai/babylog","owner":"thebabylonai","description":"A lightweight logger for machine learning teams to log images and predictions in production.","archived":false,"fork":false,"pushed_at":"2023-05-03T10:36:45.000Z","size":3278,"stargazers_count":152,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-28T13:18:14.192Z","etag":null,"topics":["computer-vision","cvops","data-science","logger","logging-library","machine-learning","ml","mlops","python","python3"],"latest_commit_sha":null,"homepage":"https://www.babylonai.dev","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/thebabylonai.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":"2022-12-09T00:26:19.000Z","updated_at":"2024-09-11T11:11:37.000Z","dependencies_parsed_at":"2024-10-31T11:12:41.361Z","dependency_job_id":null,"html_url":"https://github.com/thebabylonai/babylog","commit_stats":{"total_commits":34,"total_committers":4,"mean_commits":8.5,"dds":0.6176470588235294,"last_synced_commit":"a2a29565e495879bcae216bb40ab8729fd6aced5"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebabylonai%2Fbabylog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebabylonai%2Fbabylog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebabylonai%2Fbabylog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebabylonai%2Fbabylog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thebabylonai","download_url":"https://codeload.github.com/thebabylonai/babylog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252860597,"owners_count":21815539,"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":["computer-vision","cvops","data-science","logger","logging-library","machine-learning","ml","mlops","python","python3"],"created_at":"2024-10-18T20:09:10.830Z","updated_at":"2025-05-07T10:36:26.097Z","avatar_url":"https://github.com/thebabylonai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to Babylog\n\n[![PyPI version](https://badge.fury.io/py/babylog.svg)](https://badge.fury.io/py/babylog)\n[![pypi supported versions](https://img.shields.io/pypi/pyversions/babylog.svg)](https://pypi.python.org/pypi/babylog)\n[![GitHub Super-Linter](https://github.com/thebabylonai/babylog/workflows/Lint%20Code%20Base/badge.svg)](https://github.com/marketplace/actions/super-linter)\n\nWelcome to babylog, a Python library, designed to stream image and video data from edge devices to the cloud with ease. Babylog is maintained by [BabylonAI, a Zurich-based YC-backed startup](https://babylonai.dev).\n\nCheck out the documentation here: https://babylonai.gitbook.io/babylog/\n\n![github_background](https://user-images.githubusercontent.com/16129326/215295136-a10e6cf7-916a-47a3-a40e-6565a10d4a06.png)\n\nThe primary goal of this library is to empower machine learning teams to log images and predictions, ensuring their computer vision models are working as intended. Without proper monitoring, small issues with a computer vision model can have dire consequences, such as a self-driving car incorrectly identifying a stop sign and causing an accident. Babylog aims to prevent such scenarios by providing the tools necessary for monitoring and debugging computer vision models.\n\n# Installation \u0026 requirements\n_Currently babylog only supports streaming the data to AWS. If you are using GCP or another provider please get in touch with us at founders@babylonai.dev and we'll make sure to add it into the development pipeline._\n\n## Supported python versions\nThe babylog Python library is compatible with **Python version 3.8 and above**. It is recommended to use the latest version of Python for best performance and stability. If you are using an older version of Python, you may need to upgrade your Python installation in order to use babylog. You can check your Python version by running the command `python --version` in your command prompt or terminal.\n\n## Installation\nLike most python packages, run: \n\n```bash\npip install babylog\n```\n\n## Getting and configuring your AWS credentials\n- Open the IAM console at https://console.aws.amazon.com/iam/\n- On the navigation menu, choose Users.\n- Choose your IAM user name (not the check box).\n- Open the Security credentials tab, and then choose Create access key.\n- To see the new access key, choose Show. Your credentials resemble the following:\n  - Access key ID: AKIAIOSFODNN7EXAMPLE\n  - Secret access key: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\n\n### Get your bucket name and region\nYou also need the name of your bucket and a slug of the region. Either create a new bucket or find the values for an existing bucket in your S3 console: https://s3.console.aws.amazon.com/s3/buckets\n\n\u003cimg width=\"1076\" alt=\"Screenshot 2023-01-28 at 12 42 30\" src=\"https://user-images.githubusercontent.com/16129326/215273827-d2260884-4570-4ca2-b46e-9b2c1ca21583.png\"\u003e\n\n### Creating a config file\nYou can set your AWS credentials in a `babylog.config.yaml` file to use them with the babylog library. Here is an example of how you might structure the file:\n\n```yaml\ndevice:\n  ip: 'DEVICE_IP'       # device ip to be used for tcp streaming (e.g. '127.0.0.1')\n  port: DEVICE_PORT     # port number(int) for tcp streaming\n  name: 'DEVICE_NAME'   # device name (e.g. 'device-1b2a')\n  group: 'GROUP_NAME'   # group name (e.g. 'group-222X)'\ndata:\n  interval: 3000        # ms between captures\n  max_workers: 4        # max number of threads to be used for logging\nS3_storage:\n  aws_access_key_id: 'YOUR_ACCESS_KEY'\n  aws_secret_access_key: 'YOUR_SECRET_KEY'\n  bucket_name: 'YOUR_BUCKET_NAME'\n  bucket_region: 'YOUR_BUCKET_REGION'\n```\n\nYou can replace YOUR_ACCESS_KEY and YOUR_SECRET_KEY with the actual values of your credentials. Currently you need one file per streaming device. If you want to add more granularity, please consider opening a github issue.\n\n**We recommend keeping the config files locally for security purposes. Consider adding the file to your .gitignore.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebabylonai%2Fbabylog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthebabylonai%2Fbabylog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebabylonai%2Fbabylog/lists"}