This project has been archived by its maintainers, and is no longer receiving any updates.
gumo-core
Configuration
from gumo.core import configure as core_configure
core_configure(
google_cloud_project='<Google Cloud Platform Project Name>',
google_cloud_location='<Project Main Location (Region)>',
)
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
# 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()
# Application Configurations ...
app = flask.Flask(__name__)
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
EntityKey
from gumo.core import EntityKey
from gumo.core import EntityKeyFactory
key = EntityKeyFactory().build(kind='Book', name='978-1-4028-9462-6')
assert isinstance(key, EntityKey)
assert key.key_literal() == "Key('Book', '978-1-4028-9462-6')"
assert key.key_path() == 'Book:978-1-4028-9462-6'
assert key.key_url() == 'Book/978-1-4028-9462-6'
Metadata
Release files for gumo-core 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| gumo-core-0.1.4.tar.gz | 8.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gumo_core-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.8 kB
Release files / gumo-core-0.1.4.tar.gz
| Download URL | gumo-core-0.1.4.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4e3d8edbff46f43a12bd87e1bda8307c9487b94c72cd57e70ed5f8c2ac5563c
|
|
BLAKE2b-256 checksum How to use checksums |
95491e97347002d8676b2e045ff2093798d36e0fa3aa408ca96f7e1f963a4bd9
|
| 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/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
|
Release files / gumo_core-0.1.4-py3-none-any.whl
| Download URL | gumo_core-0.1.4-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2154b51c20025ca2b39dae46b6b97eb427d7c80599e21f5dbdcd1b4d01fba652
|
|
BLAKE2b-256 checksum How to use checksums |
800079b620854e51116c99988dd8f276efe14dcbfcb37c621c4eaec004f8a143
|
| 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/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
|
Security for gumo-core 0.1.4
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.