{"id":25531927,"url":"https://github.com/m-ah07/text-sentiment-analysis-api","last_synced_at":"2026-02-14T06:32:46.900Z","repository":{"id":267265279,"uuid":"900708736","full_name":"m-ah07/text-sentiment-analysis-api","owner":"m-ah07","description":"A lightweight Python project for analyzing the sentiment of textual data using the TextBlob library. This project provides a simple and effective way to measure the polarity and subjectivity of any given text.","archived":false,"fork":false,"pushed_at":"2025-02-16T07:50:36.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-22T11:36:20.239Z","etag":null,"topics":["data-analysis","machine-learning","python","python-project","sentiment-analysis","text-analysis","text-mining"],"latest_commit_sha":null,"homepage":"","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/m-ah07.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,"zenodo":null}},"created_at":"2024-12-09T10:25:12.000Z","updated_at":"2025-02-16T07:50:39.000Z","dependencies_parsed_at":"2025-05-22T11:47:28.053Z","dependency_job_id":null,"html_url":"https://github.com/m-ah07/text-sentiment-analysis-api","commit_stats":null,"previous_names":["marwan-ahmed-23/text-sentiment-analysis-api","m-ah07/text-sentiment-analysis-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/m-ah07/text-sentiment-analysis-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-ah07%2Ftext-sentiment-analysis-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-ah07%2Ftext-sentiment-analysis-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-ah07%2Ftext-sentiment-analysis-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-ah07%2Ftext-sentiment-analysis-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m-ah07","download_url":"https://codeload.github.com/m-ah07/text-sentiment-analysis-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-ah07%2Ftext-sentiment-analysis-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29438775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T05:24:35.651Z","status":"ssl_error","status_checked_at":"2026-02-14T05:24:34.830Z","response_time":53,"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":["data-analysis","machine-learning","python","python-project","sentiment-analysis","text-analysis","text-mining"],"created_at":"2025-02-20T01:42:18.997Z","updated_at":"2026-02-14T06:32:46.883Z","avatar_url":"https://github.com/m-ah07.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Text Sentiment Analysis API\n\nThe Text Sentiment Analysis API is a Python-based project designed to provide an easy and efficient way to analyze the sentiment of textual data. Powered by the TextBlob library, this project serves as a foundation for developers, researchers, and enthusiasts looking to incorporate sentiment analysis into their applications. It allows you to evaluate the emotional tone and objectivity of any text through its polarity and subjectivity scores.\n\n## What is Sentiment Analysis?\n\nSentiment analysis is a natural language processing (NLP) technique used to determine the emotional tone conveyed by a piece of text. By analyzing polarity and subjectivity, you can understand:\n\n- Polarity: Whether the sentiment is positive, neutral, or negative (ranges from -1 to 1).\n- Subjectivity: Whether the text expresses objective facts (0) or subjective opinions (1).\n\n## Why Choose This API?\n\nThis project offers:\n\n- **Simplicity:** Minimal dependencies and straightforward implementation.\n- **Modularity:** A clean and extensible architecture that can be easily adapted to support additional NLP features or customizations.\n- **Efficiency:** Lightweight and fast processing, making it suitable for small to medium-sized applications.\n- **Versatility:** Can be used in a wide variety of applications, such as social media analysis, product reviews, and customer feedback systems.\n\n\n## 🚀 Key Features\n- Analyze the sentiment (polarity and subjectivity) of any given text.\n- Based on the popular TextBlob library, ensuring reliability and accuracy.\n- Highly modular, making it easy to extend and integrate into larger projects.\n- Examples included for quick and seamless integration into your workflows.\n\nThis API is perfect for developers and data enthusiasts looking to quickly implement sentiment analysis without delving into complex NLP frameworks. It provides a robust foundation for building more advanced text analysis solutions.\n\n\n## 📖 Installation\n1. Clone this repository:\n\n    ```bash\n    git clone https://github.com/m-ah07/text-sentiment-analysis-api.git\n    cd text-sentiment-analysis-api\n    ```\n\n2. Install the dependencies:\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n## Usage\n\nHere's an example of how to use the Sentiment Analysis API:\n\n```bash\nfrom src.sentiment_analysis import SentimentAnalyzer\n\ntext = \"I love programming in Python!\"\nanalyzer = SentimentAnalyzer()\nresult = analyzer.analyze_sentiment(text)\n\nprint(f\"Polarity: {result['polarity']}\")\nprint(f\"Subjectivity: {result['subjectivity']}\")\n```\n\n## 📂 Directory Structure\n```plaintext\ntext-sentiment-analysis-api/\n├── src/\n│   └── sentiment_analysis.py\n├── examples/\n│   └── example.py\n├── LICENSE\n├── .gitignore\n└── README.md\n```\n\n## 🤝 Contributing\nContributions are welcome! Feel free to fork the repository and submit a pull request.\n\n## 🌟 Show Your Support\nIf you found this project helpful, please consider giving it a ⭐ on GitHub. Your support means the world to us!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-ah07%2Ftext-sentiment-analysis-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-ah07%2Ftext-sentiment-analysis-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-ah07%2Ftext-sentiment-analysis-api/lists"}