Giter Site home page Giter Site logo

cm_plugin_list_libraries's Introduction

Plugin Hello for Circulation Manager

This is just a POC for running plugins in Circulation Manager

Plugin changes

  • new route /libraries in CM API returning a list of available libraries.
  • Script to list in output all libraries

Upload to a PyPI server

Upload to a PyPI server

To upload a package twine is used. pip install twine

  1. Build the package python setup.py sdist bdist_wheel

  2. Upload to a PyPI server twine upload --repository-url <pypi_server_name> dist/*

Note: To use a local pypi server, please follow this tutorial

Installing the plugin

Please use pip install -U --index-url <pypi_server_name> cm-plugin-list-libraries

Running tests

Once the plugin needs the server_core packages to run, it's necessary to have it under the core folder. To to this, clone the server_core: git clone https://github.com/arielmorelli/server_core core

To run tests, just run nosetests tests/ (don't forget to activate the virtualenv activated and install all requirements packages)

cm_plugin_list_libraries's People

Contributors

arielmorelli avatar

Watchers

James Cloos avatar  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.