Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

gumo-datastore

CircleCI

Configuration

from gumo.core import configure as core_configure
from gumo.datastore import configure as datastore_configure

core_configure(
    google_cloud_project='<Google Cloud Platform Project Name>',
    google_cloud_location='<Project Main Location (Region)>',
)

datastore_configure(
    use_local_emulator=True,
    emulator_host='datastore_emulator:8081',
    namespace=None,
)

If you need to load environment variables of app.yaml:

import os
import flask
from gumo.core import MockAppEngineEnvironment
# from gumo.core import configure as core_configure
# from gumo.datastore import configure as datastore_configure


# The call to MockAppEngineEnvironment must precede any other initialization code.
if __name__ == '__main__':
    app_yaml_path = os.path.join(
        os.path.dirname(os.path.abspath(__file__)),
        'app.yaml'
    )
    MockAppEngineEnvironment.load_app_yaml(app_yaml_path=app_yaml_path)

# core_configure(...)
# datastore_configure(...)

# Application Configurations ...
app = flask.Flask(__name__)

# TODO: Add a sample of Repository implementation using DatastoreRepositoryMixin.

if __name__ == '__main__':
    app.run(host='0.0.0.0', port=8080, debug=True)

Setup Development Environment

$ git clone https://github.com/gumo-py/gumo-core.git
$ cd gumo-core

$ make setup

Build and Test

$ make build

$ make test

Metadata

Release files for gumo-datastore 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gumo-datastore 0.2.0
File Size Uploaded Provenance
gumo-datastore-0.2.0.tar.gz 7.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for gumo-datastore 0.2.0
File Interpreter ABI Platform
gumo_datastore-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.7 kB

Release files / gumo-datastore-0.2.0.tar.gz

Download URL gumo-datastore-0.2.0.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
78774bbe0127ce891e02842c9ec690bbe91c731d2ee3f2924763f6e18d488c70
BLAKE2b-256 checksum
How to use checksums
c4106d912305eb07bd13e8104fdd9b97eaeb913be453a05ae9d7028dae056295
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.5

Release files / gumo_datastore-0.2.0-py3-none-any.whl

Download URL gumo_datastore-0.2.0-py3-none-any.whl
Size 11.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9083291e0bd2da41d33e2be65105beccb619191e73c69619147103cfe4dcdf34
BLAKE2b-256 checksum
How to use checksums
441d80b0c86f8502b4f0ce48f0036592f40e26aca2a18e28a6ffba3a72b9a7f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.5

Security for gumo-datastore 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page