diff options
author | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-05-02 14:02:17 +0200 |
---|---|---|
committer | Petr Šmerkl <46304018+SveterCZE@users.noreply.github.com> | 2021-05-02 14:02:17 +0200 |
commit | 29742548f9f897be9e06a33073191910d25c1a03 (patch) | |
tree | 822b6409d21bd8cc5714a199532d1c64df6114ad | |
parent | f3d9e2cefc9141f9ee448a2e2c9f793db1399404 (diff) | |
parent | 37de443eb41246e3e3c57ca87ba61e7bff76cbe6 (diff) | |
download | justice-29742548f9f897be9e06a33073191910d25c1a03.tar.gz |
Merge branch 'main' of https://github.com/SveterCZE/justice
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -2,6 +2,14 @@ My first larger project, an application using Pyhon, Flask and SQLite to download open commercial register data from the Czech Ministry of Justice (justice.cz) and convert them into an sqlite3 database. The applicaton also contains a front-end component to search in the database by various properties. The main goal of the application is to provide users with more advanced search options compared to the official search at the Ministry of Justice website. <h1>Installation:</h1> +Download a zip file containing the whole repository and store it into a folder on your PC. You should preferably use a virtual environment. + +You will need the following packages: +<ul> + <li>requests</li> + <li>send2trash</li> + <li>lxml</li> +</ul> <h1>Running the application:</h1> Firstly, you need to download the open data from the Ministry of Justice and build the database. Run "python justice_build.py", which will download all the source files, create an SQLite database and parse the downloaded data into the database. Note that after the downloaded data are uncompressed, they are around 13 GB and the database file has around 3.6 GB. It takes approximately 1 hour to download the data and build the database. |