
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Flexible version control for files and folders.
The simplest way is to get it from PyPi:
pip install bev
ls
# image.png ids.json some-folder
bev add image.png
ls
# image.png.hash ids.json some-folder
bev add ids.json some-folder
ls
# image.png.hash ids.json.hash some-folder.hash
git add image.png.hash ids.json.hash some-folder.hash
git commit -m "added new files"
ls
# image.png.hash ids.json.hash some-folder.hash
bev pull image.png.hash --mode copy
ls
# image.png ids.json.hash some-folder.hash
bev pull some-folder.hash --mode copy
ls
# image.png ids.json.hash some-folder
In this recipe we "expand" the hashed folder and fill it with the hashes of the files it contains. This is much faster than copying back the entire folder.
ls
# image.png.hash ids.json.hash some-folder.hash
bev pull some-folder.hash --mode hash
ls
# image.png.hash ids.json.hash some-folder
ls some-folder
# photo.jpg.hash some-text-file.txt.hash nested-folder
Afterwards you can add the folder back
bev add some-folder
ls
# image.png.hash ids.json.hash some-folder.hash
.bev.yml
):main:
storage: /path/to/storage/folder
meta:
hash: sha256
init
bev init
bev add /path/to/some/file.json
# also can provide several paths
bev add /path/to/some/folder/ /path/to/some/image.png
git add file.json.hash folder.hash image.png.hash
git commit -m "added files"
import imageio
from bev import Repository
# `version` can be a commit hash or a git tag
repo = Repository('/path/to/repo', version='8a7fe6')
image = imageio.imread(repo.resolve('image.png'))
# replace the folder's hash by the hashes of its files
bev pull folder.hash --mode hash
# entirely restore the folder (inverse of `bev add folder`)
bev pull folder.hash --mode copy
# same for files
bev pull image.png.hash --mode copy
Here are some tutorials that cover more advanced configuration, including multiple storage locations and machines:
DVC is a great project, and we took inspiration from it while designing bev
.
However, out lab has several requirements that DVC
doesn't meet:
dvc checkout
after git checkout
is error-prone, because it can lead to situations when the data is
not consistent with the current commit - we need a more constrained relation between data and git
bev
supports all four out of the box!
However, if these requirements are not essential to your project, you may want to stick with DVC
- its community and
tests coverage is much larger.
FAQs
A small manager for versioned data
We found that bev demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.