{"id":21021279,"url":"https://github.com/danielnaab/django-int-to-roman","last_synced_at":"2026-07-22T00:37:13.421Z","repository":{"id":34511028,"uuid":"38452489","full_name":"danielnaab/django-int-to-roman","owner":"danielnaab","description":"Django Roman Numeral Generator","archived":false,"fork":false,"pushed_at":"2015-07-02T23:23:28.000Z","size":152,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-24T17:02:55.504Z","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/danielnaab.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":"2015-07-02T19:23:40.000Z","updated_at":"2015-07-02T19:23:53.000Z","dependencies_parsed_at":"2022-09-04T19:51:31.361Z","dependency_job_id":null,"html_url":"https://github.com/danielnaab/django-int-to-roman","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danielnaab/django-int-to-roman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielnaab%2Fdjango-int-to-roman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielnaab%2Fdjango-int-to-roman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielnaab%2Fdjango-int-to-roman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielnaab%2Fdjango-int-to-roman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielnaab","download_url":"https://codeload.github.com/danielnaab/django-int-to-roman/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielnaab%2Fdjango-int-to-roman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35742292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-21T02:00:06.728Z","response_time":109,"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-11-19T10:46:12.338Z","updated_at":"2026-07-22T00:37:13.395Z","avatar_url":"https://github.com/danielnaab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# django-int-to-roman\n\nA simple Django project that converts an integer to a Roman numeral. Django 1.8\nand Python 2.7.\n\n## Install project and dependencies\n\n- Clone the repository:\n\n```\ngit clone git@github.com:danielnaab/django-int-to-roman.git\ncd django-int-to-roman\n```\n\nCreate a `virtualenv`, using `virtualenvwrapper` (or alternative).\nIf python-2.7 is not your default Python, specify it as a parameter:\n\n```\nmkvirtualenv --no-site-packages int-to-roman\n```\n\n- Install the dependencies:\n\n```\npip install -r requirements-dev.txt\n```\n\n*OR:*\n\n```\npip install -r requirements.txt\n```\n\n## Unit testing\n\nThe `int_to_roman.lib.integer_to_roman` function, which is responsible for the\nactual unit conversion, is tested by the `int_to_roman.tests` module. The test\nverifies that all numbers in the inclusive range (1, 3999) convert correctly.\nThis test may be run with:\n\n```\n./manage.py test\n```\n\n## Running a development server\n\n- Start a local development server:\n\n```\n./manage.py runserver\n```\n\n- Optionally, specify a `DJANGO_SETTINGS_MODULE` (`local` is the default):\n\n```\nexport DJANGO_SETTINGS_MODULE=int_to_roman.settings.local\nexport DJANGO_SETTINGS_MODULE=int_to_roman.settings.production\n```\n\n## Project outline\n\n- Because this is a simple Django project, there is no reason for the use of\n\"apps\". The sole view is specified in the root `urlpatterns` with two URL\npatterns.\n\n- Settings are modularized into a package, with `defaults.py` specifying the\nbase settings and environment-specific settings in separate modules.\n\n- To demonstrate a potential caching strategy, the form `POST` redirects to a\nformal URL pattern with the integer specified as a URL parameter. If this were\na heavily used application and the generation of the response were expensive,\nan http caching layer such as Varnish could be placed in front of the web\nserver to reduce server load. This could further be made more efficient by\nskipping the `POST` altogether and setting the URL in the browser via the\n`window.history` object, with a fall-back to a `POST` when Javascript is\ndisabled in the browser.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielnaab%2Fdjango-int-to-roman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielnaab%2Fdjango-int-to-roman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielnaab%2Fdjango-int-to-roman/lists"}