freezegun
BorgBackup
Our great sponsors
freezegun | BorgBackup | |
---|---|---|
9 | 333 | |
3,969 | 10,506 | |
- | 1.7% | |
6.7 | 9.5 | |
2 days ago | 12 days ago | |
Python | Python | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
freezegun
-
About time: how to unit test code that depends on time
* in C++.
On Python, just use freezegun to inject controllable timestamps in response to calls to time methods.
-
How to simulate a delay in a test?
I had much fun with https://github.com/spulec/freezegun
-
Unnecessary unit-test mocking?
If you're ever in Python-land, freezegun is a super neat library that snags all the time/date related functions and lets you control time from code.
- Microsoft Exchange stops passing mail due to bug on 1/1/22
-
Python: Please stop screwing over Linux distros
For example, freezegun which is a common testing utility.
-
Mocking Python datetime In Tests With FreezeGun
FreezeGun is a library that helps with mocking out the datetime.datetime.now function. It is a very useful tool for testing code that uses the datetime library.
-
Introduction to Flaky Tests by Example
Another way of doing so would be to inject the value directly to the method. Python has a very good library to sandbox the tests when using the built-in datetime objects: freezegun. Once again, and unfortunately for us, the project was using arrow so this was not a possibility.
- FreezeGun: Let your Python tests travel through time
-
As a beginner to testing, what is the best and fastest way to create testing cases?
If you do time sensitive tests, use freeze gun to make them reproducible https://github.com/spulec/freezegun
BorgBackup
-
Ask HN: Open-source Windows 11 backup solutions
i use - and recommend - "borgbackup": for example with the "vorta" graphical frontend
* https://vorta.borgbase.com/install/windows/
just my 0.02€
- I Backup
- Ask HN: For what purposes do you use a Raspberry Pi?
-
Duplicity
I used this many, many years ago but switched to Borg[0] about five years ago. Duplicity required full backups with incremental deltas, which meant my backups ended up using too much disk space. Borg lets you prune older backups at will, because of chunk tracking and deduplication there is no such thing as an incremental backup.
-
What do you use for VPS backup? Would improved borg setup - pull mode - be enough? Or, do you use something else?
Currently, I'm auto-backing it up with borg (push mode) through wireguard tunnel to NAS behind ISP's CGNAT. The borg takes care of deduplication in SQL file, so incremental update (even in append-only mode) is very small for PostgreSQL dump.
- Borg CVE fix requires migration
-
Kopia: Open-Source, Fast and Secure Open-Source Backup Software
Borg 2 has been in development for nearly a year and a half [1] and may probably be released early next year, i.e., early 2024 (just a guess, seeing that even RC1 is not yet released and seems to have a lot of work to be done).
Does anyone know how Borg 1.x and 2 would compare to Kopia?
- Home backup solution?
-
disc space is not freeing
You could use borgbackup.
- My deduplication solution written in Rust beats everything else: casync, borg...
What are some alternatives?
time-machine - Travel through time in your tests.
Duplicati - Store securely encrypted backups in the cloud!
python-libfaketime - A fast time mocking alternative to freezegun that wraps libfaketime.
Duplicity - Unnoficial fork of Duplicity - Bandwidth Efficient Encrypted Backup
Moto - A library that allows you to easily mock out tests based on AWS infrastructure.
Rsnapshot - a tool for backing up your data using rsync (if you want to get help, use https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss)
VCR.py - Automatically mock your HTTP interactions to simplify and speed up testing
restic - Fast, secure, efficient backup program
httpretty - Intercept HTTP requests at the Python socket level. Fakes the whole socket module
TimeShift - System restore tool for Linux. Creates filesystem snapshots using rsync+hardlinks, or BTRFS snapshots. Supports scheduled snapshots, multiple backup levels, and exclude filters. Snapshots can be restored while system is running or from Live CD/USB.
mock - The Python mock library
UrBackup - UrBackup - Client/Server Open Source Network Backup for Windows, MacOS and Linux