Skip to main content

...

Project description

ArcGisFeatureCache

build codecov PyPI version

The ArcGIS Feature Layer Caching Library is a Python library designed to cache ArcGIS feature layers locally, enabling faster data access and improved performance for applications that frequently access the same data from an ArcGIS server. By storing data locally, this library reduces server load, conserves bandwidth, and allows for offline access to ArcGIS feature layers.


Documentation: https://Hazedd.github.io/ArcGisFeatureCache/

Source Code: https://github.com/Hazedd/ArcGisFeatureCache


Install

pip install arcGisFeatureCache

Usage

import asyncio
from arcGisFeatureCache import ArcGisFeatureService, get_feature_service

url = "https://xxxx.xxx/arcgis/rest/services/xxxxxx/FeatureServer"

if async:
    feature_service_instance = await ArcGisFeatureService.factory(url)
else:
    feature_service_instance = get_feature_service(url)


# get all features from service
feature_service_instance.get_all_features()

# get features from one or more layers
feature_service_instance.get_layer_features(["layer_a", "layer_b"])

Roadmap:

  • pr and github actions setup
  • docs as website
  • init release
  • 100% code coverage
  • ....

Contributing

Contributions to the ArcGIS Feature Layer Caching Library are welcome! If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on GitHub.

thx frankie for coociecutter hipster stuff https://github.com/frankie567/cookiecutter-hipster-pypackage

License

This project is licensed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arcgisfeaturecache-0.1.0a0.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

arcgisfeaturecache-0.1.0a0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file arcgisfeaturecache-0.1.0a0.tar.gz.

File metadata

File hashes

Hashes for arcgisfeaturecache-0.1.0a0.tar.gz
Algorithm Hash digest
SHA256 02b042f27d1706f8df819df9360efc2680d7fe66bd5c5d177c4bc863df63aa1f
MD5 4e81da06c8e459cd7812d960c835b837
BLAKE2b-256 131bb6b1035900e0834ba56bc21b98e4347a6595c1187fa8577d074699871a7a

See more details on using hashes here.

File details

Details for the file arcgisfeaturecache-0.1.0a0-py3-none-any.whl.

File metadata

File hashes

Hashes for arcgisfeaturecache-0.1.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 4093dfd4bfd8ae3d09b12c034666af2e7daa2122fe3150683577dfa0c3992400
MD5 ba6073d7a51c1efdaa4dd4f386e82c82
BLAKE2b-256 dd17b78c3d22bfd05c86cf6f0cc83696308f5f1a8e246d2518dda1999d829b04

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page