{"id":15694199,"url":"https://github.com/nickstenning/annotator-store-flask","last_synced_at":"2025-05-08T07:28:58.647Z","repository":{"id":66096398,"uuid":"1155899","full_name":"nickstenning/annotator-store-flask","owner":"nickstenning","description":"An SQL-backed store for the Annotator using Flask [flask.pocoo.org]","archived":false,"fork":false,"pushed_at":"2011-06-09T20:09:03.000Z","size":123,"stargazers_count":7,"open_issues_count":6,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-31T17:25:00.636Z","etag":null,"topics":[],"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/nickstenning.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}},"created_at":"2010-12-10T11:11:19.000Z","updated_at":"2024-04-02T17:40:56.000Z","dependencies_parsed_at":"2023-02-19T22:25:16.213Z","dependency_job_id":null,"html_url":"https://github.com/nickstenning/annotator-store-flask","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickstenning%2Fannotator-store-flask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickstenning%2Fannotator-store-flask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickstenning%2Fannotator-store-flask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickstenning%2Fannotator-store-flask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickstenning","download_url":"https://codeload.github.com/nickstenning/annotator-store-flask/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253020197,"owners_count":21841509,"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":[],"created_at":"2024-10-03T18:54:16.285Z","updated_at":"2025-05-08T07:28:58.628Z","avatar_url":"https://github.com/nickstenning.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Annotator Store\n\nThis is a backend store for the [Annotator][ann].\n\n## Getting going\n\nYou'll need a recent version of [python][1] (\u003e=2.6). This code relies on the [`flask`][2] and [`elixir`][3] libraries.\n\nThe quickest way to get going assumes you have the `pip` and `virtualenv` tools installed (protip: `easy_install virtualenv` will get them both). Run the following in the repository root:\n\n    pip -E pyenv install -r requirements\n    source pyenv/bin/activate\n    cp annotator.cfg.example annotator.cfg\n    python run.py\n\nYou should see something like:\n\n    * Running on http://127.0.0.1:5000/\n    * Restarting with reloader...\n\nThe annotation store, a JSON-speaking REST API, will be mounted at `http://localhost:5000/store/annotations`. You can test this by running:\n\n    $ curl -i http://localhost:5000/store/annotations\n    HTTP/1.0 200 OK\n    Content-Type: application/json\n    Access-Control-Allow-Origin: *\n    Access-Control-Expose-Headers: Location\n    Access-Control-Allow-Methods: GET, POST, PUT, DELETE\n    Access-Control-Max-Age: 86400\n    Content-Length: 2\n    Server: Werkzeug/0.6.2 Python/2.6.1\n    Date: Fri, 10 Dec 2010 11:44:33 GMT\n\n    []\n\nThe \"[]\" at the end indicates the empty list for your annotations. There are no annotations currently in the store. See the [Annotator repository][ann] for details on getting an annotator talking to this backend.\n\n[ann]: http://nickstenning.github.com/annotator\n[1]: http://python.org\n[2]: http://flask.pocoo.org\n[3]: http://elixir.ematia.de\n\n## Running tests\n\nRunning `pip -E pyenv install -r requirements` or similar, as described above, should have installed `nose` for you. In the virtualenv, you should be able to run the tests as follows:\n\n    $ nosetests\n    .....................\n    ----------------------------------------------------------------------\n    Ran 21 tests in 0.502s\n\n    OK\n\nPlease [open an issue](annotator-store-flask/issues) if you find that the tests don't all pass on your machine, making sure to include the output of `pip freeze`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickstenning%2Fannotator-store-flask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickstenning%2Fannotator-store-flask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickstenning%2Fannotator-store-flask/lists"}