{"id":15690440,"url":"https://github.com/idlesign/codeorigins","last_synced_at":"2025-05-07T23:42:15.661Z","repository":{"id":62563311,"uuid":"104574379","full_name":"idlesign/codeorigins","owner":"idlesign","description":"Code origins contest based on GitHub data","archived":false,"fork":false,"pushed_at":"2020-03-07T00:59:43.000Z","size":12014,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T23:41:44.304Z","etag":null,"topics":["contest","github","python3","stats"],"latest_commit_sha":null,"homepage":"http://idlesign.github.io/codeorigins/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idlesign.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG","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-09-23T14:39:49.000Z","updated_at":"2023-04-19T11:08:49.000Z","dependencies_parsed_at":"2022-11-03T15:45:13.859Z","dependency_job_id":null,"html_url":"https://github.com/idlesign/codeorigins","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idlesign%2Fcodeorigins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idlesign%2Fcodeorigins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idlesign%2Fcodeorigins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idlesign%2Fcodeorigins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idlesign","download_url":"https://codeload.github.com/idlesign/codeorigins/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252973616,"owners_count":21834105,"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":["contest","github","python3","stats"],"created_at":"2024-10-03T18:09:32.875Z","updated_at":"2025-05-07T23:42:15.609Z","avatar_url":"https://github.com/idlesign.png","language":"Python","readme":"codeorigins\n===========\nhttps://github.com/idlesign/codeorigins\n\n|python| |release|\n\n.. |python| image:: http://forthebadge.com/images/badges/made-with-python.svg\n    :target: https://www.python.org\n\n.. |release| image:: https://img.shields.io/pypi/v/codeorigins.svg\n    :target: https://pypi.python.org/pypi/codeorigins\n\n\nDescription\n-----------\n\n*Code origins contest based on GitHub data*\n\nCodeOrigins live: http://idlesign.github.io/codeorigins/\n\n* Find interesting people and projects originating in various countries;\n* See what countries produce most starred projects;\n* Know your impact on community of your favourite language;\n* and more.\n\n\nFAQ\n---\n\n* *But wait, this data is not realtime!*\n\n  Yes, these are static web-pages (see ``docs/``) compiled from dumped data (see ``codeorigins/dump/``).\n  And it sure can be outdated.\n\n* *And what if I want to see updated data?*\n\n  You can dump data you're interested in and make a pull request.\n\n  Quick and dirty start:\n\n  1. Fork repository;\n  2. Git pull forked repository into local directory;\n  3. ``$ cd`` to the directory;\n  4. ``$ pip install -e .`` (``sudo`` may be required) -\n     this will made ``codeorigins`` CLI available;\n  5. Use ``$ codeorigins dump`` (see below) without ``--into`` -\n     this puts dumps into ``codeorigins/dump/``;\n  6. Commit and push added/changed dumps;\n  7. Create a pull request on your GitHub repository page.\n\n* *My country or language is not listed, what am I to do?*\n\n  Edit ``codeorigins/settings.py``, add all what you need and make a pull request.\n  You can also make and submit new/updated dumps (see above).\n\n\nCLI\n---\n\n**codeorigins** comes with CLI to streamline common actions.\n\nData Dump\n~~~~~~~~~\n\n\nUsing rate-limited GitHub search API:\n\n\n.. code-block:: bash\n\n    $ codeorigins dump --into /home/idle/ghdump --country ru --language Python api\n\nThis will use ``api`` to fetch repositories data for users located in ``Russia`` whose primary language is ``Python``\nand dump it into ``/home/idle/ghdump``.\n\nRegister OAuth Application (https://github.com/settings/developers) and use its *Client ID* and\n*Client Secret* to loosen the rate limits (append ``--credentials \u003cid\u003e,\u003csecret\u003e`` to dump command).\n\n\nHTML Export\n~~~~~~~~~~~\n\nUse ``make_html`` command to read data from dumps and compose HTML:\n\n.. code-block:: bash\n\n    $ codeorigins make_html --dump_dir /home/idle/ghdump\n\nThis will create HTML file in current working directory.\n\n\nSettings\n~~~~~~~~\n\nSee supported countries and languages using the following command:\n\n.. code-block:: bash\n\n    $ codeorigins show_settings\n\n\nRequirements\n------------\n\n* Python 3.6+\n* click\n* Jinja2\n* requests\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidlesign%2Fcodeorigins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidlesign%2Fcodeorigins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidlesign%2Fcodeorigins/lists"}