{"id":50533078,"url":"https://github.com/umd-lib/autonumber-django","last_synced_at":"2026-06-03T15:02:04.723Z","repository":{"id":324278204,"uuid":"1096656028","full_name":"umd-lib/autonumber-django","owner":"umd-lib","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-25T18:46:53.000Z","size":106,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-29T00:32:36.745Z","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/umd-lib.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-14T18:44:16.000Z","updated_at":"2025-11-25T18:46:58.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/umd-lib/autonumber-django","commit_stats":null,"previous_names":["umd-lib/autonumber-django"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/umd-lib/autonumber-django","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umd-lib%2Fautonumber-django","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umd-lib%2Fautonumber-django/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umd-lib%2Fautonumber-django/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umd-lib%2Fautonumber-django/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umd-lib","download_url":"https://codeload.github.com/umd-lib/autonumber-django/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umd-lib%2Fautonumber-django/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33870026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-03T02:00:06.370Z","response_time":59,"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":"2026-06-03T15:02:03.697Z","updated_at":"2026-06-03T15:02:04.710Z","avatar_url":"https://github.com/umd-lib.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Autonumber Django Application\n\nDjango implementation of the Autonumber service.\n\nThis is a reimplementation of the Autonumber service from the Ruby on Rails app.\n\n## Installation Options\n\nThere are two ways to install this application:\n\n* [uv](https://github.com/astral-sh/uv) (for the recommended installation)\n* pyenv, which will manages the shims for `pip` and `python`\n\n---\n\n## Installation\n\nFirst, get the code by cloning the repository:\n\n```zsh\ngit clone https://github.com/umd-lib/autonumber-django.git\ncd autonumber-django\n```\n\nWith uv you can install python like so:\n\n```zsh\nuv python install 3.14.0\n```\n\nWith pyenv you use\n\n```zsh\npyenv install 3.14.0\n```\n\n### Option 1: Using `uv` (Recommended)\n\n1. **Create a virtual environment:**\n\n    ```zsh\n    uv venv\n    ```\n\n2. **Install the dependencies:**\n\n    ```zsh\n    uv sync --extra dev\n    ```\n\n### Option 2: Using pyenv\n\nThis uses the standard tools built into Python.\n\n1. **Create a virtual environment:**\n\n    ```zsh\n    python -m venv .venv --prompt autonumber\n    ```\n\n2. **Activate the environment:**\n\n    ```zsh\n    source .venv/bin/activate\n    ```\n\n3. **Install the project and its dependencies:**\n\n    ```zsh\n    pip install -e \".[dev]\"\n    ```\n\n---\n\n## Running the Application\n\nOnce you have installed the project using either method, you need to set up the database and run the server.\n\n### Option 1: Using `uv` (Recommended)\n\n1. **Run the database migrations:**\n\n    ```zsh\n    uv run src/manage.py migrate\n    ```\n\n2. **(Optional) Create a superuser:**\n    This allows you to log into the Django admin interface at `/admin/`.\n\n    ```zsh\n    uv run src/manage.py createsuperuser\n    ```\n\n3. **Run the development server:**\n\n    ```zsh\n    uv run src/manage.py runserver\n    ```\n\n4. Visit **`http://127.0.0.1:8000`** in your web browser.\n\n### Option 2: Using pyenv\n\n1. **Run the database migrations:**\n\n    ```zsh\n    python src/manage.py migrate\n    ```\n\n2. **(Optional) Create a superuser:**\n    This allows you to log into the Django admin interface at `/admin/`.\n\n    ```zsh\n    python src/manage.py createsuperuser\n    ```\n\n3. **Run the development server:**\n\n    ```zsh\n    python src/manage.py runserver\n    ```\n\n4. Visit [http://localhost:8000](http://localhost:8000) in your web browser.\n\n---\n\n## Running Tests\n\nThis project uses `pytest` and `pytest-django`.\n\n1. **Run the test suite:**\n    With uv\n\n    ```zsh\n    uv run pytest\n    ```\n\n    With pyenv\n\n    ```zsh\n    pytest\n    ```\n\n    **NOTE** With pyenv you may need to `source .venv/bin/activate` again after installing the optional\n    dependencies, so that the pytest shim gets properly updated in your terminal session.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumd-lib%2Fautonumber-django","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumd-lib%2Fautonumber-django","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumd-lib%2Fautonumber-django/lists"}