Skip to content

Commit 6f83246

Browse files
committed
renaming to geoclustering due to pypi
1 parent b02139c commit 6f83246

13 files changed

Lines changed: 1158 additions & 15 deletions

File tree

β€Ž.github/workflows/main.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
if: always()
6969
run: |
7070
. .venv/bin/activate
71-
pip uninstall -y geocluster
71+
pip uninstall -y geoclustering
7272
7373
release:
7474
name: Release

β€ŽPipfileβ€Ž

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[[source]]
2+
url = "https://pypi.org/simple"
3+
verify_ssl = true
4+
name = "pypi"
5+
6+
[packages]
7+
click = "*"
8+
geojson = "*"
9+
keplergl = "*"
10+
numpy = "*"
11+
pandas = "*"
12+
scikit-learn = "*"
13+
14+
[dev-packages]
15+
black = "*"
16+
wheel = "*"
17+
18+
[requires]
19+
python_version = "3.9"

β€ŽPipfile.lockβ€Ž

Lines changed: 1124 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€ŽREADME.mdβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# geocluster
1+
# geoclustering
22

33
> πŸ“ command-line tool for clustering geolocations.
44
@@ -18,8 +18,8 @@ A cluster is created when a certain number of points (=> `--size`) each are with
1818
Clone the repository:
1919

2020
```sh
21-
git clone https://github.com/fspoettel/geocluster
22-
cd geocluster
21+
git clone https://github.com/bellingcat/geoclustering
22+
cd geoclustering
2323
```
2424

2525
Install keplergl build dependencies:
@@ -37,7 +37,7 @@ pip install .
3737
## Usage
3838

3939
```
40-
Usage: geocluster [OPTIONS] FILENAME
40+
Usage: geoclustering [OPTIONS] FILENAME
4141
4242
Options:
4343
-d, --distance FLOAT (in km) Max. distance between two points in
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import click
22
import webbrowser
33

4-
import geocluster.clustering as clustering
5-
import geocluster.encoding as encoding
6-
import geocluster.io as io
4+
import geoclustering.clustering as clustering
5+
import geoclustering.encoding as encoding
6+
import geoclustering.io as io
77

88

99
@click.command()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def write_visualization(dirname, filename, data):
6868
map.add_data(data=data, name="clusters")
6969

7070
# config configures a default color scheme for our clusters layer.
71-
config_file = resource_filename("geocluster", "kepler_config.json")
71+
config_file = resource_filename("geoclustering", "kepler_config.json")
7272
with open(config_file) as f:
7373
map.config = json.loads(f.read())
7474

0 commit comments

Comments
Β (0)