{"id":37076318,"url":"https://github.com/project-rig/rig_c_sa","last_synced_at":"2026-01-14T08:58:42.859Z","repository":{"id":57462004,"uuid":"49869174","full_name":"project-rig/rig_c_sa","owner":"project-rig","description":"Python C module for the Rig simulated annealing placer C kernel","archived":false,"fork":false,"pushed_at":"2017-02-01T11:22:31.000Z","size":68,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-25T04:05:01.992Z","etag":null,"topics":["simulated-annealing","spinnaker"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/project-rig.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":"2016-01-18T10:21:37.000Z","updated_at":"2016-01-18T10:21:43.000Z","dependencies_parsed_at":"2022-09-10T17:42:10.833Z","dependency_job_id":null,"html_url":"https://github.com/project-rig/rig_c_sa","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/project-rig/rig_c_sa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-rig%2Frig_c_sa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-rig%2Frig_c_sa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-rig%2Frig_c_sa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-rig%2Frig_c_sa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/project-rig","download_url":"https://codeload.github.com/project-rig/rig_c_sa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-rig%2Frig_c_sa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28414729,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:38:59.149Z","status":"ssl_error","status_checked_at":"2026-01-14T08:38:43.588Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["simulated-annealing","spinnaker"],"created_at":"2026-01-14T08:58:42.184Z","updated_at":"2026-01-14T08:58:42.854Z","avatar_url":"https://github.com/project-rig.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"`rig_c_sa`: Python C module for the Rig simulated annealing placer C kernel\n===========================================================================\n\n[![PyPi version](https://img.shields.io/pypi/v/rig_c_sa.svg?style=flat)](https://pypi.python.org/pypi/rig_c_sa)\n[![Linux and Mac build status](https://travis-ci.org/project-rig/rig_c_sa.svg?branch=master)](https://travis-ci.org/project-rig/rig_c_sa)\n[![Windows build status](https://ci.appveyor.com/api/projects/status/apl31daxqh2594kj?svg=true)](https://ci.appveyor.com/project/mossblaser/rig-c-sa)\n\nThis Python package contains an efficient set of datastructures and\nmanipulation functions for implementing a kernel for\n[Rig's](https://github.com/project-rig/rig) simulated annealing placement\nalgorithm with a [wafer-thin](https://www.youtube.com/watch?v=HJZPzQESq_0)\n[CFFI](http://cffi.readthedocs.org/) based interface.\n\nThe library is not intended for standalone usage and, as a result,\nthe whole API should be considered \"internal\" and unstable for public use.\n\nRunning tests locally\n---------------------\n\nThe C library is tested using using the\n[check](http://libcheck.github.io/check/) library. The test suite can be built\nusing the following command:\n\n\t$ gcc -std=c99 -g -o run_tests -Irig_c_sa tests/*.c rig_c_sa/sa.c -lm $(pkg-config --cflags --libs check)\n\nThe test suite should then be run under valgrind to ensure any memory leaks are found:\n\n\t$ valgrind -q --leak-check=full ./run_tests\n\nContinuous Integration and Deployment to PyPI\n---------------------------------------------\n\nWhen committing changeds to GitHub tests (and/or compilation checks) are run\nagainst:\n\n* [Travis CI](https://travis-ci.org/project-rig/rig_c_sa) will test the code on\n  Linux and Mac OS X.\n* [AppVeyor](https://ci.appveyor.com/project/mossblaser/rig-c-sa) will test the\n  code on Windows 32- and 64-bit.\n\nA PyPI release is automatically created when a new tag is pushed to GitHub.\nTo create a new `rig_c_sa` release, please follow these steps:\n\n* Increment the version number in\n  [`rig_c_sa/version.py`](./rig_c_sa/version.py) according to [Semantic\n  Versioning 2.0.0](http://semver.org/) in master.\n* Ensure that ensure that all tests on Travis and AppVeyor pass (critical!)\n* Create a new tag (`git tag -a vX.Y.Z`) which describes the changes since the\n  last release.\n* Push this to GitHub. Travis and AppVeyor will automatically build and deploy\n  the tagged release to [PyPI](https://pypi.python.org/pypi/rig_c_sa). This\n  deployment includes:\n  - Source distribution\n  - Precompiled OS X binaries\n  - Precompiled Windows 32- and 64-bit binaries\n\nThe ugly workings of this process are described more fully in\n[`.travis.yml`](./.travis.yml) and [`appveyor.yml`](./appveyor.yml).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-rig%2Frig_c_sa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproject-rig%2Frig_c_sa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-rig%2Frig_c_sa/lists"}