Skip to main content

Add your description here

Project description

django-resume

A pluggable framework for managing your resume

Installation

pip install django-resume

Running Tests

pytest

Run mypy

uv run mypy src

Run coverage

coverage run -m pytest
coverage report

Run the javascript tests

npx vitest run

Run end to end tests

Install browsers for playwright:

playwright install

Create a testuser for the e2e tests user, using the password password:

DJANGO_SUPERUSER_USERNAME=playwright \
DJANGO_SUPERUSER_EMAIL=playwright@example.com \
DJANGO_SUPERUSER_PASSWORD=password \
python manage.py createsuperuser --noinput

Start the development server like this to use the playwright settings (mainly setting DEBUG = True to have the static files served by Django):

python manage.py runserver 0.0.0.0:8000 --settings=tests.playwright_settings

The base_url is set via tool.pytest.ini_options in pyproject.toml. Run the tests with:

pytest e2e_tests

Run playwright tests in head-full mode:

pytest e2e_tests --headed --slowmo 1000

Cleanup the test database after running the tests:

python manage.py remove_all_resumes

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_resume-0.1.7.tar.gz (10.0 MB view details)

Uploaded Source

Built Distribution

django_resume-0.1.7-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file django_resume-0.1.7.tar.gz.

File metadata

  • Download URL: django_resume-0.1.7.tar.gz
  • Upload date:
  • Size: 10.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.30

File hashes

Hashes for django_resume-0.1.7.tar.gz
Algorithm Hash digest
SHA256 9c3977c9ca1552b5fa3f609e5d8190153c6c71e4c2fac1fe561a12494205ab8f
MD5 ae030d197393c6ff3b6043f842c543b9
BLAKE2b-256 6882e62b4580807466ea50c09984fcb403d99ccec7bdfbb2a4fe638387523985

See more details on using hashes here.

File details

Details for the file django_resume-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for django_resume-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f8a8bc5e0d46cefd0dafafa31a42fd55960f535b4b019429439849557561bd15
MD5 6997f4aa3db2fddfa415b8732cf5ff6b
BLAKE2b-256 cc88bac8957bf41c4c2137cc6ac8bb005f6a4ec186e9ea6735341ae9f63a7302

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page