Skip to main content

A library for those who want to convert their older images into digitised format (with metadata), and beautify them using borders and other options.

Project description

Memories

PyPi Documentation Status License Language grade: Python Downloads

Description

Memories is an easy to use package that helps to seperate clustered images from files and helps add metadata to files. The documentation is in progress and will be present in the "docs" directory of the project in the future. For the time being the following steps should be an adequate description of all functions present.

Installation

$ pip install memories

How to Use:

There are 6 functions at the time being:

  • dividedCrop: Takes 3 inputs, the path to the image, the path where the outful folder should be and the number of images present in the input file. It performs the task of dividing a single image into multiple smaller ones.
  • addDate: Takes input as the image path and the datetime to be added. it will add date when the image was originally taken.
  • bulkAddDate: Same as addDate, except it will add date to all images in a folder. The inputs are the folder path and datetime.
  • saveAsPDF: Converts a list of images (one or more) into a PDF
  • saveAs: Converts a single image into another format
  • makePage: Creates a year book like page in HTML

Example

import memories

memories.dividedCrop("./image.png", "./", imageQuantity = 6, bgrVal = [255, 255, 255])
memories.addDate("./image-1.jpg", "27/04/2021 12:00:03")
memories.bulkAddDate("./", "27/04/2021 12:00:03")
memories.saveAsPDF(["./source_folder/image1.png", "./random/another_source_folder/image2.jpg"], "./save_folder/file.pdf")
memories.saveAs("./source_folder/image1.jpg", ".png")
memories.makePage(["./source_folder/image1.png", "./random/another_source_folder/image2.jpg"], ["CSS", "Larry"], ["SASS", "That one got to you, didnt it"], "./save_folder")

Features

Current features that are present are:

  1. Crop out basic implementation
  2. Add Date and time metadata
  3. Save as PDF, PNG, JPG
  4. Basic Scrapbook implmentation
  5. Documentation

Future features can also be found at https://github.com/veedata/album-manager/projects/1:

  1. Border
  2. Collage
  3. Image Age identifyer

License

This software is released under the MIT license, see LICENSE.txt.

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

memories-0.6.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

memories-0.6-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file memories-0.6.tar.gz.

File metadata

  • Download URL: memories-0.6.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for memories-0.6.tar.gz
Algorithm Hash digest
SHA256 f702c9f027d1e04489dc3c8abc549b0a0ec3b8ef528cfcb8b2b31e0b3e42eace
MD5 b8051519b83ffcece93c429bebb0f91c
BLAKE2b-256 5256f95cdb9508de0706e7244496ebe5d87bce66f1ddd9dc0c9772eafd7889a3

See more details on using hashes here.

File details

Details for the file memories-0.6-py3-none-any.whl.

File metadata

  • Download URL: memories-0.6-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for memories-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 21586d77ab0b97642ad916c313ded08d78f07b57db6457827a6d9924006f6cfb
MD5 2557f1476efd079ec7199344579eec8e
BLAKE2b-256 17c8b805ea7d8bfb560b58b2e7e87ea6824ddb65db5b07978e2ffc96a6acefa6

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