Skip to main content

I Keep Writing These Things.

Project description

Deja Vu

Author: John Grey Date : 2024-03-04

Overview

I keep writing these things.

Examples

ChainGuard

With Toml Data:

   key = "value"
   [table]
   key = "other value"
   sub = {key="blah"}
data = ChainGuard.load("some.toml")
# Normal key access
data['key'] == "value"
# Key attributes
data.key == "value"
# Chained key attributes
data.table.sub.key == "blah"
# Failable keys
data.on_fail(2).table.sub.key() == "blah"
data.on_fail(2).table.sub.bad_key() == 2

Strang

example : Strang = Strang("head.meta.data::tail.value")
# Regular string index access:
example[0] == "h"
example[0:4] == "he"
# Section access:
example[0,:] == "head.meta.data"
example[1,:] == "tail.value"
example[0,0] == "head"
example[1,0] == "tail"

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

jgdv-1.3.2.tar.gz (204.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jgdv-1.3.2-py3-none-any.whl (320.8 kB view details)

Uploaded Python 3

File details

Details for the file jgdv-1.3.2.tar.gz.

File metadata

  • Download URL: jgdv-1.3.2.tar.gz
  • Upload date:
  • Size: 204.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for jgdv-1.3.2.tar.gz
Algorithm Hash digest
SHA256 df908783022f3ebee446d51daf1f10371e41c4f93ffcabc78e33698564f5992e
MD5 0e6eb9ce3b5b5e79e8b73fe71bfa1444
BLAKE2b-256 4b1d1acbca481c95c73741836a50050ad7528e6d3b3d0f21779b4c8a86ad8aed

See more details on using hashes here.

Provenance

The following attestation bundles were made for jgdv-1.3.2.tar.gz:

Publisher: python-publish.yml on jgrey4296/jgdv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jgdv-1.3.2-py3-none-any.whl.

File metadata

  • Download URL: jgdv-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 320.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for jgdv-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 21ae22c082983746fdffe064c831ea7b287d4f4caf665758d629643848950a15
MD5 c415de86446839194c9ccb6f2e7321b7
BLAKE2b-256 4571462cca6df6bf3ae7cbfccb3dc91222a801d2a7edbe4bcece5a92e18b510b

See more details on using hashes here.

Provenance

The following attestation bundles were made for jgdv-1.3.2-py3-none-any.whl:

Publisher: python-publish.yml on jgrey4296/jgdv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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