Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
The official library for working with the Databento Binary Encoding (DBZ) format.
The primary point for entrypoint for dbz_lib
is the Dbz
object, which
represents the contents of one DBZ file or byte stream.
To read a DBZ file with MBO data and print each row:
use db_def::tick::TickMsg;
use dbz_lib::Dbz;
let dbz = Dbz::from_file("20201228.mbo.dbz")?;
for tick in dbz.try_into_iter::<TickMsg>() {
println!("{tick:?}");
}
The documentation provides an overview of all methods and features.
FIXME: when prepping to release to crates.io
dbz
is written in Rust, so you'll need to have Rust installed
first.
To build, run the following commands:
git clone https://github.com/databento/dbz
cd dbz
cargo build --release
To also include the optional Python bindings when running any cargo
command,
pass the --all-features
flag or --features=python
.
For example, to build all of dbz with Python bindings, run:
cargo build --all-features
To create a Python package from dbz-lib
, you'll need to install Maturin.
For a Python package to develop against, run:
maturin develop -F python
This will install a package named dbz_lib
in your current Python environment.
Tests are run through cargo test
and are located within each module.
Distributed under the Apache 2.0 License.
FAQs
Library for working with the Databento Binary Encoding (DBZ) format
We found that dbz-lib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.