Skip to content
Finn Årup Nielsen edited this page Aug 19, 2019 · 7 revisions

Welcome to the cvrminer wiki!

Examples

Company name from CVR of companies listed in the Smiley registry:

from cvrminer.cvrmongo import CvrMongo
from cvrminer.virksomhed import Virksomhed

cvr_mongo = CvrMongo()
for company in cvr_mongo.iter_smiley_companies():
    print(Virksomhed(company).nyeste_navn)

Toolforge

become cvrminer
webservice --backend=kubernetes python2 shell
source ~/www/python/venv/bin/activate
cd ~/www/python/cvrminer ; git pull
logout
webservice --backend=kubernetes python2 restart
tail -f ~/uwsgi.log  # look at web log
Clone this wiki locally