Skip to main content

equality-check

from equality_check import EQUALITY

EQ = EQUALITY (
	FOLDER ("STATUS_FOLDERS/1/EQ_1"),
	FOLDER ("STATUS_FOLDERS/1/EQ_2")
)

If the folders are equal, then these assertions should pass.

assert (len (EQ ['1']) == 0)
assert (len (EQ ['2']) == 0)

Otherwise:

#
# UNIQUE TO 1
# UNIQUE TO 2
#
#	"f" 	UNIQUE FILE
#	"fc" 	UNIQUE FILE CONTENTS
#
#	"d"		UNIQUE DIRECTORY
#
#	"s"		UNIQUE SYMLINK
#	"sc"	UNIQUE SYMLINK CONTENTS
#
EQ = {
	1: {
		"asdf/asdf": "f",
		"asdf/asd": "d",
		"asdff/asd": "?"
	},
	2: {}
}

Release files for equality-check 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for equality-check 0.0.6
File Size Uploaded
equality-check-0.0.6.tar.gz 3.3 kB Details

Release files / equality-check-0.0.6.tar.gz

Download URL equality-check-0.0.6.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2a6ce580498cfd22f37f171fcbf9e4141aa4c35ae1b78bcea336639978dd690c
BLAKE2b-256 checksum
How to use checksums
5c5276bd4eae6c685e1f659d5ee4813e2bc5bc1c32a159560bd3c5fd9e029e5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.0.6 This release

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page