{"id":15912334,"url":"https://github.com/cdeil/gammapy-paris-tutorial","last_synced_at":"2025-04-03T02:27:39.424Z","repository":{"id":142038784,"uuid":"82787524","full_name":"cdeil/gammapy-paris-tutorial","owner":"cdeil","description":"Tutorial repo for Gammapy Paris workshop, Feb 2017","archived":false,"fork":false,"pushed_at":"2017-02-22T16:37:29.000Z","size":8,"stargazers_count":0,"open_issues_count":1,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T16:41:30.533Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cdeil.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-22T09:42:58.000Z","updated_at":"2017-02-22T16:25:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"c8ab37e4-8d61-4706-afe8-8cf88eb26b87","html_url":"https://github.com/cdeil/gammapy-paris-tutorial","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/cdeil%2Fgammapy-paris-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdeil%2Fgammapy-paris-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdeil%2Fgammapy-paris-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdeil%2Fgammapy-paris-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdeil","download_url":"https://codeload.github.com/cdeil/gammapy-paris-tutorial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246924250,"owners_count":20855693,"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-06T16:04:04.159Z","updated_at":"2025-04-03T02:27:39.395Z","avatar_url":"https://github.com/cdeil.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gammapy-paris-tutorial\n\nTutorial repo for Gammapy Paris workshop, Feb 2017\n\nWhat should we do?\n\n## Brief overview for Gammapy repo \n\n* Overview of code, tests, docs in Gammapy\n    * Use PointingInfo class as an example\n\n## How to hack on Gammapy\n\n* In Gammapy, everything works the same as in Astropy.\n  We don't have a lot of written docs for contributors,\n  but they have a ton: http://astropy.readthedocs.io/en/latest/\n* Know which version of Gammapy are you running.\n    * `python setup.py build`\n    * `python setup.py install`\n    * `pip install .`\n    * `python setup.py build_ext --inplace`\n    * `python setup.py develop`\n    * `pip install --editable .`\n* Run tests:\n    * `python setup.py test`\n    * `python -m pytest`\n* Build docs locally:\n    * `python setup.py build_docs`\n    * `open docs/_build/html/index.html`\n* Look at one pull request, travis-ci\n\n## Exercises\n\n### Coding\n\n* Python coding exercise \u0026 testing with pytest.org\n* Test-driven development -- let's write a `Point` class\n\n### Make a pull request\n\n* Working with git locally\n    * `git clone`\n    * `git pull`\n    * `git status`\n    * `git branch`\n    * `git checkout`\n    * `git commit`\n* Forking a repo, making a pull request\n    * Make a branch\n    * Make a commit\n    * Fork via Github website\n    * `git remote -v`\n    * `git push`\n    * Make pull request via Github website\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdeil%2Fgammapy-paris-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdeil%2Fgammapy-paris-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdeil%2Fgammapy-paris-tutorial/lists"}