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.
Open_PyDb is a unique way to change open source unstructure dataabases, it makes use of Jsonl files to store big amounts of data
An unstructured database module for Python
Open-PyDB is a simple, lightweight, and flexible open-source database for that allows users to make use of unstruct data. It provides a simple, flexible and extensible way to data. The project contains the code for a simple database manager using a Client class to interact with a database The database manager supports creating and deleting databases and collections, as well as adding and deleting data from collections.
pip install open-pydb
pip3 install open-pydb
Here's an example of how to use Open-DB:
from open_db import Client
# Create a new client
client = Client()
# Add a new database
db = client.add_db("Users")
# Get the database
db = client.get_db()
# Get the collections in the database
collections = db.get_collections()
# Add data to the first collection
collections[0].add_data(id="2", name="Get with me")
# Delete data from the first collection
collections[0].delete_data(collections[0].data)
Open-DB uses a simple data model based on the Data class. Here's an example of how to use the Data class:
from open_db_JOHN_PAUL.data_model import Data
# Create a new data object
data = Data(foo='bar', baz=42)
# Convert the data object to a JSON string
json_data = data.to_json()
# Convert a JSON string to a data object
new_data = Data.from_json(json_data)
We welcome contributions to Open-DB! If you'd like to contribute, please fork the repository and make your changes in a new branch. Once you're ready to submit your changes, open a pull request and we'll review your changes as soon as possible.
Open-DB is released under the MIT License. See the LICENSE file for details.
For any questions or issues, please feel free to contact at johnpar2004@gaml.com.
FAQs
Open_PyDb is a unique way to change open source unstructure dataabases, it makes use of Jsonl files to store big amounts of data
We found that open-pydb 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.