{"id":32513018,"url":"https://github.com/stav/statira","last_synced_at":"2025-10-27T22:49:30.656Z","repository":{"id":283733853,"uuid":"952699896","full_name":"stav/statira","owner":"stav","description":"Medicare/Medicaid lookup automation","archived":false,"fork":false,"pushed_at":"2025-09-26T13:39:28.000Z","size":123,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T11:51:51.424Z","etag":null,"topics":["medicaid","medicare","scraping"],"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/stav.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-21T18:14:14.000Z","updated_at":"2025-09-26T02:14:41.000Z","dependencies_parsed_at":"2025-09-26T04:10:56.694Z","dependency_job_id":"6b645262-26d1-4da5-819f-8575127445a7","html_url":"https://github.com/stav/statira","commit_stats":null,"previous_names":["stav/statira"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/stav/statira","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stav%2Fstatira","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stav%2Fstatira/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stav%2Fstatira/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stav%2Fstatira/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stav","download_url":"https://codeload.github.com/stav/statira/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stav%2Fstatira/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281355360,"owners_count":26486896,"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","status":"online","status_checked_at":"2025-10-27T02:00:05.855Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["medicaid","medicare","scraping"],"created_at":"2025-10-27T22:49:29.130Z","updated_at":"2025-10-27T22:49:30.651Z","avatar_url":"https://github.com/stav.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\nThis package provides functionality to check Medicare and Medicaid eligibility\nfor users via the Anthem API. It reads CSV user data input, formats it, sends \nit to the API, and handles the response.\n\n## Install\n\n### Clone\n\n    $ git clone git@github.com:stav/statira.git\n\n### Virtual Environment\n\n    $ python  -m venv venv\n    $ source venv/bin/activate\n\n### Dependencies\n\n    $ pip install --upgrade pip\n    $ pip install -r requirements.txt\n\n### Structure\n\n    [drwxr-xr-x stav     stav     4.0K]  .\n    ├── [-rwxr-xr-x stav     stav      245]  anthem.sh\n    ├── [-rw-r--r-- stav     stav       94]  clients.csv\n    ├── [-rw-r--r-- stav     stav      261]  config.ini\n    ├── [-rw-r--r-- stav     stav     132K]  llms-ctx.txt\n    ├── [drwxr-xr-x stav     stav      12K]  output\n    │   ├── [drwxr-xr-x stav     stav      68K]  cache\n    │   ├── [drwxr-xr-x stav     stav     4.0K]  change\n    │   └── [drwxr-xr-x stav     stav     4.0K]  recent\n    ├── [-rw-r--r-- stav     stav     2.4K]  README.md\n    ├── [-rw-r--r-- stav     stav      730]  requirements.txt\n    ├── [drwxr-xr-x stav     stav     4.0K]  statira\n    │   ├── [-rw-r--r-- stav     stav     7.3K]  anthem.py\n    │   ├── [-rw-r--r-- stav     stav      401]  config.py\n    │   ├── [-rw-r--r-- stav     stav     2.7K]  index.py\n    │   ├── [-rw-r--r-- stav     stav      504]  main.py\n    │   ├── [-rw-r--r-- stav     stav     3.0K]  parse.py\n    │   ├── [drwxr-xr-x stav     stav     4.0K]  static\n    │   └── [-rw-r--r-- stav     stav     1.9K]  upload.py\n    └── [drwxr-xr-x stav     stav     4.0K]  venv\n\n#### Files\n\n- `anthem.sh`: Shell script for running the application.\n- `clients.csv`: List of clients with details such as name, DOB, MBI, SSN, Medicaid ID, and Effective date.\n- `config.ini`: Configuration file containing authentication and agent details.\n- `llms-ctx.txt`: Context file for language model processing.\n- `output/`: Directory for storing output files.\n    - `cache/`: Cached server responses.\n    - `change/`: Server responses that differ from previous responses.\n    - `recent/`: The most recent server response.\n- `README.md`: Documentation file for the project.\n- `requirements.txt`: Python dependencies required for the project.\n- `statira/`: Main application directory.\n    - `anthem.py`: Main script to run the application.\n    - `config.py`: Handles configuration settings.\n    - `index.py`: Home page for the client user interface.\n    - `main.py`: Entry point for client operations.\n    - `parse.py`: Parsing logic for input data.\n    - `static/`: Directory for static files.\n    - `upload.py`: Handles file uploads.\n- `venv/`: Virtual environment directory for Python dependencies.\n\n##### clients.csv\n\n```csv\nFirst Name,Last Name,DOB,MBI,SSN,Medicaid,PED\nJohn,Doe,01/01/1951,123456789,123-45-1111,987654321,07/01/2025\nJane,Doe,02/02/1952,234567891,987-65-2222,,\nJohn,Smith,01/01/1953,345678912,,987654321,\nJane,Smith,02/02/1954,456789123,,,\n```\n- `First Name`: First name of the individual\n- `Last Name`: Last name of the individual\n- `DOB`: Date of birth of the individual\n- `MBI`: Medicare Beneficiary Identifier\n- `SSN`: Social Security Number (optional)\n- `Medicaid`: Medicaid ID of the client (optional)\n- `PED`: Proposed Effective Date of a new insurance plan (optional)\n\n##### config.ini\n\n```ini\n[AUTH]\nBEARER_TOKEN = ey...\n\n[AGENT]\nNAME = Steven Almeroth\nTIN = ..........\n\n[CLIENT]\nPORT = 7001\n```\n\n## Development\n\nMake sure you have the virtual environment sourced:\n\n    source venv/bin/activate\n\n### Client User Interface\n\nWhen writing your code, we recommend enabling Python's [development mode][1] \n(python -X dev).\n\n    $ STA=devel python -X dev statira/main.py\n\n### Anthem\n\nIf you want to run the Anthem script witout using the client interface\nit will look in the root of the project for a file called `clients.csv`\n(See above):\n\n    $ python statira/anthem.py\n\n## Production\n\n    pm2 start ecosystem.config.cjs\n\n\n[1]: https://docs.python.org/3/library/devmode.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstav%2Fstatira","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstav%2Fstatira","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstav%2Fstatira/lists"}