py-solc-x wrapper for Auditless
This wrapper modifies py-solcx-x to produce output on every compilation that can be consumed by Auditless.
Can I use this for my project
As long as you are using py-solc-x to compile Solidity files, you can use this wrapper.
How to use
Add the the following snippet to your code:
from pathlib import Path
from auditless_solcx import solcx_start_saving_debugging_output_to_path
path = Path(__file__).parent # This will save files in a folder ./artifacts/build-info
solcx_start_saving_debugging_output_to_path(path)
# This needs to appear before any modules consuming `py-solc-x` are loaded
# See below "Important note about patching"
Important note about patching
The patching function solcx_start_saving_debugging_output_to_path(<path>) needs to be called either before
solcx is used directly or before any module that imports and uses solcx.
See Python Mock Gotchas for more information about patching order.
License
MIT
Metadata
Release files for auditless-py-solc-x 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 | |
|---|---|---|---|---|
| auditless-py-solc-x-0.1.0.tar.gz | 5.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| auditless_py_solc_x-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.7 kB
Release files / auditless-py-solc-x-0.1.0.tar.gz
| Download URL | auditless-py-solc-x-0.1.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6dccf46b1accfc588ebd8655a0e1d8f9f13cf1b6edce0b4266a01197bad89abb
|
|
BLAKE2b-256 checksum How to use checksums |
8ea010ca8e9a73f3eca64f5c87b0ede3da14d49b7363d1839444cbb17b291cf5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/2.7.16 Darwin/20.3.0
|
Release files / auditless_py_solc_x-0.1.0-py3-none-any.whl
| Download URL | auditless_py_solc_x-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9da430d27ecae3b93218e2e8ad479b2cf09f3c9e72ec9e52df85ca1a6a072bc6
|
|
BLAKE2b-256 checksum How to use checksums |
a58bf0285191638e8025a3ada311d0d31e0c037fe21723aee0fa833b314abd40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/2.7.16 Darwin/20.3.0
|
Security for auditless-py-solc-x 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.