Skip to main content

Client for using Synapse Formation templates.

Project description

synapseformation

Get synapseformation from PyPI GitHub CI Coverage Status

Client for using Synapse Formation Templates. Given one of these templates, synapseformation will be able to create all the components required in a Synapse Project. Currently the implementation does one of these two scenarios.

  • Only creates new entities, will fail if entity already exists.
  • Create entities that don't exist and gets the entity if it already exists, but does not update an entity.

Usage

Command Line

synapseformation has a command line client that will create resources given a yaml or json template.

synapseformation create --help
Usage: synapseformation create [OPTIONS]

  Creates Synapse Resources

Options:
  --template_path PATH  Template path
  --help                Show this message and exit.

Python

These are some of the lower level functions that exist in the package.

import synapseclient
from synapseformation import create

syn = synapseclient.login()
# Only create entities
CreateCls = create.SynapseCreation(syn)
# Only retrieve entities (don't update)
RetrieveCls = create.SynapseCreation(syn, only_get=True)

Contributing

Please view our contributing guide

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

synapseformation-0.0.3.tar.gz (13.1 kB view details)

Uploaded Source

File details

Details for the file synapseformation-0.0.3.tar.gz.

File metadata

  • Download URL: synapseformation-0.0.3.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for synapseformation-0.0.3.tar.gz
Algorithm Hash digest
SHA256 a5c06c9f01617c830b5697d30f18d220f2dc56d8928dff82f4df26f65e2c1daa
MD5 ee0dd23f48da895058b185e5139b7be4
BLAKE2b-256 5311fd901623bcfac52c519a5b5e9e64c91c27f7cd6afd7e05e5afd09d11e92e

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