{"id":18293526,"url":"https://github.com/haabiy/flaskstringify","last_synced_at":"2026-05-16T22:04:17.191Z","repository":{"id":227735035,"uuid":"772273348","full_name":"Haabiy/FlaskStringify","owner":"Haabiy","description":"Flask-based API for string processing. It offers functionalities to manipulate and transform strings efficiently","archived":false,"fork":false,"pushed_at":"2024-03-14T22:19:59.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-19T21:55:05.609Z","etag":null,"topics":["api","flask","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Haabiy.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-03-14T21:40:49.000Z","updated_at":"2024-03-14T22:15:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3829af9-7e11-415d-bf70-a38a5be73ed8","html_url":"https://github.com/Haabiy/FlaskStringify","commit_stats":null,"previous_names":["haabiy/flaskstringify"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Haabiy/FlaskStringify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haabiy%2FFlaskStringify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haabiy%2FFlaskStringify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haabiy%2FFlaskStringify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haabiy%2FFlaskStringify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Haabiy","download_url":"https://codeload.github.com/Haabiy/FlaskStringify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haabiy%2FFlaskStringify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33120450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"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":["api","flask","unit-testing"],"created_at":"2024-11-05T14:24:56.007Z","updated_at":"2026-05-16T22:04:17.175Z","avatar_url":"https://github.com/Haabiy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Description:\n\nFlaskStringify is a Flask-based API designed for string processing tasks. It currently provides basic functionalities for manipulating and transforming strings. However, it's designed to be extensible, allowing for the addition of more advanced functionalities based on user needs and preferences.\n\n## Simple Python API\n\nThis repository contains a simple Python API built with Flask. The API provides endpoints for cleaning strings by removing 'NULL' values and reversing substrings.\n\n## Structure\n```\n\n├── Python\n│   └── api\n│       ├── Dockerfile\n│       ├── api.py\n│       ├── requirements.txt\n│       ├── run.sh\n│       ├── simple_python\n│       │   ├── __init__.py\n│       │   ├── src.py\n│       │   └── tests.py\n│       └── tests.py\n└── readme.md\n\n```\n\n## Usage\n\n1. Clone this repository to your local machine:\n\n   ```bash\n   git clone https://github.com/Haabiy/FlaskStringify.git\n   ```\n\n2. Navigate to the project directory:\n\n   ```bash\n   cd Python/api\n   ```\n\n3. Install dependencies using pip:\n\n   ```bash\n   pip3 install -r requirements.txt\n   ```\n\n4. Run the Flask application:\n\n   ```bash\n   python3 api.py\n   ```\n\n5. Send a POST request to the `/clean_string` endpoint with a JSON payload containing the string to clean:\n\n   ```json\n   {\n       \"string\": \"2076,3B,19C,138D,NULL,NULL\"\n   }\n   ```\n\n6. The API will respond with the cleaned string and reverse it:\n\n   ```json\n   {\n       \"cleaned_string\": \"138D,19C,3B,2076\"\n   }\n   ```\n\n## Testing\n\nThis project includes unit tests for the API endpoints. To run the tests:\n\n```bash\npython3 -m unittest\n```\nor \n\n```bash\npython3 unitTest.py\n```\n\n## Docker\n\nTo run the application using Docker, execute the `run.sh` script:\n\n```bash\n./run.sh\n```\n\nThis script builds the Docker image and runs a container with the Flask app.\n\n## Structure\n\n- `api/`: Contains the Flask application code.\n- `src.py`: Contains the source code for the functions to clean strings and find missing numbers.\n- `tests.py`: Contains the test code for the functions in `src.py`\n- `unitTest.py`: Contains unit tests for the API endpoints.\n\n## Contributing\n\nContributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.\n\n---","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaabiy%2Fflaskstringify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaabiy%2Fflaskstringify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaabiy%2Fflaskstringify/lists"}