Starlite-tile38 - Showcase using Tile38 via pyle38 in a Starlite application

Overview

Starlite-Tile38

Showcase using Tile38 via pyle38 in a Starlite application.
Report Bug · Request Feature

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Contact

About The Project

Showcase of using Tile38 with Pyle38 in a Starlite application. Can be used as is, or be extended upon with other methods in the pyle38 repertoire of commands.

Built With

Getting Started

Installation

  1. Clone and install
    git clone https://github.com/iwpnd/starlite-tile38.git
    poetry install
  2. Setup environment
    mv .env.dist .env
  3. Start your local stack
    poe up
  4. Test it!
    poe test

Usage

Once the application is started you can checkout and interact with it via on localhost:8001/schema/redoc.

Or you can use it with http/curl:

Create a vehicle

{data:"type":"Feature","geometry":{"type":"Point","coordinates":[13.37, 52.25]},"properties":{"id":"truck"}}">
echo '{ "data": { "type": "Feature", "geometry": {"type": "Point", "coordinates": [13.37, 52.25]}, "properties": {"id": "truck"}}}' \
      | http post http://localhost:8001/vehicles

> {data:"type":"Feature","geometry":{"type":"Point","coordinates":[13.37, 52.25]},"properties":{"id":"truck"}}

Get vehicle by id

http get http://localhost:8001/vehicles/truck

> {data:"type":"Feature","geometry":{"type":"Point","coordinates":[13.37, 52.25]},"properties":{"id":"truck"}}

Get all vehicles

http get http://localhost:8001/vehicles

> { data: ["type":"Feature","geometry":{"type": "Point", "coordinates": [13.37, 52.25]},"properties":{"id":"truck"}]}

Get vehicles within radius

http get http://localhost:8001/search?lat=13.37&lon=52.25&radius=1000

> { data: ["type":"Feature","geometry":{"type": "Point", "coordinates": [13.37, 52.25]},"properties":{"id":"truck"}]}

Or you use it with httpx/requests:

{ data: ["type":"Feature","geometry":{"type": "Point", "coordinates": [13.37, 52.25]},"properties":{"id":"truck"}]} # get a vehicle r = httpx.get( url="http://localhost:8001/vehicles/truck", ) print(r.json()) > {"data": {"type":"Feature","geometry": {"coordinates": [13.37,52.25],"type": "Point"},"properties": {"id": "truck"}}}">
import httpx

vehicle = {
    "type": "Feature",
    "geometry": {"type": "Point", "coordinates": [13.37, 52.25]},
    "properties": {"id": "truck"},
}

# store a vehicle
r = httpx.post(
      url="http://localhost:8001/vehicles",
      json={"data": vehicle}
      )

print(r.json())
> { data: ["type":"Feature","geometry":{"type": "Point", "coordinates": [13.37, 52.25]},"properties":{"id":"truck"}]}

# get a vehicle
r = httpx.get(
      url="http://localhost:8001/vehicles/truck",
      )

print(r.json())

> {"data": {"type":"Feature","geometry": {"coordinates": [13.37,52.25],"type": "Point"},"properties": {"id": "truck"}}}

You get the idea. And can use the rest.

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Benjamin Ramser - @imwithpanda - [email protected]
Project Link: https://github.com/iwpnd/starlite-tile38

