mymoviebook


Namemymoviebook JSON
Version 1.12.0 PyPI version JSON
download
home_page
SummaryGenerate your personal movie collection book
upload_time2023-12-02 06:26:26
maintainer
docs_urlNone
authorturulomio
requires_python>=3.10
licenseGPL-3.0 license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            What is mymoviebook
===================
It's a script to generate your personal movie collection book. 

This book is interactive and lets you find your movies quickly in a book with your prefered movie images.

This is a page of automatically generated movie collection:

[![Demo](https://raw.githubusercontent.com/Turulomio/mymoviebook/master/doc/demo.jpg)](https://raw.githubusercontent.com/Turulomio/mymoviebook/master/doc/demo.pdf)

Linux installation
==================

If you use Gentoo, you can find the ebuild in https://github.com/turulomio/myportage/tree/master/media-video/mymoviebook

Or you can install with pypi, writing:

`pip install mymoviebook`

Or you can install from sources:

`poetry install`

You also need to install Latex in your distribution to be able to use `pdflatex` command


Usage
=====

MyMovieBook has Django as its backend, and uses a sqlite database by default. You can change it to use any django supported database. To prepare just run:

`mymoviebook --updatedb`

You can change your database settings using dj-database-url project https://github.com/jazzband/dj-database-url#url-schema

MyMovieBook it's prepared to create big books with thousands of films. So, in order to do this managemente easy, It's very important that movies are placed in numbered directories with 6 movies and its 6 covers. Although it's optional, I recommend to apped the year of the film to the end of the title.

For example, this is the content of a directory named /Films/7/

    -rw-r--r-- 1 user user 3096243290 ene  2 18:37 'Descalzos por el parque. 1967.avi' 
    -rw-r--r-- 1 user user      98977 ene  2 09:08 'Descalzos por el parque. 1967.jpg'
    -rw-r--r-- 1 user user     101423 ene  2 09:07 'El diablo dijo no. 1943.jpg'
    -rw-r--r-- 1 user user 2066396474 ene  2 19:28 'El diablo dijo no. 1943.mkv'
    -rw-r--r-- 1 user user     136564 ene  2 10:43 'El disputado voto del señor Cayo. 1985.jpg'
    -rw-r--r-- 1 user user 1777303444 ene  2 19:32 'El disputado voto del señor Cayo. 1985.mkv'
    -rw-r--r-- 1 user user 1856114688 ene  2 20:00 'El estado de la unión. 1948.avi'
    -rw-r--r-- 1 user user      80461 ene  2 09:39 'El estado de la unión. 1948.jpg'
    -rw-r--r-- 1 user user      68861 ene  2 08:54 'El manantial. 1949.jpg'
    -rw-r--r-- 1 user user 2460711108 ene  2 18:29 'El manantial. 1949.mkv'
    -rw-r--r-- 1 user user 2026502144 ene  2 19:35 'En un lugar solitario. 1950.avi'
    -rw-r--r-- 1 user user      97493 ene  2 09:26 'En un lugar solitario. 1950.jpg'

We enter in the directory with

`cd /Films/7`

We add the directory movie information to the database automatically, with the following command

`mymoviebook --insert`

If we need other parameters to connect to our database we can use them too.

We can add as many directories as we want.

Generating book movie
---------------------

Once all our movies are quickly added to database and if our latex is working (pdflatex command is needed), after executing

`mymoviebook --report /home/user/mymoviebook.pdf`

we get our movie collection book. This is the ![demo movie book](https://raw.githubusercontent.com/Turulomio/mymoviebook/master/doc/demo.pdf).


Links
=====
Pypi web page:
    https://pypi.org/project/mymoviebook/

Changelog
=========
1.12.0 (2023-12-02)
-------------------
- Fixed problem with python dependencies

1.11.0 (2023-04-27)
-------------------
- Added --delete feature to delete films with a directory id

1.10.0 (2023-04-22)
-------------------
- Code is now based in a standalone django process

1.9.0 (2022-11-13)
------------------
-  --insert parameter now checks there aren't more than 6 films per directory

1.8.0
-----
- Replaced officegenerator by unogenerator

1.7.0
-----
- Fixed error parsing names
- Improved objects encapsulation

1.6.0
-----
- Replaced --output and --generate parameter by --report
- Improved code structure

1.5.1
-----
- Removed demo files from distribution package.

1.5.0
-----
- Films without year are showed in PDF report.
- Duplicated films are showed in PDF report.

1.4.0
-----
- Captured error pressing CTRL+C
- Improved documentation and spanish translation

1.3.0
-----
- Added the number of films in report for each year. Fixes #12.
- Now fimaffinity url is correctly encoded from name. Fixes #14.
- Printing film title shows the year too
- Added --createdb parameter to create a new database and load schema. Fixes #8.

1.2.1
-----
- Added png to MANIFEST

1.2.0
-----
- Spanish translation finished
- Removed table of contents from book
- Added filmaffinity querys clicking in covers

1.1.0
-----
- Add cover to the generated book
- Removing large objects from database. Covers are now in a bytes field.
- Added database update system
- Changed project icons
- Improved gettext translations
- Basic ODT format support

1.0.0
-----
- Created a python package from my pdffilms.py script


0.10.0
------
- Added the number of films in the list.

0.9.0
-----
- Fixed alphabetical sorting
- Added refs to DVD from individual films

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "mymoviebook",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "",
    "author": "turulomio",
    "author_email": "turulomio@yahoo.es",
    "download_url": "https://files.pythonhosted.org/packages/6c/a2/40fa5539a1070d917fafb9b5cf2097b198dda609849c3c4036341d7ae2bb/mymoviebook-1.12.0.tar.gz",
    "platform": null,
    "description": "What is mymoviebook\n===================\nIt's a script to generate your personal movie collection book. \n\nThis book is interactive and lets you find your movies quickly in a book with your prefered movie images.\n\nThis is a page of automatically generated movie collection:\n\n[![Demo](https://raw.githubusercontent.com/Turulomio/mymoviebook/master/doc/demo.jpg)](https://raw.githubusercontent.com/Turulomio/mymoviebook/master/doc/demo.pdf)\n\nLinux installation\n==================\n\nIf you use Gentoo, you can find the ebuild in https://github.com/turulomio/myportage/tree/master/media-video/mymoviebook\n\nOr you can install with pypi, writing:\n\n`pip install mymoviebook`\n\nOr you can install from sources:\n\n`poetry install`\n\nYou also need to install Latex in your distribution to be able to use `pdflatex` command\n\n\nUsage\n=====\n\nMyMovieBook has Django as its backend, and uses a sqlite database by default. You can change it to use any django supported database. To prepare just run:\n\n`mymoviebook --updatedb`\n\nYou can change your database settings using dj-database-url project https://github.com/jazzband/dj-database-url#url-schema\n\nMyMovieBook it's prepared to create big books with thousands of films. So, in order to do this managemente easy, It's very important that movies are placed in numbered directories with 6 movies and its 6 covers. Although it's optional, I recommend to apped the year of the film to the end of the title.\n\nFor example, this is the content of a directory named /Films/7/\n\n    -rw-r--r-- 1 user user 3096243290 ene  2 18:37 'Descalzos por el parque. 1967.avi' \n    -rw-r--r-- 1 user user      98977 ene  2 09:08 'Descalzos por el parque. 1967.jpg'\n    -rw-r--r-- 1 user user     101423 ene  2 09:07 'El diablo dijo no. 1943.jpg'\n    -rw-r--r-- 1 user user 2066396474 ene  2 19:28 'El diablo dijo no. 1943.mkv'\n    -rw-r--r-- 1 user user     136564 ene  2 10:43 'El disputado voto del se\u00f1or Cayo. 1985.jpg'\n    -rw-r--r-- 1 user user 1777303444 ene  2 19:32 'El disputado voto del se\u00f1or Cayo. 1985.mkv'\n    -rw-r--r-- 1 user user 1856114688 ene  2 20:00 'El estado de la uni\u00f3n. 1948.avi'\n    -rw-r--r-- 1 user user      80461 ene  2 09:39 'El estado de la uni\u00f3n. 1948.jpg'\n    -rw-r--r-- 1 user user      68861 ene  2 08:54 'El manantial. 1949.jpg'\n    -rw-r--r-- 1 user user 2460711108 ene  2 18:29 'El manantial. 1949.mkv'\n    -rw-r--r-- 1 user user 2026502144 ene  2 19:35 'En un lugar solitario. 1950.avi'\n    -rw-r--r-- 1 user user      97493 ene  2 09:26 'En un lugar solitario. 1950.jpg'\n\nWe enter in the directory with\n\n`cd /Films/7`\n\nWe add the directory movie information to the database automatically, with the following command\n\n`mymoviebook --insert`\n\nIf we need other parameters to connect to our database we can use them too.\n\nWe can add as many directories as we want.\n\nGenerating book movie\n---------------------\n\nOnce all our movies are quickly added to database and if our latex is working (pdflatex command is needed), after executing\n\n`mymoviebook --report /home/user/mymoviebook.pdf`\n\nwe get our movie collection book. This is the ![demo movie book](https://raw.githubusercontent.com/Turulomio/mymoviebook/master/doc/demo.pdf).\n\n\nLinks\n=====\nPypi web page:\n    https://pypi.org/project/mymoviebook/\n\nChangelog\n=========\n1.12.0 (2023-12-02)\n-------------------\n- Fixed problem with python dependencies\n\n1.11.0 (2023-04-27)\n-------------------\n- Added --delete feature to delete films with a directory id\n\n1.10.0 (2023-04-22)\n-------------------\n- Code is now based in a standalone django process\n\n1.9.0 (2022-11-13)\n------------------\n-  --insert parameter now checks there aren't more than 6 films per directory\n\n1.8.0\n-----\n- Replaced officegenerator by unogenerator\n\n1.7.0\n-----\n- Fixed error parsing names\n- Improved objects encapsulation\n\n1.6.0\n-----\n- Replaced --output and --generate parameter by --report\n- Improved code structure\n\n1.5.1\n-----\n- Removed demo files from distribution package.\n\n1.5.0\n-----\n- Films without year are showed in PDF report.\n- Duplicated films are showed in PDF report.\n\n1.4.0\n-----\n- Captured error pressing CTRL+C\n- Improved documentation and spanish translation\n\n1.3.0\n-----\n- Added the number of films in report for each year. Fixes #12.\n- Now fimaffinity url is correctly encoded from name. Fixes #14.\n- Printing film title shows the year too\n- Added --createdb parameter to create a new database and load schema. Fixes #8.\n\n1.2.1\n-----\n- Added png to MANIFEST\n\n1.2.0\n-----\n- Spanish translation finished\n- Removed table of contents from book\n- Added filmaffinity querys clicking in covers\n\n1.1.0\n-----\n- Add cover to the generated book\n- Removing large objects from database. Covers are now in a bytes field.\n- Added database update system\n- Changed project icons\n- Improved gettext translations\n- Basic ODT format support\n\n1.0.0\n-----\n- Created a python package from my pdffilms.py script\n\n\n0.10.0\n------\n- Added the number of films in the list.\n\n0.9.0\n-----\n- Fixed alphabetical sorting\n- Added refs to DVD from individual films\n",
    "bugtrack_url": null,
    "license": "GPL-3.0 license",
    "summary": "Generate your personal movie collection book",
    "version": "1.12.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "18a34e6a6e651edfe01070390dde7aac9e9eeb9b38ae0fef303e984ceae830ab",
                "md5": "e21ede0698d1b41f3cafbf9c8de2eca9",
                "sha256": "ea8183a3216aa8cc48f3cf034648b358c4af10d51ab37568310dce0662b96bb0"
            },
            "downloads": -1,
            "filename": "mymoviebook-1.12.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e21ede0698d1b41f3cafbf9c8de2eca9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 221017,
            "upload_time": "2023-12-02T06:26:23",
            "upload_time_iso_8601": "2023-12-02T06:26:23.261161Z",
            "url": "https://files.pythonhosted.org/packages/18/a3/4e6a6e651edfe01070390dde7aac9e9eeb9b38ae0fef303e984ceae830ab/mymoviebook-1.12.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6ca240fa5539a1070d917fafb9b5cf2097b198dda609849c3c4036341d7ae2bb",
                "md5": "ef599ea7fec5a70837598bf2c70062cc",
                "sha256": "cda4c9c85e77ea531ed8a06b270a3c55b31f33217822dafedf9ed5f15d0e0355"
            },
            "downloads": -1,
            "filename": "mymoviebook-1.12.0.tar.gz",
            "has_sig": false,
            "md5_digest": "ef599ea7fec5a70837598bf2c70062cc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 212186,
            "upload_time": "2023-12-02T06:26:26",
            "upload_time_iso_8601": "2023-12-02T06:26:26.317021Z",
            "url": "https://files.pythonhosted.org/packages/6c/a2/40fa5539a1070d917fafb9b5cf2097b198dda609849c3c4036341d7ae2bb/mymoviebook-1.12.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-02 06:26:26",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "mymoviebook"
}
        
Elapsed time: 0.16962s