Application for storing photos in S3 compatible object-storage.
Project description
Photo Objects
Application for storing photos in S3 compatible object-storage.
Developing
Make migrations:
python3 back/manage.py makemigrations --pythonpath="$(pwd)"
Testing
Static analysis
Check and automatically fix formatting with:
pycodestyle --exclude back/api/settings.py,*/migrations/*.py back photo_objects
autopep8 -aaar --in-place --exclude back/api/settings.py,*/migrations/*.py back photo_objects
Run static analysis with:
pylint back/api photo_objects
Integration tests
Run integration tests (in the api directory) with:
python3 runtests.py
Get test coverage with:
coverage run --branch --source photo_objects runtests.py
coverage report -m
End-to-end tests
Run end-to-end tests with Docker Compose:
docker compose -f docker-compose.test.yaml up --exit-code-from test --build
Run end-to-end tests in interactive mode (in the tests directory):
# Install dependencies
npm ci
# Start test target
docker compose up -d
# Configure credentials
export USERNAME=admin
export PASSWORD=$(docker compose exec api cat /var/photo_objects/initial_admin_password)
# Start test UI
npx playwright test --ui
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file photo_objects-0.10.2.tar.gz.
File metadata
- Download URL: photo_objects-0.10.2.tar.gz
- Upload date:
- Size: 37.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f09598a9672a709ea2b32252d107801ec79af9391a750732a1cf45c1ea971f26
|
|
| MD5 |
5f36b7720cca8ba8be2baea4ab4cbf24
|
|
| BLAKE2b-256 |
d683aa6d30350c6b8ab31a39cce1c71ded46ff045c743c5ebf8106787f59348a
|
File details
Details for the file photo_objects-0.10.2-py3-none-any.whl.
File metadata
- Download URL: photo_objects-0.10.2-py3-none-any.whl
- Upload date:
- Size: 57.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffbd0580b168f464d41b4bfffd2114e80af4e0f8f7de9b97d92e3a800c28e96e
|
|
| MD5 |
d63346f10e7df68c31bfd7c53bb55c48
|
|
| BLAKE2b-256 |
e7f3a74159e1d3f085edd91a1510185b3fef8bdfe54ff4584e88cdedf5dda8b5
|