-
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 #4 from airtai/renaming
Renaming
- Loading branch information
Showing
23 changed files
with
56 additions
and
56 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
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 |
---|---|---|
|
@@ -5,4 +5,4 @@ contact_links: | |
about: Please report security vulnerabilities to [email protected] | ||
- name: Question or Problem | ||
about: Ask a question or ask about a problem in GitHub Discussions. | ||
url: https://github.com/airtai/weatherapi/discussions/categories/questions | ||
url: https://github.com/airtai/google-sheets/discussions/categories/questions |
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
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
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Weather API | ||
A simple weather API made for usage with FastAgency | ||
# Google Sheets API | ||
A simple Google Sheets API made for usage with FastAgency |
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
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,3 @@ | ||
"""A simple Google Sheets API made for usage with FastAgency.""" | ||
|
||
__version__ = "0.1.0" |
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,5 @@ | ||
"""A simple Google Sheets API made for usage with FastAgency.""" | ||
|
||
from .__about__ import __version__ | ||
|
||
__all__ = ["__version__"] |
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 |
---|---|---|
|
@@ -3,8 +3,8 @@ requires = ["hatchling"] | |
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "weatherapi" | ||
description = "WeatherAPI: A simple weather API made for usage with FastAgency" | ||
name = "google-sheets" | ||
description = "google-sheets: A simple Google Sheets API made for usage with FastAgency" | ||
readme = "README.md" | ||
authors = [ | ||
{ name = "airt", email = "[email protected]" }, | ||
|
@@ -78,26 +78,26 @@ test-core = [ | |
] | ||
|
||
testing = [ | ||
"weatherapi[test-core]", | ||
"weatherapi[server]", # Uvicorn is needed for testing | ||
"google-sheets[test-core]", | ||
"google-sheets[server]", # Uvicorn is needed for testing | ||
] | ||
|
||
dev = [ | ||
"weatherapi[server,lint,testing]", | ||
"google-sheets[server,lint,testing]", | ||
"pre-commit==3.7.1", | ||
"detect-secrets==1.5.0", | ||
] | ||
|
||
[project.urls] | ||
Tracker = "https://github.com/airtai/weatherapi/issues" | ||
Source = "https://github.com/airtai/weatherapi" | ||
Tracker = "https://github.com/airtai/google-sheets/issues" | ||
Source = "https://github.com/airtai/google-sheets" | ||
Discord = "https://discord.gg/qFm6aSqq59" | ||
|
||
[project.scripts] | ||
# weatherapi = "weatherapi.__main__:cli" | ||
# google_sheets = "google_sheets.__main__:cli" | ||
|
||
[tool.hatch.version] | ||
path = "weatherapi/__about__.py" | ||
path = "google_sheets/__about__.py" | ||
|
||
[tool.hatch.build] | ||
skip-excluded-dirs = true | ||
|
@@ -110,15 +110,15 @@ exclude = [ | |
allow-direct-references = true | ||
|
||
[tool.hatch.build.targets.wheel] | ||
only-include = ["weatherapi"] | ||
only-include = ["google_sheets"] | ||
|
||
[tool.hatch.build.targets.wheel.sources] | ||
"src" = "" | ||
# "scripts" = "weatherapi/templates" | ||
# "scripts" = "google_sheets/templates" | ||
|
||
[tool.mypy] | ||
|
||
files = ["weatherapi", "tests"] | ||
files = ["google_sheets", "tests"] | ||
|
||
strict = true | ||
python_version = "3.9" | ||
|
@@ -145,7 +145,7 @@ disallow_any_unimported = false | |
fix = true | ||
line-length = 88 | ||
# target-version = 'py39' | ||
include = ["weatherapi/**/*.py", "weatherapi/**/*.pyi", "tests/**/*.py", "pyproject.toml"] | ||
include = ["google_sheets/**/*.py", "google_sheets/**/*.pyi", "tests/**/*.py", "pyproject.toml"] | ||
exclude = ["docs/docs_src"] | ||
|
||
[tool.ruff.lint] | ||
|
@@ -206,7 +206,7 @@ concurrency = [ | |
"thread" | ||
] | ||
source = [ | ||
"weatherapi", | ||
"google_sheets", | ||
# "tests", | ||
] | ||
context = '${CONTEXT}' | ||
|
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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
uvicorn weatherapi.app:app --workers 2 --host 0.0.0.0 --proxy-headers | ||
uvicorn google_sheets.app:app --workers 2 --host 0.0.0.0 --proxy-headers |
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.