lmoments3
A Python3 library to estimate linear moments for statistical distribution functions.
Requires the packages numpy and scipy.
For the Python 2.x compatible package see lmoments on the Python Package Index.
Installation
lmoments3 can be installed via pip
$ pip install lmoments3
or, alternatively, you can install it from conda-forge:
$ conda install -c conda-forge lmoments3
Documentation
Documentation is available on Read the Docs.
Source code can be found at GitHub.
Origin
This package contains a Python 3.x implementation of the lmoments.f library created by J. R. M. Hosking. (copy of original code)
IBM software disclaimer
The base Fortran code is copyright of the IBM Corporation, and the licensing information is shown below:
LMOMENTS: Fortran routines for use with the method of L-moments
Permission to use, copy, modify and distribute this software for any purpose and without fee is hereby granted, provided that this copyright and permission notice appear on all copies of the software. The name of the IBM Corporation may not be used in any advertising or publicity pertaining to the use of the software. IBM makes no warranty or representations about the suitability of the software for any purpose. It is provided “AS IS” without any express or implied warranty, including the implied warranties of merchantability, fitness for a particular purpose and non-infringement. IBM shall not be liable for any direct, indirect, special or consequential damages resulting from the loss of use, data or projects, whether in an action of contract or tort, arising out of or in connection with the use or performance of this software.
Additional code
Additional code from the R library lmomco has been converted into Python. This library was developed by William Asquith, and was released under the GPL-3 License. Copyright (C) 2012 William Asquith.
Original Python translation
The Python translation was conducted by:
For more information, or to report bugs, contact: <sam.gillespie@my.jcu.edu.au>
Licensing for Python Translation:
Copyright (C) 2014 Sam Gillespie
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>
Python 3 compatibility
The Python package was further updated to make it compatible with Python 3.x by Florenz A.P. Hollebrandse <f.a.p.hollebrandse@protonmail.ch>.
The software remains licenced under the GNU General Public License, see <https://www.gnu.org/licenses/gpl.html>.
The Python 3 port, is based on the original lmoments package, version 0.2.2.
The Ouranosinc package was forked from OpenHydrology’s lmoments3. The primary aims of this fork are to provide maintenance for the existing codebase as well as update the project to benefit from more modern Python coding conventions, maintain compatibility with existing Python dependencies.
Metadata
Release files for lmoments3 1.0.8
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 | Actions |
|---|---|---|---|---|
| lmoments3-1.0.8.tar.gz | 77.7 kB | Without provenance | Details for lmoments3-1.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lmoments3-1.0.8-py3-none-any.whl | Python 3 | none | any | Details for lmoments3-1.0.8-py3-none-any.whl |
Total release size: 125.9 kB
Release files / lmoments3-1.0.8.tar.gz
| Download URL | lmoments3-1.0.8.tar.gz |
|---|---|
| Size | 77.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb58bfc23c924ebe30852b57a9ac4fe15549bf9376843b7ab67aed79bc06bee1
|
|
BLAKE2b-256 checksum How to use checksums |
8412a44008bbf71d0bae58e53552478b40b8de61ae034c7c085681ba3e8525ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|
Release files / lmoments3-1.0.8-py3-none-any.whl
| Download URL | lmoments3-1.0.8-py3-none-any.whl |
|---|---|
| Size | 48.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
984d1f1b0c3feefd57afc7a270931c1d28e4face2df1c2293559faf47681ef5e
|
|
BLAKE2b-256 checksum How to use checksums |
28a888ba989f510c5e0d8889fbc8141ff0ae307dcf743baa2385ebaa6169b43c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|
Security for lmoments3 1.0.8
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.