Skip to main content

wL support package for python

Project description

wL

wL is a markup metalanguage designed to store arbitrary data in a format that is both human-readable and machine-readable.

The design goals of wL emphasize elementary simplicity, generality, stability, and usability across all programming language. Plus, wL format does not contain no data specialisation or typing, for a linear read.

Consider checking the GitHub rep to get a full documentation.

Packages

wLpylib itself does not coutain any function, class. You should import either wLpylib.exporter or wLpylib.parser.

Doc

Exporter

Coutains two functions to export to a str, or a file (supports pathlib.Path). Additionally coutains a configure class.

from wLpylib.exporter import export, exports, ExportConfig

export(obj, config)        # export obj to a str following rules in config
exports(obj, path, config) # export obj to bounded file following rules in config

ExportConfig(src) # configuration for both export functions

Parser

Coutains two functions to parse wL from a str, or a file (supports pathlib.Path).

from wLpylib.exporter import export, exports

load(obj, config)        # parse wL from a str
loads(obj, path, config) # parse wL from a file

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

wlpylib-1.3.3.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

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

wlpylib-1.3.3-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file wlpylib-1.3.3.tar.gz.

File metadata

  • Download URL: wlpylib-1.3.3.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for wlpylib-1.3.3.tar.gz
Algorithm Hash digest
SHA256 d96e9d7f5328f833c8873b1813ce6e9e3604292dc8962d01538cedeea5c0f602
MD5 5074994981e7e5ec95dc880a36f76344
BLAKE2b-256 56e51a47f045c8120c8c07804ef889cfb9d061bdb1d49fef0c16a84fc0c06ff5

See more details on using hashes here.

File details

Details for the file wlpylib-1.3.3-py3-none-any.whl.

File metadata

  • Download URL: wlpylib-1.3.3-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for wlpylib-1.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 588774ca1e4ea7dc4bafffce26a953cc81b96c6014df7df2dddfab41a2b8171e
MD5 383d70d604d1fdb407239bfcf5a4b121
BLAKE2b-256 9b5f930f16f06da2a3847317b6df28d927f9448cd1d505508f3d2438858221f2

See more details on using hashes here.

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