Giter Site home page Giter Site logo

pelican_units's Introduction

pelican_units

A pelican plugin that will automatically convert units between different systems.

Units uses Pints to automatically convert between unit systems.

Units will automagically convert your units and measurements into another unit. Units will seek out, create, and insert a unit conversion into the page so that measurements are useful to a wider audience. This plugin is especially useful to people who live in a country that does not use the SI system of measurement (such as the United States). It will give their audience a better appreciation of the measurements that are mentioned without much additional work for the author.

Prerequisites:

This package requires Pint and inflict before running. Pint is the engine behind the unit conversion. Inflict pluralizes the units so that they are grammatically correct.

Usage:

Units takes two different notations.

The first notation will convert the annotated measurement to the default system:

This is a test of a single conversion {unit: 10 ft}.

The second method allows you to specify the unit conversion or many converstions:

This tests a single conversion to a specified unit {unit: 28g :: oz}

This tests multiple conversion to a specified unit {unit: 28g :: oz :: lbs}

pelican_units's People

Contributors

bnice5000 avatar

Watchers

 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.