automatic-map-configuration 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ * text=auto eol=lf
@@ -0,0 +1,26 @@
1
+ name: Checks
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ checks:
13
+ name: Ruff and tests (Python ${{ matrix.python }})
14
+ runs-on: ubuntu-latest
15
+ strategy:
16
+ matrix:
17
+ python: ["3.10", "3.11", "3.12", "3.13"]
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ - uses: actions/setup-python@v5
21
+ with:
22
+ python-version: ${{ matrix.python }}
23
+ - run: pip install ruff==0.17.5 -e ".[test]"
24
+ - run: ruff check .
25
+ - run: ruff format --check .
26
+ - run: pytest
@@ -0,0 +1,7 @@
1
+ __pycache__/
2
+ *.egg-info/
3
+ .venv/
4
+ dist/
5
+ build/
6
+ .pytest_cache/
7
+ .ruff_cache/
@@ -0,0 +1,3 @@
1
+ {
2
+ "printWidth": 140
3
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "title": "Automatic Map Configuration from Attribute Profiles",
3
+ "upload_type": "software",
4
+ "description": "<p>A Python library that proposes the first configuration of a web map of a research dataset from the profiles of its columns: the column that gives the title of each record, the field of the colours, the filters, the charts, the fields shown for a record and clustering. It computes the profiles from plain records and reads column names and headers in English and Greek.</p>",
5
+ "creators": [
6
+ {
7
+ "name": "Liaskos, Alexandros",
8
+ "affiliation": "National and Kapodistrian University of Athens",
9
+ "orcid": "0009-0003-0568-945X"
10
+ }
11
+ ],
12
+ "license": "AGPL-3.0-only",
13
+ "keywords": ["web mapping", "cartography", "data profiling", "thematic mapping", "GIS"]
14
+ }
@@ -0,0 +1,17 @@
1
+ # Changelog
2
+
3
+ All notable changes to this library are recorded in this file. The format follows
4
+ [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the versions follow
5
+ [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [0.1.0] - 2026-11-23
8
+
9
+ ### Added
10
+
11
+ - `propose(columns, record_count, options)`: the first map configuration of a dataset, meaning the title, the field of
12
+ the colours, the filters, the charts, the shown fields and clustering, with the reasons for the title and the
13
+ colours.
14
+ - `profile(records, columns)`: the kind, counts, range, most frequent values and suggested filter of every column of a
15
+ table of records.
16
+ - `numbers_the_records` and `is_hidden_by_default`, the two column tests that the proposal uses.
17
+ - Column names and headers read in English and Greek, without case or accents; thresholds as `ProposalOptions`.
@@ -0,0 +1,25 @@
1
+ cff-version: 1.2.0
2
+ message: "If you use this software, please cite it as below."
3
+ type: software
4
+ title: "Automatic Map Configuration from Attribute Profiles"
5
+ abstract: >-
6
+ A Python library that proposes the first configuration of a web map of a research dataset from the profiles of its
7
+ columns: the column that gives the title of each record, the field of the colours, the filters, the charts, the
8
+ fields shown for a record and clustering. It computes the profiles from plain records and reads column names and
9
+ headers in English and Greek.
10
+ authors:
11
+ - family-names: Liaskos
12
+ given-names: Alexandros
13
+ affiliation: "National and Kapodistrian University of Athens"
14
+ orcid: "https://orcid.org/0009-0003-0568-945X"
15
+ license: AGPL-3.0-only
16
+ repository-code: "https://github.com/AlexandrosLiaskos/automatic-map-configuration"
17
+ version: 0.1.0
18
+ doi: 10.5281/zenodo.24467041
19
+ date-released: 2026-11-23
20
+ keywords:
21
+ - web mapping
22
+ - cartography
23
+ - data profiling
24
+ - thematic mapping
25
+ - GIS