Summary
Laminated provide dictionary like object with the layers support. The general suppose is a data set with fluctuations in differents pieces.
Quick Examples
Example 1
from laminated import Laminated
# The company FOO has employeers with this paymenths in month
inition_employee_pay = {
'John': 120000,
'Mike': 150000,
'Sara': 80000,
'David': 60000,
}
l = Laminated()
l.add_layer(
name='2017-01',
data=inition_employee_pay,
)
# John have increase pays in february
l.add_layer(
name='2017-02',
data={
'John': 130000,
},
)
# March have no any differences, that layer is empty
l.add_layer({}, '2017-03')
# In April Sara groing up
l.add_layer(
name='2017-04',
data={
'Sara': 100000,
},
)
# how many company FOO spend money on they workers by months
amount = 0
for month in l.get_layers_names():
for employee in l:
amount += l.get_value_at_layer(month, employee)
# the result will be 1690000
print('Total amount of pays is {}'.format(amount))
Metadata
Release files for laminated 0.1.2.1
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 |
|---|---|---|---|---|
| laminated-0.1.2.1.tar.gz | 2.6 kB | Without provenance | Details for laminated-0.1.2.1.tar.gz |
Release files / laminated-0.1.2.1.tar.gz
| Download URL | laminated-0.1.2.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a95c830d8c5217e73d58bbe18e5367cb6cfcade48d88d109dea6304d29cc70b0
|
|
BLAKE2b-256 checksum How to use checksums |
1dbabd9aae4e3d249aefa4291938ab3b2203d0806c8082cf02555271cff1cb62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for laminated 0.1.2.1
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.