Skip to main content

Python type code generator

Project description

usage: mapargs [-h] infile

positional arguments:
  infile

optional arguments:
  -h, --help  show this help message and exit

Examples

Python

Read input from command line:

mapargs -
field1: str
b: int
c: float

Output:

field1=source.field1,
b=source.b,
c=source.c,

Go

Read input from command line:

mapargs -

Press <Ctrl-d> to end input.

field1: str
b: int
c: float

Press <Ctrl-d> to end input.

Output:

ID: source.ID,
Field2: source.Field2,
c: source.c,

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

mapargs-0.0.7.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

mapargs-0.0.7-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file mapargs-0.0.7.tar.gz.

File metadata

  • Download URL: mapargs-0.0.7.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

File hashes

Hashes for mapargs-0.0.7.tar.gz
Algorithm Hash digest
SHA256 226ffee1950450a2ca04848468973a8287cc0ea9c7db2f3f0eacbfe14a1b63ec
MD5 eb2bf9fdd3ad7abc302c5baf7fabf8b8
BLAKE2b-256 1d9d1856cf8d2316a1da0b8d32ff52534bc5e2b0275e4d859cbe1e1e9ba6b7da

See more details on using hashes here.

File details

Details for the file mapargs-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: mapargs-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

File hashes

Hashes for mapargs-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 80b6f2e868d19bcd011207d32c7fbf34a249ab3bf05162c6750288b45dd13dda
MD5 ab6202966fe74ac46155f167c7fd9c71
BLAKE2b-256 7c9315f3a4ea8516cc65d940a3bde582fee0df23c6e9ff29293d3f2def69ec5a

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