{"id":17085617,"url":"https://github.com/sub6resources/astro-sampler","last_synced_at":"2026-06-01T02:31:20.359Z","repository":{"id":239782670,"uuid":"800566514","full_name":"Sub6Resources/astro-sampler","owner":"Sub6Resources","description":"Sample from distributions commonly used in astronomy","archived":false,"fork":false,"pushed_at":"2024-05-16T15:51:46.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-30T03:10:08.905Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sub6Resources.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}},"created_at":"2024-05-14T15:22:18.000Z","updated_at":"2024-05-16T15:51:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"42aacc43-cdfd-4312-bc5f-b4498cfda7fc","html_url":"https://github.com/Sub6Resources/astro-sampler","commit_stats":null,"previous_names":["sub6resources/astro-sampler"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/Sub6Resources/astro-sampler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sub6Resources%2Fastro-sampler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sub6Resources%2Fastro-sampler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sub6Resources%2Fastro-sampler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sub6Resources%2Fastro-sampler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sub6Resources","download_url":"https://codeload.github.com/Sub6Resources/astro-sampler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sub6Resources%2Fastro-sampler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33757790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"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":[],"created_at":"2024-10-14T13:25:25.304Z","updated_at":"2026-06-01T02:31:20.337Z","avatar_url":"https://github.com/Sub6Resources.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Astro Sampler\n\nSample from distributions commonly used in astronomy.\n\n## Installation\n\n```bash\npip install astrosampler\n```\n\n### Dependencies\n\n- `numpy`\n\n## Usage\n\n```python\nfrom astrosampler import SalpeterIMF\n\n# Sample 1000 stellar masses from the Salpeter (1955) IMF\nimf = SalpeterIMF(mass_range=(0.08, 100))\nmasses = imf.sample(1000)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsub6resources%2Fastro-sampler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsub6resources%2Fastro-sampler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsub6resources%2Fastro-sampler/lists"}