Skip to main content

A tool to create barcodes for movies using different sorting functions.

Project description


About The Project

Fight Club - Intensity
Ponyo - Step
SpiderMan: No way home - Intensity
Encanto - Hue

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, you can simply open an issue with the tag "enhancement". You can also fork the repo and create a pull request. Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Installation

Movie BarCode requires an installation of Python 3.6 or greater, as well as pip. (Pip is typically bundled with Python installations.)

To install from PyPI with pip:

$ python -m pip install movie-barcode

Sometimes, the PyPI release becomes slightly outdated. To install from the source with pip:

$ python -m pip install git+https://github.com/MarcBresson/movie-barcode

(back to top)

Usage - QuickStart

Process a collection of movies at once :

>>> from movie_barcode import Movies

# Default output directories are ./images and ./npy
>>> movies = Movies(images_output_dir, computed_colors_output_dir)

# Will open a dialog. If a movie has already been computed, it will recover the npy file.
>>> movies.load()
>>> movies.compute()
>>> movies.save() # optional. It allows to directly load the computed array on movies.load()
>>> movies.export_every_barcode()

(back to top)

License

Distributed under the EUPL 1.2 License. See LICENSE.txt for more information.

(back to top)

Contact

Marc Bresson - marco.bresson@gmail.com

(back to top)

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

movie-barcode-1.1.2.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

movie_barcode-1.1.2-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file movie-barcode-1.1.2.tar.gz.

File metadata

  • Download URL: movie-barcode-1.1.2.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for movie-barcode-1.1.2.tar.gz
Algorithm Hash digest
SHA256 d0b931c2098f35f7bff3bd07e9fc2f14be933bb244fcac2bc2565737615beabe
MD5 f298fad07003a461fb6f8f02682baf0b
BLAKE2b-256 708fb44c0b8f30bc2c842c4b3fb71e29cc41d229a4bcc76ffdc170145ee41561

See more details on using hashes here.

File details

Details for the file movie_barcode-1.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for movie_barcode-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 09e9d2e677cd03405ac11b9e9b60407110e501865e45356768a36630413946c6
MD5 76b2e8b818e998c3caad062373e787ce
BLAKE2b-256 a14e1591a2d84670c84bfb5a57e11715d3f157321dbf09f2575de0fd9ede545a

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