{"id":16998324,"url":"https://github.com/CarterMcClellan/supercontrast-legacy","last_synced_at":"2025-03-22T15:31:10.271Z","repository":{"id":257803070,"uuid":"862687890","full_name":"CarterMcClellan/supercontrast-legacy","owner":"CarterMcClellan","description":"Find the best ML model for your use case | Y Combinator Fall 2024","archived":true,"fork":false,"pushed_at":"2024-10-21T23:22:33.000Z","size":1835,"stargazers_count":21,"open_issues_count":2,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-04T03:35:34.078Z","etag":null,"topics":["ai","aws","aws-sdk","azure","gcp","machine-learning","ycombinator"],"latest_commit_sha":null,"homepage":"https://www.supercontrast.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CarterMcClellan.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-09-25T02:54:54.000Z","updated_at":"2025-01-22T12:19:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"debb1850-4f82-456d-b149-ada808da4d75","html_url":"https://github.com/CarterMcClellan/supercontrast-legacy","commit_stats":{"total_commits":36,"total_committers":4,"mean_commits":9.0,"dds":0.5,"last_synced_commit":"80f820a8ef5d06bd90521099ba78c2681e261347"},"previous_names":["supercontrast-ai/supercontrast","cartermcclellan/supercontrast-legacy"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarterMcClellan%2Fsupercontrast-legacy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarterMcClellan%2Fsupercontrast-legacy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarterMcClellan%2Fsupercontrast-legacy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarterMcClellan%2Fsupercontrast-legacy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CarterMcClellan","download_url":"https://codeload.github.com/CarterMcClellan/supercontrast-legacy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244978573,"owners_count":20541876,"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":["ai","aws","aws-sdk","azure","gcp","machine-learning","ycombinator"],"created_at":"2024-10-14T04:04:52.679Z","updated_at":"2025-03-22T15:31:08.920Z","avatar_url":"https://github.com/CarterMcClellan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# supercontrast\n\u003ch4 align=\"center\"\u003e\n    \u003ca href=\"https://pypi.org/project/supercontrast/\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/pypi/v/supercontrast.svg\" alt=\"PyPI Version\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.ycombinator.com/companies/supercontrast\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Y%20Combinator-F24-orange?style=flat-square\" alt=\"Y Combinator F24\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://discord.com/invite/G6emkXjAm2\"\u003e\n        \u003cimg src=\"https://img.shields.io/static/v1?label=Chat%20on\u0026message=Discord\u0026color=blue\u0026logo=Discord\u0026style=flat-square\" alt=\"Discord\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://docs.supercontrast.com/\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/docs-latest-blue.svg\" alt=\"Documentation Status\"\u003e\n    \u003c/a\u003e\n\u003c/h4\u003e\n\n`supercontrast` is a package for easily running machine learning models from a variety of providers in a unified interface. We're adding more tasks and providers all the time, and would love help from the community to add more!\n\n\nWe currently support the following **Tasks**:\n\n- **OCR**\n- **Sentiment Analysis**\n- **Transcription**\n- **Translation**\n- **...and more!**\n\nFrom some of the most popular **Providers**:\n\n- **AWS**\n- **Azure**\n- **GCP**\n- **OpenAI**\n- **Anthropic**\n- **...and more!**\n\nIf you want the full list of supported tasks and providers, please reference our [docs](https://docs.supercontrast.com/introduction).\n\n## Installation\n\n### pip\n\n```bash\npip install supercontrast\n```\n\n### conda\n\n```bash\nconda env create -f environment.yml\n```\n\n## Additional Requirements\n\n### Python Version\n`supercontrast` is supported on **Python 3.12** (other versions may be unstable)\n\n### PDF Processing\nIf you are processing pdfs, you will need to install `poppler`. We recommend using conda to install it:\n\n```bash\nconda install -c conda-forge poppler\n```\n\n## Usage\n\n```python\nfrom supercontrast import (\n    Provider,\n    SentimentAnalysisRequest,\n    SuperContrastClient,\n    Task,\n)\n\n# Sending a Sentiment Analysis Request to AWS\nclient = SuperContrastClient(task=Task.SENTIMENT_ANALYSIS, providers=[Provider.AWS])\ninput_text = \"I love programming in Python!\"\nresponse, metadata = client.request(SentimentAnalysisRequest(text=input_text))\n```\n\nFor more examples of how to use `supercontrast`, refer to [examples.py](examples/examples.py) in the [examples](examples/) folder.\n\n## Contributing\n\nWe welcome contributions to the project! To contribute, please follow these steps:\n\n### 1. Clone the repo\n\n```bash\ngit clone https://github.com/supercontrast/supercontrast.git\n```\n\n### 2. Install package in editable mode\n\n```bash\npip install -e .\n```\n\n### 3. Run linting\n\n```bash\nblack .\nisort .\n```\n\n### 4. Run tests\n\n```bash\npytest -k \u003ctest_name\u003e\n```\n\n### 5. Submit a PR\n\nSubmit a PR to the main branch! We will review and merge your PR.\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCarterMcClellan%2Fsupercontrast-legacy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCarterMcClellan%2Fsupercontrast-legacy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCarterMcClellan%2Fsupercontrast-legacy/lists"}