
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
mdb-bp
Advanced tools
Table of Contents
This package contains a pure-Python MDB client library.
Package is uploaded on PyPI.
Install with pip:
$ python3 -m pip install mdb-bp
bSQL documentation is available online:https://bsql.org/
For support, please refer to StackOverflow.
The following example makes use of a simple blockchain, inserts a value, and reads that value.
from mdb_bp import driver
# Connect to the database
conn = driver.connect(
username="user",
password="password",
connection_protocol="tcp",
server_address="216.27.61.137",
server_port=8080,
database_name="master",
parameters={"interpolateParams": True},
)
# Prepare a statement
stmt = conn.prepare(
"CREATE BLOCKCHAIN user TRADITIONAL ("
+ "id uint64 PRIMARY KEY AUTO INCREMENT,"
+ " first_name string size = 25 PACKED,"
+ " last_name string size = 50 PACKED,"
+ " age uint8,"
+ " username string size=30 PACKED UNIQUE)")
# Execute the statement.
resp = stmt.exec()
print(resp)
# Run an insertion and handle error
xact = conn.begin()
# Insert a value non-atomically
try:
result = xact.exec(
"INSERT user (first_name, last_name, age, username) "
+ "VALUES (\"it's NOT CHABOY\", \"Smith\", 45, \"NOT CHABOY\")")
print(result)
xact.commit()
except Exception as err:
# Rollback the transaction if there was a failure
print(err)
xact.rollback()
# Query from the blockchain
rows = conn.query("SELECT * FROM user")
# Print the rows
itr = iter(rows)
for row in itr:
print(row)
# Store a file
store_file_resp = conn.store_file(
"space",
"test_files/space.png",
"png"
)
print(store_file_resp)
# Export a file
export_file_resp = conn.export_file(
"space",
"test_files/out_space.png",
"png"
)
print(export_file_resp)
FAQs
blockpoint Systems - MultiVersion Database (MDB) ODBC
We found that mdb-bp 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.