-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
307d3dd
commit 393a6ac
Showing
2 changed files
with
12 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# iceaddr | ||
|
||
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause) | ||
[![Python 3.8](https://img.shields.io/badge/python-3.8-blue.svg)](https://www.python.org/downloads/release/python-380/) | ||
[![Release](https://shields.io/github/v/release/sveinbjornt/iceaddr?display_name=tag)]() | ||
[![PyPI](https://img.shields.io/pypi/v/iceaddr)]() | ||
[![Build](https://github.com/sveinbjornt/iceaddr/actions/workflows/python-package.yml/badge.svg)]() | ||
|
||
# iceaddr | ||
|
||
### Look up Icelandic street addresses, postcodes and placenames | ||
|
||
`iceaddr` is a Python >=3.8 package to look up information about Icelandic streets, addresses, placenames, | ||
|
@@ -248,28 +248,26 @@ Then, after optionally creating a virtual environment, run the following command | |
from the repository root to install dependencies: | ||
|
||
```bash | ||
pip install -r requirements.txt | ||
pip install ".[dev]" | ||
``` | ||
|
||
Then, run the following command to build the database: | ||
Then, run the following commands to build the database: | ||
|
||
```bash | ||
$ python build_db.py | ||
... | ||
$ python add_placename_data.py | ||
... | ||
python build_db.py | ||
python add_placename_data.py | ||
``` | ||
|
||
This creates an SQLite3 database in the repo root named `iceaddr.db`. Move this file to | ||
`iceaddr/resources/` and you can now install your own version of the package: | ||
`src/iceaddr/` and you can now install your own freshly built version of the package: | ||
|
||
```bash | ||
python setup.py install | ||
python install . | ||
``` | ||
|
||
## Version History | ||
|
||
* 0.5.7: Updated address and placename data. Now requires Python 3.8+ (18/09/2024) | ||
<!--* 0.5.7: Updated address and placename data. Now requires Python 3.8+ (18/09/2024)--> | ||
* 0.5.6: Updated address and placename data. (11/08/2023) | ||
* 0.5.5: Updated address and placename data. Removed ISN93 coords. Now requires Python 3.7+ (11/12/2022) | ||
* 0.5.4: Updated address and placename data (09/11/2022) | ||
|
@@ -287,7 +285,7 @@ python setup.py install | |
|
||
## BSD License | ||
|
||
Copyright (C) 2018-2023 Sveinbjorn Thordarson (<[email protected]>) | ||
Copyright (C) 2018-2023 Sveinbjorn Thordarson [<[email protected]>](mailto:[email protected]) | ||
|
||
Redistribution and use in source and binary forms, with or without modification, | ||
are permitted provided that the following conditions are met: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters