-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from josemcorderoc/dev
Dev
- Loading branch information
Showing
7 changed files
with
126 additions
and
40 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "pip" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "weekly" |
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
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# This workflow will upload a Python Package using Twine when a release is created | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries | ||
|
||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
|
||
name: Upload Python Package | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
deploy: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.x' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install build | ||
- name: Build package | ||
run: python -m build | ||
- name: Publish package | ||
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2024 José Miguel Cordero Carvacho | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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
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 |
---|---|---|
|
@@ -7,14 +7,24 @@ name = "prompt2map" | |
description = "Dynamic maps generation based on natural language prompts using Retrieval-Augmented Generation (RAG)" | ||
readme = "README.md" | ||
requires-python = ">=3.10" | ||
authors = [ | ||
{ name = "José Miguel Cordero Carvacho" } | ||
] | ||
license = { text = "Copyright (c) 2024 José Miguel Cordero Carvacho" } | ||
authors = [{ name = "José Miguel Cordero Carvacho", email="[email protected]" }] | ||
maintainers = [{ name = "José Miguel Cordero Carvacho", email="[email protected]" }] | ||
license = {text = "MIT License"} | ||
keywords = ["maps", "mapping", "cartography", "gis", "webgis", "geospatial", "llm", "nlp", "prompt"] | ||
classifiers = [ | ||
"Development Status :: 2 - Pre-Alpha", | ||
|
||
"Intended Audience :: Science/Research", | ||
"Topic :: Scientific/Engineering :: GIS", | ||
|
||
"License :: OSI Approved :: MIT License", | ||
|
||
"Programming Language :: Python :: 3", | ||
"License :: Other/Proprietary License", | ||
"Operating System :: OS Independent" | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
|
||
"Operating System :: OS Independent", | ||
] | ||
dynamic = ["dependencies", "version"] | ||
|
||
|
@@ -23,13 +33,13 @@ dependencies = {file = ["requirements.txt"]} | |
|
||
[project.optional-dependencies] | ||
test = [ | ||
"pytest==8.3.3", | ||
"pytest-mock==3.14.0", | ||
"flake8==7.1.0" | ||
"pytest~=8.3", | ||
"pytest-mock~=3.14", | ||
"flake8~=7.1" | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/josemcorderoc/prompt2map" | ||
Repository = "https://github.com/josemcorderoc/prompt2map" | ||
|
||
[tool.setuptools.packages.find] | ||
exclude = ["tests", "examples"] | ||
|
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,18 +1,18 @@ | ||
bidict==0.23.1 | ||
click==8.1.7 | ||
folium==0.17.0 | ||
geopandas==1.0.1 | ||
jsonlines==4.0.0 | ||
matplotlib==3.9.1 | ||
pandas==2.2.2 | ||
plotly==5.23.0 | ||
psycopg==3.2.1 | ||
Shapely==2.0.5 | ||
SQLAlchemy==2.0.31 | ||
sqlglot==25.8.1 | ||
sqlparse==0.5.1 | ||
openai==1.38.0 | ||
mapclassify==2.8.0 | ||
duckdb==1.1.0 | ||
pyarrow==17.0.0 | ||
typing-extensions==4.12.2 | ||
bidict~=0.23 | ||
click~=8.1 | ||
folium~=0.17 | ||
geopandas~=1.0 | ||
jsonlines~=4.0 | ||
matplotlib~=3.9 | ||
pandas~=2.2 | ||
plotly~=5.23 | ||
psycopg~=3.2 | ||
Shapely~=2.0 | ||
SQLAlchemy~=2.0 | ||
sqlglot~=25.8 | ||
sqlparse~=0.5 | ||
openai~=1.38 | ||
mapclassify~=2.8 | ||
duckdb~=1.1 | ||
typing-extensions~=4.12 | ||
pyarrow~=17.0 |