Skip to main content

App for cataloguing vintage cameras, lenses, films, negatives & prints

Project description

CameraHub

CameraHub is a web app for film photography that can be used to track cameras, lenses, accessories, films, negatives and prints, to fully catalogue a collection of photographic equipment as well as the pictures that are made with them.

It replaces an earlier command-line project, called PhotoDB, which has now been deprecated.

Installing CameraHub

There are several ways of installing CameraHub, depending on your needs:

Configuring CameraHub

CameraHub requires almost no additional config to run with default settings. However it is insecure in this configuration so at least CAMERAHUB_SECRET_KEY and CAMERAHUB_PROD must be set if you are running in production.

The following environment variables are supported:

CAMERAHUB_ADMIN_EMAIL

Email address for the admin account Default: admin@example.com

CAMERAHUB_ADMIN_PASSWORD

Password for the admin account Default: admin

CAMERAHUB_DB_ENGINE

Database engine Default: django.db.backends.sqlite3

CAMERAHUB_DB_HOST

Database hostname or IP address if an engine other than SQLite is configured

CAMERAHUB_DB_NAME

Database schema or path to SQLite db db/db.sqlite3

CAMERAHUB_DB_PASS

Database password if an engine other than SQLite is configured

CAMERAHUB_DB_PORT

Database port if an engine other than SQLite is configured

CAMERAHUB_DB_USER

Database username if an engine other than SQLite is configured

CAMERAHUB_PROD

Enable Django production mode Default: false

CAMERAHUB_SECRET_KEY

Random secret value. The default string is for testing only and is insecure in production. Generate a new one here Default: OverrideMe!

CAMERAHUB_EMAIL_BACKEND

Email backend Default: django.core.mail.backends.filebased.EmailBackend

CAMERAHUB_EMAIL_USE_TLS'

Enable TLS for SMTP

CAMERAHUB_EMAIL_USE_SSL'

Enable TLS for SMTP

CAMERAHUB_EMAIL_HOST

SMTP server hostname

CAMERAHUB_EMAIL_HOST_USER

SMTP server username

CAMERAHUB_EMAIL_HOST_PASSWORD

SMTP server password

CAMERAHUB_EMAIL_PORT

SMTP server port number

CAMERAHUB_FROM_EMAIL

From email address Default: noreply@camerahub.info

CAMERAHUB_DOMAIN

Site domain Default: camerahub.info

CAMERAHUB_STATUS_URL

URL for a status page

Fixtures

Base data is supplied as fixtures and must be manually imported after installation. These are not idempotent so should only be run once.

This data includes things like EXIF exposure programs, film formats, etc that are required to make CameraHub useful.

poetry run python manage.py loaddata --app schema Condition ExposureProgram Format Manufacturer Filmstock MeteringMode MeteringType Mount NegativeSize Process ShutterSpeed

There is also some test data like cameras and negatives which shouldn't be imported into a production deployment.

See also

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

camerahub-0.38.0.tar.gz (215.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

camerahub-0.38.0-py3-none-any.whl (275.2 kB view details)

Uploaded Python 3

File details

Details for the file camerahub-0.38.0.tar.gz.

File metadata

  • Download URL: camerahub-0.38.0.tar.gz
  • Upload date:
  • Size: 215.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-1018-azure

File hashes

Hashes for camerahub-0.38.0.tar.gz
Algorithm Hash digest
SHA256 5007c88f2cbd877e159c57288e805f0bdd346ade3c7c59a5e81c30ab17df1dd5
MD5 713d02d55f12a9d47d229ee2ee5d9582
BLAKE2b-256 7fd6c59f0d81df55bf69f1813ae76509cbfa58f6380815b13e9a822b358f1b8e

See more details on using hashes here.

File details

Details for the file camerahub-0.38.0-py3-none-any.whl.

File metadata

  • Download URL: camerahub-0.38.0-py3-none-any.whl
  • Upload date:
  • Size: 275.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-1018-azure

File hashes

Hashes for camerahub-0.38.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e2aa0137d9b40881cb106f737fe667ae3fb4d67fc5b8ceec9ea0a4ebceb7075
MD5 4552745f0316fdb8de144767c533ed1c
BLAKE2b-256 7db6e3d03387cc1902dae38b72b75c65b8a96d98069fda17daed51cbf17d64e7

See more details on using hashes here.

Supported by

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