Coder Social home page Coder Social logo

jmgold / hold-pickup-location-updater Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 10.25 MB

Collection of code for use with Sierra ILS. Created and maintained by Jeremy Goldstein for test purposes only. Use at your own risk. Not supported by the Minuteman Library Network.

Python 100.00%

hold-pickup-location-updater's Introduction

Hold Pickup Location Batch Updater

Script will batch update the pickup location for all holds with a status of "on hold" with a specified location code to a new pickup location code

Two excel log files will be generated in the same directory as this script One that will include all holds prior to the update A second with any holds the script was unable to update

Within the dist folder you will find a deployable for windows executable version of the script created using pyinstaller

Prerequistes

In order to function you must complete the api_info.ini file in the same directory and add your cacert.pem file to the certifi folder

api_info.ini

Requires valid credentials for both the Sierra holds API and sql access The file should be formatted like so

[api]

base_url = https://[local domain]/iii/sierra-api/v5

client_key = [enter Sierra API key]

client_secret = [enter Sierra API secret]

sql_host = [enter host for Sierra SQL server]

sql_user = [enter sql username]

sql_pass = [enter sql password]

cacert.pem file

To find where this file is located on your computer you may run the following python script

import certifi certifi.where()

Once you've located the file, copy it to a certifi folder within the same directory

hold-pickup-location-updater's People

Contributors

jmgold avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.