{"id":49065563,"url":"https://github.com/joshmgrant/corsica","last_synced_at":"2026-04-20T04:37:55.960Z","repository":{"id":48865135,"uuid":"84268536","full_name":"joshmgrant/corsica","owner":"joshmgrant","description":"A small, restful random number generator","archived":false,"fork":false,"pushed_at":"2023-02-14T22:20:56.000Z","size":97,"stargazers_count":6,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-03-22T20:42:02.324Z","etag":null,"topics":["fastapi","monte-carlo","python","rest-api","restful"],"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/joshmgrant.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}},"created_at":"2017-03-08T02:21:36.000Z","updated_at":"2021-10-07T17:00:19.000Z","dependencies_parsed_at":"2023-01-25T16:46:25.879Z","dependency_job_id":null,"html_url":"https://github.com/joshmgrant/corsica","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/joshmgrant/corsica","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshmgrant%2Fcorsica","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshmgrant%2Fcorsica/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshmgrant%2Fcorsica/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshmgrant%2Fcorsica/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshmgrant","download_url":"https://codeload.github.com/joshmgrant/corsica/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshmgrant%2Fcorsica/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32032883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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":["fastapi","monte-carlo","python","rest-api","restful"],"created_at":"2026-04-20T04:37:55.144Z","updated_at":"2026-04-20T04:37:55.947Z","avatar_url":"https://github.com/joshmgrant.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Corsica \n\n### Introduction\n\nCorsica is a RESTful service for generating random samples of some common probability distributions. Basically, it's random samples as a service (RSaaS).\n\n### Why Corsica?\n\nSamples of random variables can be helpful in many settings. Having a service to generate them on demand would be even more helpful. Corsica tries to accomplish this in a light and straightforward way. All that's needed is an Internet connection and a utility like `curl` or [`Invoke-RestMethod`](https://msdn.microsoft.com/powershell/reference/5.1/microsoft.powershell.utility/Invoke-RestMethod) if you are using Windows/PowerShell. You can also use your favourite mainstream browser like Chrome or Firefox instead if you prefer.\n\n### Ok, But Why the Name - Corsica?\n\n[Monte Carlo methods](https://en.wikipedia.org/wiki/Monte_Carlo_method) are a set of approaches where numerical results are calculated using random numbers. This applies to a broad class of problems from financial options pricing to statistical mechanics. Due to applying stochastic approaches to deterministic problems, Monte Carlo methods are named after a famous destination for gambling. \n\nCorsica is an island region of France approximately 300 kilometers from Monte Carlo. Corsica is close enough to get to Monte Carlo fairly easily (with a little work) but is also an island unto itself. This is the motivation for the name of this service.\n\n### Supported Distributions\n\nCurrently supported probability distributions are:\n- [the (continuous) uniform distribution](https://en.wikipedia.org/wiki/Uniform_distribution)\n- [the normal distribution](https://en.wikipedia.org/wiki/Normal_distribution)\n- [the exponential distribution](https://en.wikipedia.org/wiki/Exponential_distribution)\n\n### Example Usage\n\nSee the [interactive documentation](https://corsica.joshgrant.online/docs) for examples of how to generate samples of each distribution.\n\n### Technical Details\n\nThis is a cutting art, state of the edge project, built with:\n\n- [FastAPI](https://fastapi.tiangolo.com/) for the API layer\n- [Deta](https://docs.deta.sh/) for hosting the application\n- [Poetry](https://python-poetry.org/) for general dependency management and scripting\n\n### Questions or Concerns?\n\nLet me know how I'm doing. Please try this out and post bugs or issues. \n\nYou can also find me on [Twitter](https://twitter.com/joshin4colours). Thank you for your interest.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshmgrant%2Fcorsica","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshmgrant%2Fcorsica","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshmgrant%2Fcorsica/lists"}