Comments
  • chore(deps): bump starlite from 1.6.2 to 1.7.2

    chore(deps): bump starlite from 1.6.2 to 1.7.2

    Bumps starlite from 1.6.2 to 1.7.2.

    Release notes

    Sourced from starlite's releases.

    v1.7.2

    What's Changed

    Full Changelog: https://github.com/starlite-api/starlite/compare/v1.7.1...v1.7.2

    v1.7.1

    What's Changed

    Full Changelog: https://github.com/starlite-api/starlite/compare/v1.7.0...v1.7.1

    v1.7.0

    What's Changed

    Full Changelog: https://github.com/starlite-api/starlite/compare/v1.6.3...v1.7.0

    v1.6.3

    What's Changed

    New Contributors

    Full Changelog: https://github.com/starlite-api/starlite/compare/v1.6.2...v1.6.3

    Changelog

    Sourced from starlite's changelog.

    [0.1.0]

    • initial release

    [0.1.1]

    • added missing exports to init

    [0.1.2]

    • fixed requests not being included in project dependencies
    • updated pydantic to v1.9.0

    [0.1.3]

    • updated dependencies to use pydantic-factories v1.0.0
    • added NotFoundException

    [0.1.4]

    • fix: update pydantic-factories to v1.1.0, resolving compatibility issues with older versions of pydantic
    • fix: include_in_schema for routes always being true

    [0.1.5]

    • fix: monkey patch "openapi-schema-pydantic" to change Schema.extra to Extra.ignore

    [0.1.6]

    • fix: monkey patch "openapi-schema-pydantic" to change Schema.Config.extra to Extra.ignore

    [0.2.0]

    • add support for websockets
    • update multipart data handling to support mixed fields

    [0.2.1]

    • fix regression in handler validation

    [0.3.0]

    • updated openapi configuration:
      1. OpenAPI schema generation is now enabled by default
      2. The OpenAPIController is now part of the OpenAPIConfig
      3. The default schema download path changed from /schema to /schema/openapi.json
      4. Added a /schema/openapi.yaml route to the OpenAPIController

    [0.4.0]

    ... (truncated)

    Commits
    • 971ece1 1.7.2
    • 616554f Merge pull request #307 from starlite-api/improve-create-signature-model-error
    • 22e0d57 Adds detail to exception raised during signature model creation.
    • 0a84b73 Merge pull request #306 from starlite-api/openapi-description-from-docstrings
    • 58530a2 OpenAPIConfig.use_handler_docstrings
    • 0e42bbb Tidy grammar in comment.
    • ae9a69f docs: add Harry-Lees as a contributor for code, doc (#305)
    • a225f60 Allow Partial to annotate fields of nested classes (#288)
    • 7eb4633 1.7.1
    • a56f0d7 Support for SwaggerUI (#302) (#303)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 2
  • chore(deps): bump starlite from 1.38.0 to 1.39.0

    chore(deps): bump starlite from 1.38.0 to 1.39.0

    Bumps starlite from 1.38.0 to 1.39.0.

    Release notes

    Sourced from starlite's releases.

    v1.39.0

    What's Changed

    Important

    Full Changelog: https://github.com/starlite-api/starlite/compare/v1.38.0...v1.39.0

    Changelog

    Sourced from starlite's changelog.

    Changelog

    [1.39.0]

    • add CORSMiddleware.
    • add URL, URLPath and Address datastructures.
    • add send_as_attachment flag for StaticFiles.
    • add handling of OPTIONS requests.
    • fix content-disposition in html_mode StaticFiles.
    • fix filename parameter in FileResponse set for StaticFiles response.
    • refactor builtin middlewares.
    • remove Python 3.7 support.
    • remove starlette as a dependency.

    [1.38.0]

    • add 'AllowedHostsMiddleware`.
    • add *args override to Logger protocol.
    • add QueryMultiDict for request.query and socket.query.
    • add ServerErrorMiddleware with own exception printer.
    • fix resolving starlette responses.
    • update path_params key to always exist in scope.

    [1.37.0]

    • add 'gzip' compression.
    • add StaticFiles to replace Starlette's version + support for fsspec.
    • add head decorator.
    • remove Starlette Middleware type from typing.

    [1.36.0]

    • add AbstractMiddleware class.
    • add layering for opt dictionary.
    • add per request caching of dependencies.
    • addHeaders, MutableHeaders and update FormMultiDict to use the multidict library.
    • fix asgi/websocket handlers when future annotations is used.
    • removed "method" from ResponseExtractorField.
    • update dependency resolution in kwargs model to run concurrently.

    [1.35.1]

    • fix hard dependency on external cryptography package when importing starlite
    • fix invalid default base_url for TestClient

    [1.35.0]

    • add context-manager when using SQLAlchemy sessions.
    • add support for mounting ASGI applications.
    • fix SQLAlchemyPlugin.to_dict() where instance has relationship raising an exception.

    ... (truncated)

    Commits
    • 42003f9 Add CORS middleware and support for OPTIONS requests (#792)
    • 43b62da Stricter docstring styling (#791)
    • 50b2ef7 Introduce send_as_attachment flag for StaticFiles. (#785)
    • 5faefdc Apply basic google docstring convention throughout the project (#789)
    • 398736d Update pre commit (#790)
    • 66a6b49 Fix #783 by setting content-disposition to inline in html_mode (#784)
    • f36d16a Make test for mimetypes of StaticFiles response more reliable (#782)
    • 2d539bb Cleanup builtin middlewares (#778)
    • 317729f Pydocstyle reformat (#777)
    • 1c1e172 Ensures filename parameter to FileResponse set for StaticFiles response...
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    bug dependencies python 
    opened by dependabot[bot] 1
  • chore(deps): bump starlite from 1.17.1 to 1.18.0

    chore(deps): bump starlite from 1.17.1 to 1.18.0

    Bumps starlite from 1.17.1 to 1.18.0.

    Release notes

    Sourced from starlite's releases.

    v1.18.0

    What's Changed

    Full Changelog: https://github.com/starlite-api/starlite/compare/v1.17.2...v1.18.0

    v1.17.2

    What's Changed

    New Contributors

    Full Changelog: https://github.com/starlite-api/starlite/compare/v1.17.1...v1.17.2

    Changelog

    Sourced from starlite's changelog.

    Changelog

    [1.18.0]

    • update serializer to handle SecretStr, PurePath and PurePosixPath.
    • update multipart handling to use starlite-multipart.

    [1.17.2]

    • update Partial to support dataclasses.

    [1.17.1]

    • add url_for method similar to Starlette's.
    • fix AsyncCallabled to ensure wrapped methods remain unbound.

    [1.17.0]

    • add SessionMiddleware.

    [1.16.2]

    • fix before_request regression causing it to not handle returned responses from the hook.

    [1.16.1]

    • update picologging integration to use picologging.dictConfig.
    • fix validation errors raised when using custom state.

    [1.16.0]

    • add exclude parameter to AbstractAuthenticationMiddleware.
    • allow disabling OpenAPI documentation sites and schema endpoints via config.
    • simplify KwargsModel.

    [1.15.0]

    • examples/ directory and tests for complete documentation examples.
    • replace pydantic-openapi-schema import from v3_0_3 with import from v3_10_0.

    [1.14.1]

    • fix OpenAPI schema for UploadFile.
    • integrate OpenAPI security definitions into OpenAPI configuration.
    • remove empty aliases from field parameters.

    [1.14.0]

    • refactor: Simplified and improved brotli middleware typing.
    • update: Extended PluginProtocol with an on_app_init method.

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 1
  • chore(deps): bump starlite from 1.5.4 to 1.6.2

    chore(deps): bump starlite from 1.5.4 to 1.6.2

    Bumps starlite from 1.5.4 to 1.6.2.

    Release notes

    Sourced from starlite's releases.

    v1.6.2

    What's Changed

    Full Changelog: https://github.com/starlite-api/starlite/compare/v1.6.1...v1.6.2

    v1.6.1

    What's Changed

    Full Changelog: https://github.com/starlite-api/starlite/compare/v1.6.0...v1.6.1

    v1.6.0

    What's Changed

    Full Changelog: https://github.com/starlite-api/starlite/compare/v1.5.4...v1.6.0

    Changelog

    Sourced from starlite's changelog.

    [0.1.0]

    • initial release

    [0.1.1]

    • added missing exports to init

    [0.1.2]

    • fixed requests not being included in project dependencies
    • updated pydantic to v1.9.0

    [0.1.3]

    • updated dependencies to use pydantic-factories v1.0.0
    • added NotFoundException

    [0.1.4]

    • fix: update pydantic-factories to v1.1.0, resolving compatibility issues with older versions of pydantic
    • fix: include_in_schema for routes always being true

    [0.1.5]

    • fix: monkey patch "openapi-schema-pydantic" to change Schema.extra to Extra.ignore

    [0.1.6]

    • fix: monkey patch "openapi-schema-pydantic" to change Schema.Config.extra to Extra.ignore

    [0.2.0]

    • add support for websockets
    • update multipart data handling to support mixed fields

    [0.2.1]

    • fix regression in handler validation

    [0.3.0]

    • updated openapi configuration:
      1. OpenAPI schema generation is now enabled by default
      2. The OpenAPIController is now part of the OpenAPIConfig
      3. The default schema download path changed from /schema to /schema/openapi.json
      4. Added a /schema/openapi.yaml route to the OpenAPIController

    [0.4.0]

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 1
  • chore(deps): bump starlite from 1.4.0 to 1.4.2

    chore(deps): bump starlite from 1.4.0 to 1.4.2

    Bumps starlite from 1.4.0 to 1.4.2.

    Release notes

    Sourced from starlite's releases.

    v1.4.2

    What's Changed

    Full Changelog: https://github.com/starlite-api/starlite/compare/v1.4.1...v1.4.2

    v1.4.1

    What's Changed

    New Contributors

    Full Changelog: https://github.com/starlite-api/starlite/compare/v1.4.0...v1.4.1

    Changelog

    Sourced from starlite's changelog.

    [0.1.0]

    • initial release

    [0.1.1]

    • added missing exports to init

    [0.1.2]

    • fixed requests not being included in project dependencies
    • updated pydantic to v1.9.0

    [0.1.3]

    • updated dependencies to use pydantic-factories v1.0.0
    • added NotFoundException

    [0.1.4]

    • fix: update pydantic-factories to v1.1.0, resolving compatibility issues with older versions of pydantic
    • fix: include_in_schema for routes always being true

    [0.1.5]

    • fix: monkey patch "openapi-schema-pydantic" to change Schema.extra to Extra.ignore

    [0.1.6]

    • fix: monkey patch "openapi-schema-pydantic" to change Schema.Config.extra to Extra.ignore

    [0.2.0]

    • add support for websockets
    • update multipart data handling to support mixed fields

    [0.2.1]

    • fix regression in handler validation

    [0.3.0]

    • updated openapi configuration:
      1. OpenAPI schema generation is now enabled by default
      2. The OpenAPIController is now part of the OpenAPIConfig
      3. The default schema download path changed from /schema to /schema/openapi.json
      4. Added a /schema/openapi.yaml route to the OpenAPIController

    [0.4.0]

    ... (truncated)

    Commits
    • a5cbbb4 1.4.2
    • 50b2fa2 Merge pull request #168 from timwedde/fix-openapi-status-code
    • 9c0ffe2 Add tests
    • fd86dc5 Type extra as a nullable union of dict and list
    • 7464ef8 Adjust existing tests to account for the "new" field in the exc response
    • 9354527 Conform exceptions to the existing OpenAPI schema
    • 7211dee v1.4.1
    • 9804e42 Merge pull request #162 from starlite-api/issue-123-async-callable-detection
    • 97d35c3 Adds utils.is_async_callable() tests.test_utils module.
    • d10cc2c Merge pull request #163 from starlite-api/intellij-code-cleanup
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 1
  • chore(deps-dev): bump mypy from 0.960 to 0.961

    chore(deps-dev): bump mypy from 0.960 to 0.961

    Bumps mypy from 0.960 to 0.961.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 1
  • chore(deps): bump python from 3.9.10-slim-buster to 3.10.2-slim-buster

    chore(deps): bump python from 3.9.10-slim-buster to 3.10.2-slim-buster

    Bumps python from 3.9.10-slim-buster to 3.10.2-slim-buster.

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies docker 
    opened by dependabot[bot] 1
  • chore(deps): bump starlite from 1.0.2 to 1.0.3

    chore(deps): bump starlite from 1.0.2 to 1.0.3

    Bumps starlite from 1.0.2 to 1.0.3.

    Release notes

    Sourced from starlite's releases.

    v1.0.3

    • added argument validation on Parameter and Body
    Changelog

    Sourced from starlite's changelog.

    [0.1.0]

    • initial release

    [0.1.1]

    • added missing exports to init

    [0.1.2]

    • fixed requests not being included in project dependencies
    • updated pydantic to v1.9.0

    [0.1.3]

    • updated dependencies to use pydantic-factories v1.0.0
    • added NotFoundException

    [0.1.4]

    • fix: update pydantic-factories to v1.1.0, resolving compatibility issues with older versions of pydantic
    • fix: include_in_schema for routes always being true

    [0.1.5]

    • fix: monkey patch "openapi-schema-pydantic" to change Schema.extra to Extra.ignore

    [0.1.6]

    • fix: monkey patch "openapi-schema-pydantic" to change Schema.Config.extra to Extra.ignore

    [0.2.0]

    • add support for websockets
    • update multipart data handling to support mixed fields

    [0.2.1]

    • fix regression in handler validation

    [0.3.0]

    • updated openapi configuration:
      1. OpenAPI schema generation is now enabled by default
      2. The OpenAPIController is now part of the OpenAPIConfig
      3. The default schema download path changed from /schema to /schema/openapi.json
      4. Added a /schema/openapi.yaml route to the OpenAPIController

    [0.4.0]

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 1
  • chore(deps-dev): bump gitlint from 0.15.1 to 0.17.0

    chore(deps-dev): bump gitlint from 0.15.1 to 0.17.0

    Bumps gitlint from 0.15.1 to 0.17.0.

    Release notes

    Sourced from gitlint's releases.

    0.17.0

    Contributors: Special thanks to all contributors for this release, in particular andersk and sigmavirus24.

    • Gitlint is now split in 2 packages: gitlint and gitlint-core. This allows users to install gitlint without pinned dependencies (which is the default) (#162)
    • Under-the-hood: dependencies updated

    0.16.0

    Contributors: Special thanks to all contributors for this release, in particular sigmavirus24, l0b0 and rafaelbubach.

    • Python 3.10 support
    • New Rule: ignore-by-author-name allows users to skip linting commit messages made by specific authors
    • --commit <SHA> flag to more easily lint a single commit message (#141)
    • --fail-without-commits flag will force gitlint to fail (exit code 253) when the target commit range is empty (typically when using --commits) (#193)
    • Bugfixes:
    • Heads-up: Python 3.6 will become EOL at the end of 2021. It's likely that future gitlint releases will stop supporting Python 3.6 as a result. We will continue to support Python 3.6 as long as its easily doable, which in practice usually means as long as our dependencies support it.
    • Under-the-hood: dependencies updated, test and github action improvements.
    Changelog

    Sourced from gitlint's changelog.

    v0.17.0 (2021-11-28)

    Contributors: Special thanks to all contributors for this release, in particular andersk and sigmavirus24.

    • Gitlint is now split in 2 packages: gitlint and gitlint-core. This allows users to install gitlint without pinned dependencies (which is the default) (#162)
    • Under-the-hood: dependencies updated

    v0.16.0 (2021-10-08)

    Contributors: Special thanks to all contributors for this release, in particular sigmavirus24, l0b0 and rafaelbubach.

    • Python 3.10 support
    • New Rule: ignore-by-author-name allows users to skip linting commit messages made by specific authors
    • --commit <SHA> flag to more easily lint a single commit message (#141)
    • --fail-without-commits flag will force gitlint to fail (exit code 253) when the target commit range is empty (typically when using --commits) (#193)
    • Bugfixes:
    • Heads-up: Python 3.6 will become EOL at the end of 2021. It's likely that future gitlint releases will stop supporting Python 3.6 as a result. We will continue to support Python 3.6 as long as its easily doable, which in practice usually means as long as our dependencies support it.
    • Under-the-hood: dependencies updated, test and github action improvements.
    Commits
    • 4d96698 0.17.0 release
    • 317776d Updated CHANGELOG.md for 0.17.0 release
    • 9adb712 Bump pylint from 2.11.1 to 2.12.1
    • b4729e0 Split into gitlint and gitlint-core to allow unpinning requirements
    • a8b178c Fix typo in default gitlint
    • dc315ae Bump coverage from 6.1.1 to 6.1.2
    • 92dfb27 Fix spelling and grammar in documentation and code
    • ae8a772 Bump coverage from 6.0.2 to 6.1.1
    • 955f47c Bump arrow from 1.2.0 to 1.2.1
    • bfe8f4e Bump mkdocs from 1.2.2 to 1.2.3
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 1
  • chore(deps-dev): bump isort from 5.11.3 to 5.11.4

    chore(deps-dev): bump isort from 5.11.3 to 5.11.4

    Bumps isort from 5.11.3 to 5.11.4.

    Release notes

    Sourced from isort's releases.

    5.11.4

    Changes

    :package: Dependencies

    Changelog

    Sourced from isort's changelog.

    5.11.4 December 21 2022

    Commits
    • 98390f5 Merge pull request #2059 from PyCQA/version/5.11.4
    • df69a05 Bump version 5.11.4
    • f9add58 Merge pull request #2058 from PyCQA/deps/poetry-1.3.1
    • 36caa91 Bump Poetry 1.3.1
    • 3c2e2d0 Merge pull request #1978 from mgorny/toml-test
    • 45d6abd Remove obsolete toml import from the test suite
    • 3020e0b Merge pull request #2057 from mgorny/poetry-install
    • a6fdbfd Stop installing documentation files to top-level site-packages
    • ff306f8 Fix tag template to match old standard
    • 227c4ae Merge pull request #2052 from hugovk/main
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 0
  • chore(deps-dev): bump poethepoet from 0.16.5 to 0.17.1

    chore(deps-dev): bump poethepoet from 0.16.5 to 0.17.1

    Bumps poethepoet from 0.16.5 to 0.17.1.

    Release notes

    Sourced from poethepoet's releases.

    v0.17.1

    Fixes

    • Fix handling of Keyboardinterrupt when running a task on windows #42

    Full Changelog: https://github.com/nat-n/poethepoet/compare/v0.17.0...v0.17.1

    v0.17.0

    Enhancements

    • Support for interpolating env vars into task arg default values (#3c994684)
    • Support providing a cwd for tasks included from another file #110
    • Add new switch task type for running different versions of a task depending on the result of a control task #83

    Fixes

    • Set PYTHONIOENCODING to utf-8 before invoking poetry env info -p #112

    New Contributors

    Full Changelog: https://github.com/nat-n/poethepoet/compare/v0.16.5...v0.17.0

    Commits
    • ac2fe75 Bump version to 0.17.1
    • 0641aec Improval signal handling on windows #42
    • 743569a Bump version to 0.17.0
    • 75d8b97 Make capture of task output use PYTHONIOENCODING
    • 71cf194 Add new switch task type for running different versions of a task #83
    • e1c3e79 Set PYTHONIOENCODING to utf-8 before invoking poerty env info -p (#112)
    • f32aace Support providing a cwd for included tasks #110
    • 3c99468 Add support for interpolating env vars into task arg default values
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 0
  • chore(deps-dev): bump pre-commit from 2.20.0 to 2.21.0

    chore(deps-dev): bump pre-commit from 2.20.0 to 2.21.0

    Bumps pre-commit from 2.20.0 to 2.21.0.

    Release notes

    Sourced from pre-commit's releases.

    pre-commit v2.21.0

    Features

    Fixes

    Changelog

    Sourced from pre-commit's changelog.

    2.21.0 - 2022-12-25

    Features

    Fixes

    Commits
    • 40c5bda v2.21.0
    • bb27ea3 Merge pull request #2642 from rkm/fix/dotnet-nuget-config
    • c38e0c7 dotnet: ignore nuget source during tool install
    • bce513f Merge pull request #2641 from rkm/fix/dotnet-tool-prefix
    • e904628 fix dotnet hooks with prefixes
    • d7b8b12 Merge pull request #2646 from pre-commit/pre-commit-ci-update-config
    • 94b6178 [pre-commit.ci] pre-commit autoupdate
    • b474a83 Merge pull request #2643 from pre-commit/pre-commit-ci-update-config
    • a179808 [pre-commit.ci] pre-commit autoupdate
    • 3aa6206 Merge pull request #2605 from lorenzwalthert/r/fix-exe
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 0
Owner
Ben
geographer turned spatial engineer turned data-something turned software developer
Ben
A Django application that provides country choices for use with forms, flag icons static files, and a country field for models.

Django Countries A Django application that provides country choices for use with forms, flag icons static files, and a country field for models. Insta

Chris Beaven 1.2k Jan 3, 2023
Enable geospatial data mining through Google Earth Engine in Grasshopper 3D, via its most recent Hops component.

AALU_Geo Mining This repository is produced for a masterclass at the Architectural Association Landscape Urbanism programme. Requirements Rhinoceros (

null 4 Nov 16, 2022
A package built to support working with spatial data using open source python

EarthPy EarthPy makes it easier to plot and manipulate spatial data in Python. Why EarthPy? Python is a generic programming language designed to suppo

Earth Lab 414 Dec 23, 2022
Pandas Network Analysis: fast accessibility metrics and shortest paths, using contraction hierarchies :world_map:

Pandana Pandana is a Python library for network analysis that uses contraction hierarchies to calculate super-fast travel accessibility metrics and sh

Urban Data Science Toolkit 321 Jan 5, 2023
Using SQLAlchemy with spatial databases

GeoAlchemy GIS Support for SQLAlchemy. Introduction GeoAlchemy is an extension of SQLAlchemy. It provides support for Geospatial data types at the ORM

null 109 Dec 1, 2022
Read and write rasters in parallel using Rasterio and Dask

dask-rasterio dask-rasterio provides some methods for reading and writing rasters in parallel using Rasterio and Dask arrays. Usage Read a multiband r

Dymaxion Labs 85 Aug 30, 2022
Solving the Traveling Salesman Problem using Self-Organizing Maps

Solving the Traveling Salesman Problem using Self-Organizing Maps This repository contains an implementation of a Self Organizing Map that can be used

Diego Vicente 3.1k Dec 31, 2022
Download and process satellite imagery in Python using Sentinel Hub services.

Description The sentinelhub Python package allows users to make OGC (WMS and WCS) web requests to download and process satellite images within your Py

Sentinel Hub 659 Dec 23, 2022
Example of animated maps in matplotlib + geopandas using entire time series of congressional district maps from UCLA archive. rendered, interactive version below

Example of animated maps in matplotlib + geopandas using entire time series of congressional district maps from UCLA archive. rendered, interactive version below

Apoorva Lal 5 May 18, 2022
Hapi is a Python library for building Conceptual Distributed Model using HBV96 lumped model & Muskingum routing method

Current build status All platforms: Current release info Name Downloads Version Platforms Hapi - Hydrological library for Python Hapi is an open-sourc

Mostafa Farrag 15 Dec 26, 2022
An API built to format given addresses using Python and Flask.

An API built to format given addresses using Python and Flask. About The API returns properly formatted data, i.e. removing duplicate fields, distingu

null 1 Feb 27, 2022
This is a simple python code to get IP address and its location using python

IP address & Location finder @DEV/ED : Pavan Ananth Sharma Dependencies: ip2geotools Note: use pip install ip2geotools to install this in your termin

Pavan Ananth Sharma 2 Jul 5, 2022
Daily social mapping project in November 2021. Maps made using PyGMT whenever possible.

Daily social mapping project in November 2021. Maps made using PyGMT whenever possible.

Wei Ji 20 Nov 24, 2022
A short term landscape evolution using a path sampling method to solve water and sediment flow continuity equations and model mass flows over complex topographies.

r.sim.terrain A short-term landscape evolution model that simulates topographic change for both steady state and dynamic flow regimes across a range o

Brendan Harmon 7 Oct 21, 2022
Using Global fishing watch's data to build a machine learning model that can identify illegal fishing and poaching activities through satellite and geo-location data.

Using Global fishing watch's data to build a machine learning model that can identify illegal fishing and poaching activities through satellite and geo-location data.

Ayush Mishra 3 May 6, 2022
Dockerized web application on Starlite, SQLAlchemy1.4, PostgreSQL

Production-ready dockerized async REST API on Starlite with SQLAlchemy and PostgreSQL

Artur Shiriev 10 Jan 3, 2023
This mini project showcase how to build and debug Apache Spark application using Python

Spark app can't be debugged using normal procedure. This mini project showcase how to build and debug Apache Spark application using Python programming language. There are also options to run Spark application on Spark container

Denny Imanuel 1 Dec 29, 2021
A data analysis using python and pandas to showcase trends in school performance.

A data analysis using python and pandas to showcase trends in school performance. A data analysis to showcase trends in school performance using Panda

Jimmy Faccioli 0 Sep 7, 2021
Asynchronous Client for the worlds fastest in-memory geo-database Tile38

This is an asynchonous Python client for Tile38 that allows for fast and easy interaction with the worlds fastest in-memory geodatabase Tile38.

Ben 53 Dec 29, 2022
Stac-fastapi built on Tile38 and Redis to support caching

stac-fastapi-caching Stac-fastapi built on Tile38 to support caching. This code is built on top of stac-fastapi-elasticsearch 0.1.0 with pyle38, a Pyt

Jonathan Healy 4 Apr 11, 2022