Coder Social home page Coder Social logo

matteob99 / mypolr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fauskanger/mypolr

0.0 0.0 0.0 98 KB

Simple Python (2.7, 3.3+) package for using the Polr Project REST API. Has CLI-support (3.4+).

Home Page: https://mypolr.readthedocs.io

License: MIT License

Python 100.00%

mypolr's Introduction

Overview

This package, mypolr, is a python package to easily create and manage short links using the Polr Project's REST API. Mypolr also has CLI support.

User Guide and documentation:
https://mypolr.readthedocs.io
GitHub:
https://github.com/fauskanger/mypolr
Clone source:
git clone git://github.com/fauskanger/mypolr.git
PyPI:
pip install mypolr [ PyPI.org | Legacy ]

Project Python versions supported LICENCE
Latest git tag PyPI version conda version Version Scheme
Git Last commit Open issues Close issues
Repo size Repo size
Statuses Status ReadTheDocs.io build status Travis CI build and test status
Wheel support VersionEye dependency watch

Requirements

Polr Project

Documentation:
https://docs.polrproject.org

To use mypolr, you need a valid API key to a server with the Polr Project installed.

You can obtain the API key by logging in to your Polr site and navigate to <polr project root>/admin#developer.

Note

Disclaimer: This package, mypolr, is not affiliated with the Polr Project.

Python

There is only one requirement:

When installing with pip or conda this will be installed automatically (if not already installed).

Tested on Python 2.7, 3.4+, but should also work with version 3.3.

Installation

With pip:
pip install mypolr
With conda:
conda install -c fauskanger mypolr

ToBeDone

  • Add :raises: docstring fields to methods/docs.
  • Implement the /data/link-endpoint if necessary.

License

This project is licensed under the MIT Licence. (See link for details.)

Epilogue

This project has served several purposes:

  1. Have a tool to easily utilize the Polr Project API from Python.
  2. Be an exercise in packaging and distributing Python modules (with pip and conda).
  3. Be an exercise in reStructuredText, Sphinx documentation, and ReadTheDocs.
  4. Be an exercise in testing Python along best practices and conventions.

mypolr's People

Contributors

fauskanger avatar krysztophe 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.