Snappy Mac Library

Snappy mac library software
Modifying this control will update this page automatically

Mar 21, 2019  Python library for the snappy compression library from Google Skip to main content Switch to mobile version Warning Some features may not work without JavaScript.

Photos User Guide

When you import photos and videos into Photos, they’re copied to the Photos library in the Pictures folder. If you prefer, you can store photos and videos outside the Photos library (for example, in a folder on your Mac or on an external drive) and still view them in Photos. Files stored outside your library are called referenced files.

Referenced files aren’t automatically uploaded and stored in iCloud, and they aren’t backed up along with the rest of your files when you back up your photo library—you must back them up manually. To avoid manually backing up referenced files, you can move or consolidate the files into your library.

Store imported files outside the Photos library

  1. In the Photos app on your Mac, choose Photos > Preferences, then click General.

  2. Deselect the “Copy items to the Photos library” checkbox.

    Now, when you import photos or video, Photos leaves the files in their original location and accesses them as referenced files.

Find a referenced file in the Finder

  1. In the Photos app on your Mac, select a referenced file.

  2. Choose File > Show Referenced File in Finder.

Snappy mac library application

Copy referenced files into a Photos library

You can copy referenced files into your photo library so they’re easier to back up and are automatically stored in iCloud if iCloud Photos is turned on.

  1. In the Photos app on your Mac, select the files that you want to copy into the photo library.

  2. Choose File > Consolidate.

  3. Click Copy.

See alsoCreate additional photo libraries in Photos on MacBack up the library in Photos on MacRestore a library from Time Machine in Photos on MacRepair your library in Photos on Mac

python-snappy

Mcmaster Library

Python library for the snappy compression library from Google.This library is distributed under the New BSD License(http://www.opensource.org/licenses/bsd-license.php).

Dependencies

  • snappy library >= 1.0.2 (or revision 27)https://github.com/google/snappy

    You can install Snappy C library with following commands:

    • APT: sudo apt-get install libsnappy-dev
    • RPM: sudo yum install libsnappy-devel
    • Brew: brew install snappy

To use with pypy:

  • cffi >= 0.7http://cffi.readthedocs.org/
  • Supports Python 2.7 and Python 3

Build & Install

Build:

Snappy Mac Apple

Install:

Or install it from PyPi:

Run tests

Benchmarks

snappy vs. zlib

Compressing:

Snappy Mac Library Application

Snappy is 11 times faster than zlib when compressing

Uncompressing:

Snappy is twice as fast as zlib

Commandline usage

You can invoke Python Snappy to compress or decompress files or streams fromthe commandline after installation as follows

Compressing and decompressing a file:

Compressing and decompressing a stream:

Snappy Mac Library Application

You can get help by running

Snappy - compression library from Google (c)
http://google.github.io/snappy

Frequently Asked Questions

How to install it on Mac OS X?

It has been reported a few times (Issue #7 and #23) that it can't be installed correctly the library in Mac.The procedure should be,