GithubHelp home page GithubHelp logo

pomme's Introduction

Pomme logo

Pomme

Po Memory Database for open source documentation translators

To run it, use the following scripts, in that precise order:

  • fetch.py: To crawl github for po files.
  • po_to_json.py github.com to parse and aggregate po files.
  • index.py to create an index from the previous aggregate.
  • FLASK_APP=search flask run to run the service.

Then you can query the service like this:

$ curl -s http://localhost:8000/search/?q=socket | json_pp | head
{
   "\n%s: -w option cannot use a relative socket directory specification\n" : {
      "\n%s : l'option -w ne peut pas utiliser un chemin relatif vers le répertoire de\nla socket\n" : {
         "seen" : 1,
         "sources" : {
            "github.com/woonhak/postgresql-directio/src/bin/pg_ctl/po/fr.po" : 1
         }
      },
   ...

Celery workers

Run the workers

celery -A pomme worker -E --loglevel=INFO -B --concurrency=1

Call the task

celery -A pomme call pomme.tasks.crawl_github.index_python_docs_fr

Apple icon made by DinosoftLabs from www.flaticon.com

pomme's People

Contributors

seluj78 avatar julienpalard avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar

pomme's Issues

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.