Skip to main content

Foliage: a tool to do bulk changes in FOLIO using the API

Project description

FoliageFoliage icon

Foliage is the FOLIo chAnGe Editor, a tool to do bulk changes and other operations in FOLIO using the network API.

License Python Latest release

Table of contents

Introduction

Foliage (Folio change Editor) is a desktop computer application that can perform operations in FOLIO, a library services platform (LSP) used by Caltech and other institutions. Foliage allows a user to look up records of various kinds, perform bulk changes in the values of record fields, delete records, and more. It communicates with a FOLIO server using the OKAPI network API. The program is cross-platform compatible and currently in use on Windows and macOS computers at the Caltech Library.

Foliage screenshot

Although Foliage is a desktop application and not a web service, it uses a web page as its user interface – it opens a page in a browser on the user's computer, letting the user interact with the program through the familiar elements of a web page. This lets Foliage present an identical user interface no matter whether it is running on Window, macOS, or Linux.

Foliage warning

Installation

There are multiple ways of installing Foliage, ranging from downloading a ready-to-install package for Windows, to installing it as a typical Python program using pip. Please choose the alternative that suits you.

Alternative 1: installing the Windows MSI package

For the Caltech Library, we provide Foliage as a Windows MSI installer package. This is the easiest and preferred way of getting a copy of Foliage on Windows. Please contact the author for more information.

Alternative 2: installing Foliage using pip

The instructions below assume you have a Python 3 interpreter installed on your computer. Note that the default on macOS at least through 10.14 (Mojave) is Python 2 – please first install Python version 3 and familiarize yourself with running Python programs on your system before proceeding further.

You should be able to install foliage with pip for Python 3. To install foliage from the Python package repository (PyPI), run the following two commands:

python3 -m pip install git+https://github.com/mhucka/PyWebIO.git@2af53fc
python3 -m pip install foliage

If you already installed Foliage once before, and want to update to the latest version, add --upgrade to the ends the commands above.

Alternative 3: installing Foliage from sources

If you prefer to install Foliage directly from the source code, you can do that too. To get a copy of the files, you can clone the GitHub repository:

git clone https://github.com/caltechlibrary/foliage

Alternatively, you can download the files as a ZIP archive using this link directly from your browser using this link: https://github.com/caltechlibrary/foliage/archive/refs/heads/main.zip

Next, after getting a copy of the files, run setup.py inside the code directory:

cd foliage
python3 -m pip install git+https://github.com/mhucka/PyWebIO.git@2af53fc
python3 setup.py install

Usage

Documentation for Foliage is available online at https://caltechlibrary.github.io/foliage/.

Getting help

If you find an issue, please submit it in the GitHub issue tracker for this repository.

Contributing

Your help and participation in enhancing Foliage is welcome! Please visit the guidelines for contributing for some tips on getting started. Developer documentation is available in the repository at dev/dev-docs.

License

Software produced by the Caltech Library is Copyright © 2021–2023 California Institute of Technology. This software is freely distributed under a BSD type license. Please see the LICENSE file for more information.

Acknowledgments

This work was funded by the California Institute of Technology Library.

The vector artwork used as a starting point for the logo for this repository was created by Alice Noir for the Noun Project. It is licensed under the Creative Commons Attribution 3.0 Unported license. The vector graphics was modified by Mike Hucka to change the color.

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

foliage-1.9.0rc2.tar.gz (71.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

foliage-1.9.0rc2-py3-none-any.whl (76.3 kB view details)

Uploaded Python 3

File details

Details for the file foliage-1.9.0rc2.tar.gz.

File metadata

  • Download URL: foliage-1.9.0rc2.tar.gz
  • Upload date:
  • Size: 71.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for foliage-1.9.0rc2.tar.gz
Algorithm Hash digest
SHA256 254f97ef44c27716b82846c3f7c86e286ebb8687debea26711ce0ca758b7fabb
MD5 6e57cf279689b901fd0ac35c8e5e761e
BLAKE2b-256 d7e051d00a287e97708f2ea8e3ee4b8cfdda7441704fb7d4ca4bc6d94d152f88

See more details on using hashes here.

Provenance

The following attestation bundles were made for foliage-1.9.0rc2.tar.gz:

Publisher: pypi-publish.yml on caltechlibrary/foliage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file foliage-1.9.0rc2-py3-none-any.whl.

File metadata

  • Download URL: foliage-1.9.0rc2-py3-none-any.whl
  • Upload date:
  • Size: 76.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for foliage-1.9.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 a370c9a0b332c46a3b2b2676c5a27d54d255cc570879b6d006d6274a8409e24d
MD5 80538279da26e3b8c27532994d1dcf58
BLAKE2b-256 c00220def3328e436e406f2f8efaff6fce3972df93c9c06acf9a508500288ba7

See more details on using hashes here.

Provenance

The following attestation bundles were made for foliage-1.9.0rc2-py3-none-any.whl:

Publisher: pypi-publish.yml on caltechlibrary/foliage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page