Skip to main content

Generates boilerplate for data objects.

Project description

Actions Status codecov

Draughts

Incoming requests, outgoing queries, and messages being passed around often contain data that needs be normalized to account for things like missing data, types, or default values. This is a simple tool for generating boilerplate for data objects.

Notes:

  • Tries to be inplace, the dict you start with should still exist with the structure+type corrections applied.
  • Let IDEs check type annotations and attribute spelling.
  • Let you annotate fields with metadata that other systems may need in order to process the document properly.
  • Properties and methods are copied in.

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

draughts-0.2.10.tar.gz (14.7 kB view details)

Uploaded Source

Built Distributions

draughts-0.2.10-cp39-cp39-manylinux2010_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

draughts-0.2.10-cp39-cp39-manylinux1_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.9

draughts-0.2.10-cp38-cp38-manylinux2010_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

draughts-0.2.10-cp38-cp38-manylinux1_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.8

draughts-0.2.10-cp37-cp37m-manylinux2010_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

draughts-0.2.10-cp37-cp37m-manylinux1_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.7m

draughts-0.2.10-cp36-cp36m-manylinux2010_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

draughts-0.2.10-cp36-cp36m-manylinux1_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.6m

File details

Details for the file draughts-0.2.10.tar.gz.

File metadata

  • Download URL: draughts-0.2.10.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for draughts-0.2.10.tar.gz
Algorithm Hash digest
SHA256 1e3e1121ce97b1d679b67870db20af617940dacab719bb0b63db122b19d9a67a
MD5 ce203882fc103687cc7a10c0e9384500
BLAKE2b-256 5dac3ec348ed41713f0a37bf838551dea66e62f0ed5592664efebd9e7e2bf4d4

See more details on using hashes here.

File details

Details for the file draughts-0.2.10-cp39-cp39-manylinux2010_x86_64.whl.

File metadata

  • Download URL: draughts-0.2.10-cp39-cp39-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for draughts-0.2.10-cp39-cp39-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 64a4d2cb98c2534fef536a2c41991f1a71698adfcbea9c7b56312c411b514157
MD5 c5004eff0522ed1b0510d6fc8293a157
BLAKE2b-256 32a32399af3032e6b04491d111e6330ffd1cd5b575f0c0206eaf58f0f8812dc4

See more details on using hashes here.

File details

Details for the file draughts-0.2.10-cp39-cp39-manylinux1_x86_64.whl.

File metadata

  • Download URL: draughts-0.2.10-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for draughts-0.2.10-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 03b14e98caa6f4194e3b626349420d4f426a502d5dc52dbe38797adf292606de
MD5 c4242714a39e3036c87e3278c53f4325
BLAKE2b-256 8e06d9faae54c69d1a69922d83b924f3c5dabca25d143b29b574bf1f03013c19

See more details on using hashes here.

File details

Details for the file draughts-0.2.10-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: draughts-0.2.10-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for draughts-0.2.10-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5e7e04ae8a4aa3ca3cfc590a50e7d7dbd11c50523b2d91973365d449b3022306
MD5 dc327dfd4fdfcc01522670fb60f750f2
BLAKE2b-256 1f516459028da7b24e291442bd471a184091c99cb686b6725028f9cde66565e9

See more details on using hashes here.

File details

Details for the file draughts-0.2.10-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: draughts-0.2.10-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for draughts-0.2.10-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f5f62f2dc04a44f421e0fe2c9fa662485a70d86e187973dae6b4372277c10285
MD5 adda6209034766a630ad6e2ed5d47801
BLAKE2b-256 22b8bbccd74c6e8c44669a1a37d606b63828dc5e60c1242fa256667c0681af57

See more details on using hashes here.

File details

Details for the file draughts-0.2.10-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: draughts-0.2.10-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for draughts-0.2.10-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5573d92dcc5de21f89804ee27c4da703ab96aa89d226511646d425d3fff5ba52
MD5 b7b7136f0564849571b8d9dd0faf46a0
BLAKE2b-256 bd65c366ad8286625deb14a8be6b5f7a5675da33caeaae08f694cbaabaa8060b

See more details on using hashes here.

File details

Details for the file draughts-0.2.10-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: draughts-0.2.10-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for draughts-0.2.10-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0b81b27a1178dfe40bd864676b47befd67bcb76de9dce9a9f38f083500e2beb8
MD5 ecf8a4e89ef86872aa16fa403a3855d4
BLAKE2b-256 fa5387bf97dc67b8ee21cbd7d23b51c3711c3761dd0c6f622725d946700be3f1

See more details on using hashes here.

File details

Details for the file draughts-0.2.10-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: draughts-0.2.10-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for draughts-0.2.10-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 9b14c57d275a1ca01cb6231bdf50000e4fd6148c74e420d47fd9c5f096af0730
MD5 a3a40584114c5965e9e08d7d294e3dbf
BLAKE2b-256 d56a6c9b94cfa12da90319689972767408e23d8f87d98eccc9795b42b318efec

See more details on using hashes here.

File details

Details for the file draughts-0.2.10-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: draughts-0.2.10-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for draughts-0.2.10-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9324ad5a86be5b49895365e6837becc994b0ca7a78d09bf84acb22296c2e6e72
MD5 8f34a0eaa31ae1f44effc2dbc4eacf0f
BLAKE2b-256 2b5de5fe1d239e68a7002ee67aa2a0e47c2b59460214dfc2b194cb9374991eef

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