Giter VIP home page Giter VIP logo

puppa's Introduction

PUPPA

Python UPdating Package Application


An updatable application package made with Python.

** WARNING! This software is experimental. It's lazy and carefree! To be used with caution! **

Requirements

Installation

  1. Dowload the first distribution from dist/puppa.
  2. Copy it wherever you like.

How to use

  • Run on the command line:
    (if you have done step 3)

    $ cd /my/path/to/
    $ python puppa -v
    

    (or)

    $ python /my/path/to/puppa -v
    

    If everything is fine you will be given this output:

    $ python puppa -v   
      v0.1
    
  • Now update to the latest version:

    $ python puppa update
    $ python puppa -v   
      v0.3
    
  • Update to a specific version:

    $ python puppa update 0.2
    $ python puppa -v   
      v0.2
    
  • Purge the puppa:

    $ python puppa purge
    

Commands

In the command line run:

$ python puppa --help

to see a list of the enabled commands like:

$ python puppa --version
$ python puppa --path
$ python puppa --help
$ python puppa update 
$ python puppa purge

How to create a puppa package

  1. Download the sources
  2. Make your modifications
  3. Zip (yes, just $ zip or winzip) everything except for /dist folder
  4. Rename puppa.zip to puppa (remove the extension)
  5. Update the puppa file on your repository

How to configure your own puppa

  • check lib/manager.py for configuration settings
  • remove lines under optional versioning based on Github from lib/update.py if you won't use Github

Help

This project is discussed on this blog post

Contribute

The project is just a POC. You can contribute by making pull-requests to the repository, but it could be a waste of your precious time.

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.