yarn.lock file parser
Project description
yarnlock
Quickly parse yarn dependencies information into a Python dictionary. The output is typed using a TypedDict class, making it more convenient to work with.
Installation
The recommended installation method is through the PyPI package manager. The project is implemented in Rust and several pre-built binary wheels are available for Linux, macOS, and Windows, with support for both x64 and ARM architectures.
pip install yarnlock
Basic usage
from pathlib import Path
from yarnlock import yarnlock_parse
yarnlock_parse(Path('yarn.lock').read_text())
# ->
# {
# '@babel/cli': {
# 'matches': ['^7.24.8'],
# 'dependencies': {
# 'glob': '^7.2.0',
# 'slash': '^2.0.0',
# 'make-dir': '^2.1.0',
# 'commander': '^6.2.0',
# 'convert-source-map': '^2.0.0',
# 'fs-readdir-recursive': '^1.1.0',
# '@jridgewell/trace-mapping': '^0.3.25',
# },
# 'optionalDependencies': {
# 'chokidar': '^3.4.0',
# '@nicolo-ribaudo/chokidar-2': '2.1.8-no-fsevents.3',
# },
# 'version': '7.24.8',
# 'resolved': 'https://registry.npmjs.org/@babel/cli/-/cli-7.24.8.tgz',
# 'integrity': 'sha512-isdp+G6DpRyKc+3Gqxy2rjzgF7Zj9K0mzLNnxz+E/fgeag8qT3vVulX4gY9dGO1q0y+0lUv6V3a+uhUzMzrwXg==',
# },
# ...
# }
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yarnlock-1.2.0.tar.gz.
File metadata
- Download URL: yarnlock-1.2.0.tar.gz
- Upload date:
- Size: 154.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c28bbe8f72628930f962e8df2f3ae47f7f48ec7a691d6cc79ce0967698edd965
|
|
| MD5 |
1e4ed2cff649ca269c6e95bb1e057142
|
|
| BLAKE2b-256 |
ebe96267d7575604b2948f86aee30fc3a0cee0acbac71d66b28a85b50184f24d
|
Provenance
The following attestation bundles were made for yarnlock-1.2.0.tar.gz:
Publisher:
workflow.yaml on Zaczero/yarnlock
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yarnlock-1.2.0.tar.gz -
Subject digest:
c28bbe8f72628930f962e8df2f3ae47f7f48ec7a691d6cc79ce0967698edd965 - Sigstore transparency entry: 203660477
- Sigstore integration time:
-
Permalink:
Zaczero/yarnlock@6ed5aa366cc211b6610359eb48ba097edfddd33a -
Branch / Tag:
refs/tags/1.2.0 - Owner: https://github.com/Zaczero
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yaml@6ed5aa366cc211b6610359eb48ba097edfddd33a -
Trigger Event:
push
-
Statement type:
File details
Details for the file yarnlock-1.2.0-cp39-abi3-win_amd64.whl.
File metadata
- Download URL: yarnlock-1.2.0-cp39-abi3-win_amd64.whl
- Upload date:
- Size: 109.4 kB
- Tags: CPython 3.9+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a61b791cce95da7adfa7aa4978585ea812c9180c79a0e6e1b17fa920ff98cd15
|
|
| MD5 |
c1f7b6c0f69d5c8bedb42a990ca9e4cc
|
|
| BLAKE2b-256 |
87901b696a612b16df038e19e3b132b55b4d4b96d4196ff19a9ecebef253c1d4
|
Provenance
The following attestation bundles were made for yarnlock-1.2.0-cp39-abi3-win_amd64.whl:
Publisher:
workflow.yaml on Zaczero/yarnlock
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yarnlock-1.2.0-cp39-abi3-win_amd64.whl -
Subject digest:
a61b791cce95da7adfa7aa4978585ea812c9180c79a0e6e1b17fa920ff98cd15 - Sigstore transparency entry: 203660481
- Sigstore integration time:
-
Permalink:
Zaczero/yarnlock@6ed5aa366cc211b6610359eb48ba097edfddd33a -
Branch / Tag:
refs/tags/1.2.0 - Owner: https://github.com/Zaczero
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yaml@6ed5aa366cc211b6610359eb48ba097edfddd33a -
Trigger Event:
push
-
Statement type:
File details
Details for the file yarnlock-1.2.0-cp39-abi3-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: yarnlock-1.2.0-cp39-abi3-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 410.5 kB
- Tags: CPython 3.9+, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
860b63613c392d1c3ce1b93c9f6f42c2fef2ae879cd997a4b23c237b9a908399
|
|
| MD5 |
e1fc173ca2d31eb98dbc04146e0c245e
|
|
| BLAKE2b-256 |
7059e52d92158297b5872990e1bfae9c8b7bc9ec158ec30885f9c57be2b8645b
|
Provenance
The following attestation bundles were made for yarnlock-1.2.0-cp39-abi3-musllinux_1_2_x86_64.whl:
Publisher:
workflow.yaml on Zaczero/yarnlock
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yarnlock-1.2.0-cp39-abi3-musllinux_1_2_x86_64.whl -
Subject digest:
860b63613c392d1c3ce1b93c9f6f42c2fef2ae879cd997a4b23c237b9a908399 - Sigstore transparency entry: 203660511
- Sigstore integration time:
-
Permalink:
Zaczero/yarnlock@6ed5aa366cc211b6610359eb48ba097edfddd33a -
Branch / Tag:
refs/tags/1.2.0 - Owner: https://github.com/Zaczero
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yaml@6ed5aa366cc211b6610359eb48ba097edfddd33a -
Trigger Event:
push
-
Statement type:
File details
Details for the file yarnlock-1.2.0-cp39-abi3-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: yarnlock-1.2.0-cp39-abi3-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 420.2 kB
- Tags: CPython 3.9+, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37d4fd5ae5a54230264ad76a54392e1d367fbf52e8cc063a27134eafe366d354
|
|
| MD5 |
b7a14987b8a3601c5788a685cc0cb001
|
|
| BLAKE2b-256 |
2b7f9275af498850ab901023292f3a6d4dbb40f9980d246ff2c54b962bec44d6
|
Provenance
The following attestation bundles were made for yarnlock-1.2.0-cp39-abi3-musllinux_1_2_aarch64.whl:
Publisher:
workflow.yaml on Zaczero/yarnlock
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yarnlock-1.2.0-cp39-abi3-musllinux_1_2_aarch64.whl -
Subject digest:
37d4fd5ae5a54230264ad76a54392e1d367fbf52e8cc063a27134eafe366d354 - Sigstore transparency entry: 203660486
- Sigstore integration time:
-
Permalink:
Zaczero/yarnlock@6ed5aa366cc211b6610359eb48ba097edfddd33a -
Branch / Tag:
refs/tags/1.2.0 - Owner: https://github.com/Zaczero
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yaml@6ed5aa366cc211b6610359eb48ba097edfddd33a -
Trigger Event:
push
-
Statement type:
File details
Details for the file yarnlock-1.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: yarnlock-1.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 224.4 kB
- Tags: CPython 3.9+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dd6855409703d7571f7d6f4b14051c188021f7d09e8f9af913c7907f294669c
|
|
| MD5 |
24d33e000cd4963e63ffdeba41dd62f6
|
|
| BLAKE2b-256 |
5604ec60ffe489e711f3c73f4b869650078e6084aef505830f8bcbf1b1fb26e1
|
Provenance
The following attestation bundles were made for yarnlock-1.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
workflow.yaml on Zaczero/yarnlock
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yarnlock-1.2.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
5dd6855409703d7571f7d6f4b14051c188021f7d09e8f9af913c7907f294669c - Sigstore transparency entry: 203660496
- Sigstore integration time:
-
Permalink:
Zaczero/yarnlock@6ed5aa366cc211b6610359eb48ba097edfddd33a -
Branch / Tag:
refs/tags/1.2.0 - Owner: https://github.com/Zaczero
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yaml@6ed5aa366cc211b6610359eb48ba097edfddd33a -
Trigger Event:
push
-
Statement type:
File details
Details for the file yarnlock-1.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: yarnlock-1.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 217.6 kB
- Tags: CPython 3.9+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6aa2a4118a216a1ca67cb33733a3dca4d46b207c4973884df76f87378b56296b
|
|
| MD5 |
9f6bcc5af75193bcb23009c1e1350bbd
|
|
| BLAKE2b-256 |
2118ae4daea16fa966f12b59a17746b3dc4939401532f471a80bcbaf835bcc94
|
Provenance
The following attestation bundles were made for yarnlock-1.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
workflow.yaml on Zaczero/yarnlock
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yarnlock-1.2.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl -
Subject digest:
6aa2a4118a216a1ca67cb33733a3dca4d46b207c4973884df76f87378b56296b - Sigstore transparency entry: 203660502
- Sigstore integration time:
-
Permalink:
Zaczero/yarnlock@6ed5aa366cc211b6610359eb48ba097edfddd33a -
Branch / Tag:
refs/tags/1.2.0 - Owner: https://github.com/Zaczero
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yaml@6ed5aa366cc211b6610359eb48ba097edfddd33a -
Trigger Event:
push
-
Statement type:
File details
Details for the file yarnlock-1.2.0-cp39-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: yarnlock-1.2.0-cp39-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 214.6 kB
- Tags: CPython 3.9+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d795fd4444af154867e1a025264245c0d0693f14585b51f1d09a7175d36b43f
|
|
| MD5 |
06422bd78e54b9dac4a22919137464de
|
|
| BLAKE2b-256 |
c5622c8e50826738872bb8beb361adca92c8757c12a3dc238146b968c4c4bb62
|
Provenance
The following attestation bundles were made for yarnlock-1.2.0-cp39-abi3-macosx_11_0_arm64.whl:
Publisher:
workflow.yaml on Zaczero/yarnlock
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yarnlock-1.2.0-cp39-abi3-macosx_11_0_arm64.whl -
Subject digest:
6d795fd4444af154867e1a025264245c0d0693f14585b51f1d09a7175d36b43f - Sigstore transparency entry: 203660506
- Sigstore integration time:
-
Permalink:
Zaczero/yarnlock@6ed5aa366cc211b6610359eb48ba097edfddd33a -
Branch / Tag:
refs/tags/1.2.0 - Owner: https://github.com/Zaczero
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yaml@6ed5aa366cc211b6610359eb48ba097edfddd33a -
Trigger Event:
push
-
Statement type:
File details
Details for the file yarnlock-1.2.0-cp39-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: yarnlock-1.2.0-cp39-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 219.4 kB
- Tags: CPython 3.9+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5316b67661624d7c25cd0787c676855426e555d90b45a89e56a277fca1fff2a
|
|
| MD5 |
69a42a2d8de4930e3f6974c81d838bb4
|
|
| BLAKE2b-256 |
908e7b152c70c3f89947691c406d1e4c5f0a63dde0b3589756b471446970e4c9
|
Provenance
The following attestation bundles were made for yarnlock-1.2.0-cp39-abi3-macosx_10_12_x86_64.whl:
Publisher:
workflow.yaml on Zaczero/yarnlock
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yarnlock-1.2.0-cp39-abi3-macosx_10_12_x86_64.whl -
Subject digest:
c5316b67661624d7c25cd0787c676855426e555d90b45a89e56a277fca1fff2a - Sigstore transparency entry: 203660492
- Sigstore integration time:
-
Permalink:
Zaczero/yarnlock@6ed5aa366cc211b6610359eb48ba097edfddd33a -
Branch / Tag:
refs/tags/1.2.0 - Owner: https://github.com/Zaczero
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yaml@6ed5aa366cc211b6610359eb48ba097edfddd33a -
Trigger Event:
push
-
Statement type: