Giter Club home page Giter Club logo

portingdb's Introduction

A database of packages that need porting to Python 3, and tools to manage it.

Installation

This software is still in the initial phases of development, so it is not yet packaged. Install it directly from Git working directory:

$ python3 -m pip install --user -e.

Usage

First, you will need to load a database.

$ python3 -m portingdb --datadir data/ load

This will create a portingdb.sqlite file in the current directory. Currently, the database needs re-loaded every time the data changes. (If the schema changes, you will need to delete the portingdb.sqlite file before re-loading data.)

To check the database, do:

$ python3 -m portingdb status

To start a HTML report server, start:

$ python3 -m portingdb serve

Sample

A sample HTML report server is located at:

http://fedora.portingdb.xyz/

Deployment

Configuration for OpenShift deployment is included in the repository. As configured, the app will need a Redis server for caching, which can be added using: $ rhc cartridge add "http://cartreflect-claytondev.rhcloud.com/reflect?github=smarterclayton/openshift-redis-cart" Otherwise it's a standard OpenShift app. Hot deployment is configured, so the app will continue working while being deployed. But if the database schema changes between deployments, the DB file needs to be removed before deploy.

Contribute

Contributing guide of sorts: http://synfo.github.io/2015/10/14/Python3-Porting-Database/

License

This code is under the MIT license. May it serve you well.

portingdb's People

Contributors

abadger avatar andrewwang43 avatar ari3s avatar conan-kudo avatar dhgutteridge avatar encukou avatar fabaff avatar fitoria avatar frafra avatar frenzymadness avatar fujimotos avatar hroncok avatar irushchyshyn avatar krejdom avatar mcepl avatar michaeleekk avatar michel-slm avatar msk61 avatar pigjuliux avatar qulogic avatar ralphbean avatar rodrigc avatar rupe120 avatar s7nfo avatar sayanchowdhury avatar synfo avatar taranjeet avatar torsava avatar tyll avatar williamjmorenor avatar

Watchers

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