A Python interface to c-lime for Lyncs
Lyncs.clime is a faithful Python interface to c-lime. c-lime is a C-API for creating, reading, writing, and manipulating LIME files and offers a small set of utilities for examining, packing and unpacking LIME files.
LIME (which stands for Lattice QCD Interchange Message Encapsulation or more generally, Large Internet Message Encapsulation) is a simple packaging scheme for combining records containing ASCII and/or binary data. Its ancestors are the Unix cpio and tar formats and the Microsoft Corporation DIME (Direct Internet Message Encapsulation) format.
It is simpler and allows record sizes up to $2^{63}$ bytes, making chunking unnecessary for the foreseeable future. Unlike tar and cpio, the records are not associated with Unix files. They are identified only by a record-type (LIME type) character string, analogous to the familiar MIME application type.
Installation
The package can be installed via pip:
pip install [--user] lyncs_clime
Documentation
The following classes are available in lyncs_clime: Reader, ...
Contributing
When contributing to the package, clone the source from github:
git clone https://github.com/Lyncs-API/lyncs.clime
cd lyncs.clime
install the package in development mode:
pip install -e .[all]
and run the test-suite for checking the correctness of the installation:
pytest -v
If everything goes well, you should see all the tests passed and obtain a coverage report.
A main implementation requirement is an high code-coverage.
If you are going to implement something new, please, also add the respective
test files or functions in the test/ directory.
Another implementation requirement is to format the code via black and to use pylint for improving the code standard.
These packages can be installed via pip:
pip install black pylint
Before any commit, run black from the source directory:
black .
When you are done with the implementation, try to resolve as many comments/warnings/errors
as possible brought up by pylint:
pylint lyncs_clime
NOTE: pylint and black are incompatible in few formatting assumptions. Please, ignore the comments C0303 and C0330 of pylint. If they show up in the files you have edited/added, please, add the following line after the documentation string at the beginning of the respective files:
# pylint: disable=C0303,C0330
Metadata
Release files for lyncs-clime 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| lyncs_clime-0.1.0.tar.gz | 8.3 kB | Without provenance | Details |
Release files / lyncs_clime-0.1.0.tar.gz
| Download URL | lyncs_clime-0.1.0.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76af8eddadb62ebfbae860d5c882e8cace4c1a865765b2cac820771e0fac535e
|
|
BLAKE2b-256 checksum How to use checksums |
5f61125e60e3dca24281c4c3b3a4acc2d866b466d0bd887fb8fafbcd7e45da7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Security for lyncs-clime 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.