camerahub


Namecamerahub JSON
Version 0.38.0 PyPI version JSON
download
home_pagehttps://camerahub.info/
SummaryApp for cataloguing vintage cameras, lenses, films, negatives & prints
upload_time2024-01-08 16:21:36
maintainer
docs_urlNone
authorJonathan Gazeley
requires_python>=3.10,<4.0
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](https://github.com/djjudas21/photodb-perl), which has now been deprecated.

## Installing CameraHub

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

* With Pip
* [From source](docs/operations/source.rst)
* [With Docker](docs/operations/docker.rst)
* [With Kubernetes](docs/operations/kubernetes.rst)

## 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](https://docs.djangoproject.com/en/3.0/ref/settings/#engine)
Default: `django.db.backends.sqlite3`

### `CAMERAHUB_DB_HOST`

[Database hostname or IP address](https://docs.djangoproject.com/en/3.0/ref/settings/#host) if an engine other than SQLite is configured

### `CAMERAHUB_DB_NAME`

[Database schema or path to SQLite db](https://docs.djangoproject.com/en/3.0/ref/settings/#name)
`db/db.sqlite3`

### `CAMERAHUB_DB_PASS`

[Database password](https://docs.djangoproject.com/en/3.0/ref/settings/#password) if an engine other than SQLite is configured

### `CAMERAHUB_DB_PORT`

[Database port](https://docs.djangoproject.com/en/3.0/ref/settings/#port) if an engine other than SQLite is configured

### `CAMERAHUB_DB_USER`

[Database username](https://docs.djangoproject.com/en/3.0/ref/settings/#user) if an engine other than SQLite is configured

### `CAMERAHUB_PROD`

Enable [Django production mode](https://docs.djangoproject.com/en/3.0/ref/settings/#debug)
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](https://miniwebtool.com/django-secret-key-generator/)
Default: `OverrideMe!`

### `CAMERAHUB_EMAIL_BACKEND`

[Email backend](https://docs.djangoproject.com/en/3.1/topics/email/#email-backends)
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](https://docs.djangoproject.com/en/3.0/ref/settings/#default-from-email)
Default: `noreply@camerahub.info`

### `CAMERAHUB_DOMAIN`

[Site domain](https://docs.djangoproject.com/en/3.0/ref/settings/#allowed-hosts)
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.

```sh
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

* [Changelog](https://github.com/camerahub/camerahub/releases)
* [Docs](docs/index.rst)

            

Raw data

            {
    "_id": null,
    "home_page": "https://camerahub.info/",
    "name": "camerahub",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Jonathan Gazeley",
    "author_email": "camerahub@jonathangazeley.com",
    "download_url": "https://files.pythonhosted.org/packages/7f/d6/c59f0d81df55bf69f1813ae76509cbfa58f6380815b13e9a822b358f1b8e/camerahub-0.38.0.tar.gz",
    "platform": null,
    "description": "# CameraHub\n\nCameraHub is a web app for film photography that can be used to track cameras, lenses, accessories, films, negatives and prints, to fully\ncatalogue a collection of photographic equipment as well as the pictures that are made with them.\n\nIt replaces an earlier command-line project, called [PhotoDB](https://github.com/djjudas21/photodb-perl), which has now been deprecated.\n\n## Installing CameraHub\n\nThere are several ways of installing CameraHub, depending on your needs:\n\n* With Pip\n* [From source](docs/operations/source.rst)\n* [With Docker](docs/operations/docker.rst)\n* [With Kubernetes](docs/operations/kubernetes.rst)\n\n## Configuring CameraHub\n\nCameraHub requires almost no additional config to run with default settings. However it is insecure in this configuration so at least `CAMERAHUB_SECRET_KEY` and\n`CAMERAHUB_PROD` must be set if you are running in production.\n\nThe following environment variables are supported:\n\n### `CAMERAHUB_ADMIN_EMAIL`\n\nEmail address for the `admin` account\nDefault: `admin@example.com`\n\n### `CAMERAHUB_ADMIN_PASSWORD`\n\nPassword for the `admin` account\nDefault: `admin`\n\n### `CAMERAHUB_DB_ENGINE`\n\n[Database engine](https://docs.djangoproject.com/en/3.0/ref/settings/#engine)\nDefault: `django.db.backends.sqlite3`\n\n### `CAMERAHUB_DB_HOST`\n\n[Database hostname or IP address](https://docs.djangoproject.com/en/3.0/ref/settings/#host) if an engine other than SQLite is configured\n\n### `CAMERAHUB_DB_NAME`\n\n[Database schema or path to SQLite db](https://docs.djangoproject.com/en/3.0/ref/settings/#name)\n`db/db.sqlite3`\n\n### `CAMERAHUB_DB_PASS`\n\n[Database password](https://docs.djangoproject.com/en/3.0/ref/settings/#password) if an engine other than SQLite is configured\n\n### `CAMERAHUB_DB_PORT`\n\n[Database port](https://docs.djangoproject.com/en/3.0/ref/settings/#port) if an engine other than SQLite is configured\n\n### `CAMERAHUB_DB_USER`\n\n[Database username](https://docs.djangoproject.com/en/3.0/ref/settings/#user) if an engine other than SQLite is configured\n\n### `CAMERAHUB_PROD`\n\nEnable [Django production mode](https://docs.djangoproject.com/en/3.0/ref/settings/#debug)\nDefault: `false`\n\n### `CAMERAHUB_SECRET_KEY`\n\nRandom secret value. The default string is for testing only and is insecure in production. Generate a new one [here](https://miniwebtool.com/django-secret-key-generator/)\nDefault: `OverrideMe!`\n\n### `CAMERAHUB_EMAIL_BACKEND`\n\n[Email backend](https://docs.djangoproject.com/en/3.1/topics/email/#email-backends)\nDefault: `django.core.mail.backends.filebased.EmailBackend`\n\n### `CAMERAHUB_EMAIL_USE_TLS`'\n\nEnable TLS for SMTP\n\n### `CAMERAHUB_EMAIL_USE_SSL`'\n\nEnable TLS for SMTP\n\n### `CAMERAHUB_EMAIL_HOST`\n\nSMTP server hostname\n\n### `CAMERAHUB_EMAIL_HOST_USER`\n\nSMTP server username\n\n### `CAMERAHUB_EMAIL_HOST_PASSWORD`\n\nSMTP server password\n\n### `CAMERAHUB_EMAIL_PORT`\n\nSMTP server port number\n\n### `CAMERAHUB_FROM_EMAIL`\n\n[From email address](https://docs.djangoproject.com/en/3.0/ref/settings/#default-from-email)\nDefault: `noreply@camerahub.info`\n\n### `CAMERAHUB_DOMAIN`\n\n[Site domain](https://docs.djangoproject.com/en/3.0/ref/settings/#allowed-hosts)\nDefault: `camerahub.info`\n\n### `CAMERAHUB_STATUS_URL`\n\nURL for a status page\n\n## Fixtures\n\nBase data is supplied as fixtures and must be manually imported after installation. These are **not** idempotent so should only be run once.\n\nThis data includes things like EXIF exposure programs, film formats, etc that are required to make CameraHub useful.\n\n```sh\npoetry run python manage.py loaddata --app schema Condition ExposureProgram Format Manufacturer Filmstock MeteringMode MeteringType Mount NegativeSize Process ShutterSpeed\n```\n\nThere is also some test data like cameras and negatives which shouldn't be imported into a production deployment.\n\n## See also\n\n* [Changelog](https://github.com/camerahub/camerahub/releases)\n* [Docs](docs/index.rst)\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "App for cataloguing vintage cameras, lenses, films, negatives & prints",
    "version": "0.38.0",
    "project_urls": {
        "Homepage": "https://camerahub.info/",
        "Repository": "https://github.com/camerahub/camerahub"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7db6e3d03387cc1902dae38b72b75c65b8a96d98069fda17daed51cbf17d64e7",
                "md5": "4552745f0316fdb8de144767c533ed1c",
                "sha256": "6e2aa0137d9b40881cb106f737fe667ae3fb4d67fc5b8ceec9ea0a4ebceb7075"
            },
            "downloads": -1,
            "filename": "camerahub-0.38.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4552745f0316fdb8de144767c533ed1c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 275212,
            "upload_time": "2024-01-08T16:21:33",
            "upload_time_iso_8601": "2024-01-08T16:21:33.939392Z",
            "url": "https://files.pythonhosted.org/packages/7d/b6/e3d03387cc1902dae38b72b75c65b8a96d98069fda17daed51cbf17d64e7/camerahub-0.38.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7fd6c59f0d81df55bf69f1813ae76509cbfa58f6380815b13e9a822b358f1b8e",
                "md5": "713d02d55f12a9d47d229ee2ee5d9582",
                "sha256": "5007c88f2cbd877e159c57288e805f0bdd346ade3c7c59a5e81c30ab17df1dd5"
            },
            "downloads": -1,
            "filename": "camerahub-0.38.0.tar.gz",
            "has_sig": false,
            "md5_digest": "713d02d55f12a9d47d229ee2ee5d9582",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 215255,
            "upload_time": "2024-01-08T16:21:36",
            "upload_time_iso_8601": "2024-01-08T16:21:36.504903Z",
            "url": "https://files.pythonhosted.org/packages/7f/d6/c59f0d81df55bf69f1813ae76509cbfa58f6380815b13e9a822b358f1b8e/camerahub-0.38.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-08 16:21:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "camerahub",
    "github_project": "camerahub",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "camerahub"
}
        
Elapsed time: 3.97727s