{"id":20969710,"url":"https://github.com/grillazz/fastapi-apscheduler","last_synced_at":"2025-05-14T10:34:20.672Z","repository":{"id":65941773,"uuid":"566372645","full_name":"grillazz/fastapi-apscheduler","owner":"grillazz","description":"Simple REST interface to APScheduler library","archived":false,"fork":false,"pushed_at":"2024-08-10T14:44:47.000Z","size":250,"stargazers_count":8,"open_issues_count":5,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T02:11:16.918Z","etag":null,"topics":["apscheduler","fastapi","python","python3","rest-api"],"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/grillazz.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}},"created_at":"2022-11-15T14:37:46.000Z","updated_at":"2025-03-19T17:04:16.000Z","dependencies_parsed_at":"2023-12-11T21:26:08.515Z","dependency_job_id":"1e16f13f-fb72-4d9c-be5c-bc7e7c12b5b7","html_url":"https://github.com/grillazz/fastapi-apscheduler","commit_stats":{"total_commits":20,"total_committers":1,"mean_commits":20.0,"dds":0.0,"last_synced_commit":"b0209d3991b2d841d2bbfb8b1464fe186edf0d76"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grillazz%2Ffastapi-apscheduler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grillazz%2Ffastapi-apscheduler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grillazz%2Ffastapi-apscheduler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grillazz%2Ffastapi-apscheduler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grillazz","download_url":"https://codeload.github.com/grillazz/fastapi-apscheduler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254121332,"owners_count":22018144,"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":["apscheduler","fastapi","python","python3","rest-api"],"created_at":"2024-11-19T03:49:53.939Z","updated_at":"2025-05-14T10:34:15.658Z","avatar_url":"https://github.com/grillazz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fastapi-apscheduler\n\n\n[![Build Status](https://travis-ci.com/viniciuschiele/fastapi-apscheduler.svg?branch=main)](https://travis-ci.com/viniciuschiele/fastapi-apscheduler)\n[![PyPI version](https://badge.fury.io/py/fastapi-apscheduler.svg)](https://badge.fury.io/py/fastapi-apscheduler)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## Installation\n\n```bash\npip install fastapi-apscheduler\n```\n\n## Usage\n\n```python\nfrom fastapi import FastAPI\n\nfrom fastapi_apscheduler.utils import get_logger\nfrom fastapi_apscheduler.routers import get_jobs_router\nfrom fastapi_apscheduler.scheduler import lifespan\n\nlogger = get_logger(__name__)\n\napp = FastAPI(lifespan=lifespan)\n\napp.include_router(get_jobs_router(), prefix=\"/scheduler\", tags=[\"scheduler\"])\n\n\nasync def pytest_job():\n    logger.info(\"test_job\")\n```\n\n\n\n## Build and publish to pypi with poetry\n```bash\npoetry build\n\nBuilding fastapi-apscheduler (0.0.x)\n  - Building sdist\n  - Built fastapi_apscheduler-0.0.x.tar.gz\n  - Building wheel\n  - Built fastapi_apscheduler-0.0.x-py3-none-any.whl\n\n\npoetry config pypi-token.pypi \u003ctoken\u003e\n\n\npoetry publish\n\nPublishing fastapi-apscheduler (0.0.6) to PyPI\n - Uploading fastapi_apscheduler-0.0.6-py3-none-any.whl 100%\n - Uploading fastapi_apscheduler-0.0.6.tar.gz 100%\n```\n\n## Run local instance of worker with uvicorn\n```bash\nuvicorn example.main:app --workers 1 --port 8084 --log-level debug --env-file example/.env\n```\n\n## TODO:\n- add CI\n- add tests to CI\n- add coverage to CI","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrillazz%2Ffastapi-apscheduler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrillazz%2Ffastapi-apscheduler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrillazz%2Ffastapi-apscheduler/lists"}