deltara 0.4.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/deltara.js +62 -0
- package/package.json +30 -0
- package/vendor/darwin-arm64/_internal/Crypto/Cipher/_ARC4.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Cipher/_Salsa20.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Cipher/_chacha20.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Cipher/_pkcs1_decode.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Cipher/_raw_aes.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Cipher/_raw_arc2.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Cipher/_raw_blowfish.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Cipher/_raw_cast.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Cipher/_raw_cbc.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Cipher/_raw_cfb.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Cipher/_raw_ctr.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Cipher/_raw_des.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Cipher/_raw_des3.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Cipher/_raw_ecb.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Cipher/_raw_eksblowfish.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Cipher/_raw_ocb.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Cipher/_raw_ofb.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Hash/_BLAKE2b.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Hash/_BLAKE2s.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Hash/_MD2.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Hash/_MD4.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Hash/_MD5.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Hash/_RIPEMD160.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Hash/_SHA1.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Hash/_SHA224.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Hash/_SHA256.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Hash/_SHA384.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Hash/_SHA512.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Hash/_ghash_portable.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Hash/_keccak.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Hash/_poly1305.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Math/_modexp.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Protocol/_scrypt.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/PublicKey/_curve25519.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/PublicKey/_curve448.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/PublicKey/_ec_ws.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/PublicKey/_ed25519.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/PublicKey/_ed448.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Util/_cpuid_c.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/Crypto/Util/_strxor.abi3.so +0 -0
- package/vendor/darwin-arm64/_internal/_cffi_backend.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/_watchdog_fsevents.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/attrs-26.1.0.dist-info/INSTALLER +1 -0
- package/vendor/darwin-arm64/_internal/attrs-26.1.0.dist-info/METADATA +199 -0
- package/vendor/darwin-arm64/_internal/attrs-26.1.0.dist-info/RECORD +55 -0
- package/vendor/darwin-arm64/_internal/attrs-26.1.0.dist-info/WHEEL +4 -0
- package/vendor/darwin-arm64/_internal/attrs-26.1.0.dist-info/licenses/LICENSE +21 -0
- package/vendor/darwin-arm64/_internal/base_library.zip +0 -0
- package/vendor/darwin-arm64/_internal/certifi/cacert.pem +4494 -0
- package/vendor/darwin-arm64/_internal/certifi/py.typed +0 -0
- package/vendor/darwin-arm64/_internal/deltara/orchestrator.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/deltara/tools.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/jsonschema/benchmarks/issue232/issue.json +2653 -0
- package/vendor/darwin-arm64/_internal/jsonschema-4.26.0.dist-info/INSTALLER +1 -0
- package/vendor/darwin-arm64/_internal/jsonschema-4.26.0.dist-info/METADATA +170 -0
- package/vendor/darwin-arm64/_internal/jsonschema-4.26.0.dist-info/RECORD +82 -0
- package/vendor/darwin-arm64/_internal/jsonschema-4.26.0.dist-info/WHEEL +4 -0
- package/vendor/darwin-arm64/_internal/jsonschema-4.26.0.dist-info/entry_points.txt +2 -0
- package/vendor/darwin-arm64/_internal/jsonschema-4.26.0.dist-info/licenses/COPYING +19 -0
- package/vendor/darwin-arm64/_internal/jsonschema_specifications/schemas/draft201909/metaschema.json +42 -0
- package/vendor/darwin-arm64/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/applicator +56 -0
- package/vendor/darwin-arm64/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/content +17 -0
- package/vendor/darwin-arm64/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/core +57 -0
- package/vendor/darwin-arm64/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/format +14 -0
- package/vendor/darwin-arm64/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/meta-data +37 -0
- package/vendor/darwin-arm64/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/validation +98 -0
- package/vendor/darwin-arm64/_internal/jsonschema_specifications/schemas/draft202012/metaschema.json +58 -0
- package/vendor/darwin-arm64/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/applicator +48 -0
- package/vendor/darwin-arm64/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/content +17 -0
- package/vendor/darwin-arm64/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/core +51 -0
- package/vendor/darwin-arm64/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/format-annotation +14 -0
- package/vendor/darwin-arm64/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/format-assertion +14 -0
- package/vendor/darwin-arm64/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/meta-data +37 -0
- package/vendor/darwin-arm64/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/unevaluated +15 -0
- package/vendor/darwin-arm64/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/validation +98 -0
- package/vendor/darwin-arm64/_internal/jsonschema_specifications/schemas/draft3/metaschema.json +172 -0
- package/vendor/darwin-arm64/_internal/jsonschema_specifications/schemas/draft4/metaschema.json +149 -0
- package/vendor/darwin-arm64/_internal/jsonschema_specifications/schemas/draft6/metaschema.json +153 -0
- package/vendor/darwin-arm64/_internal/jsonschema_specifications/schemas/draft7/metaschema.json +166 -0
- package/vendor/darwin-arm64/_internal/keyring-25.7.0.dist-info/INSTALLER +1 -0
- package/vendor/darwin-arm64/_internal/keyring-25.7.0.dist-info/METADATA +554 -0
- package/vendor/darwin-arm64/_internal/keyring-25.7.0.dist-info/RECORD +68 -0
- package/vendor/darwin-arm64/_internal/keyring-25.7.0.dist-info/REQUESTED +0 -0
- package/vendor/darwin-arm64/_internal/keyring-25.7.0.dist-info/WHEEL +5 -0
- package/vendor/darwin-arm64/_internal/keyring-25.7.0.dist-info/entry_points.txt +13 -0
- package/vendor/darwin-arm64/_internal/keyring-25.7.0.dist-info/licenses/LICENSE +18 -0
- package/vendor/darwin-arm64/_internal/keyring-25.7.0.dist-info/top_level.txt +1 -0
- package/vendor/darwin-arm64/_internal/libbz2.dylib +0 -0
- package/vendor/darwin-arm64/_internal/libcrypto.3.dylib +0 -0
- package/vendor/darwin-arm64/_internal/libexpat.1.dylib +0 -0
- package/vendor/darwin-arm64/_internal/libffi.8.dylib +0 -0
- package/vendor/darwin-arm64/_internal/liblzma.5.dylib +0 -0
- package/vendor/darwin-arm64/_internal/libncursesw.6.dylib +0 -0
- package/vendor/darwin-arm64/_internal/libpython3.12.dylib +0 -0
- package/vendor/darwin-arm64/_internal/libreadline.8.dylib +0 -0
- package/vendor/darwin-arm64/_internal/libssl.3.dylib +0 -0
- package/vendor/darwin-arm64/_internal/libtinfow.6.dylib +0 -0
- package/vendor/darwin-arm64/_internal/libz.1.dylib +0 -0
- package/vendor/darwin-arm64/_internal/mcp-1.27.0.dist-info/INSTALLER +1 -0
- package/vendor/darwin-arm64/_internal/mcp-1.27.0.dist-info/METADATA +230 -0
- package/vendor/darwin-arm64/_internal/mcp-1.27.0.dist-info/RECORD +227 -0
- package/vendor/darwin-arm64/_internal/mcp-1.27.0.dist-info/REQUESTED +0 -0
- package/vendor/darwin-arm64/_internal/mcp-1.27.0.dist-info/WHEEL +4 -0
- package/vendor/darwin-arm64/_internal/mcp-1.27.0.dist-info/entry_points.txt +2 -0
- package/vendor/darwin-arm64/_internal/mcp-1.27.0.dist-info/licenses/LICENSE +21 -0
- package/vendor/darwin-arm64/_internal/pydantic-2.13.0.dist-info/INSTALLER +1 -0
- package/vendor/darwin-arm64/_internal/pydantic-2.13.0.dist-info/METADATA +1249 -0
- package/vendor/darwin-arm64/_internal/pydantic-2.13.0.dist-info/RECORD +217 -0
- package/vendor/darwin-arm64/_internal/pydantic-2.13.0.dist-info/WHEEL +4 -0
- package/vendor/darwin-arm64/_internal/pydantic-2.13.0.dist-info/licenses/LICENSE +21 -0
- package/vendor/darwin-arm64/_internal/pydantic_core/_pydantic_core.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_asyncio.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_bisect.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_blake2.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_bz2.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_codecs_cn.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_codecs_hk.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_codecs_iso2022.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_codecs_jp.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_codecs_kr.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_codecs_tw.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_contextvars.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_csv.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_ctypes.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_datetime.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_decimal.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_hashlib.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_heapq.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_json.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_lzma.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_md5.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_multibytecodec.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_multiprocessing.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_opcode.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_pickle.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_posixshmem.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_posixsubprocess.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_queue.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_random.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_scproxy.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_sha1.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_sha2.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_sha3.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_socket.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_ssl.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_statistics.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_struct.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_uuid.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/_zoneinfo.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/array.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/binascii.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/fcntl.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/grp.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/math.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/mmap.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/pyexpat.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/readline.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/resource.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/select.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/syslog.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/termios.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/unicodedata.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/python3.12/lib-dynload/zlib.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/rpds/rpds.cpython-312-darwin.so +0 -0
- package/vendor/darwin-arm64/_internal/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/INSTALLER +1 -0
- package/vendor/darwin-arm64/_internal/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/METADATA +133 -0
- package/vendor/darwin-arm64/_internal/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/RECORD +21 -0
- package/vendor/darwin-arm64/_internal/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/REQUESTED +0 -0
- package/vendor/darwin-arm64/_internal/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/WHEEL +5 -0
- package/vendor/darwin-arm64/_internal/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/licenses/LICENSE +73 -0
- package/vendor/darwin-arm64/_internal/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/top_level.txt +1 -0
- package/vendor/darwin-arm64/_internal/setuptools/_vendor/jaraco/text/Lorem ipsum.txt +2 -0
- package/vendor/darwin-arm64/deltara +0 -0
package/bin/deltara.js
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Thin wrapper that spawns the platform-specific Deltara binary.
|
|
3
|
+
// The binary is pre-extracted (PyInstaller --onedir), so no System V
|
|
4
|
+
// semaphore is needed at runtime — works cleanly inside Codex sandbox.
|
|
5
|
+
|
|
6
|
+
const { spawn } = require("child_process");
|
|
7
|
+
const path = require("path");
|
|
8
|
+
const fs = require("fs");
|
|
9
|
+
const os = require("os");
|
|
10
|
+
|
|
11
|
+
// ── Resolve platform-specific binary ────────────────────────────────
|
|
12
|
+
const platform = os.platform(); // "darwin" or "win32"
|
|
13
|
+
const arch = os.arch(); // "arm64" or "x64"
|
|
14
|
+
const platformKey = `${platform}-${arch}`;
|
|
15
|
+
|
|
16
|
+
const binName = platform === "win32" ? "deltara.exe" : "deltara";
|
|
17
|
+
const binDir = path.join(__dirname, "..", "vendor", platformKey);
|
|
18
|
+
const binPath = path.join(binDir, binName);
|
|
19
|
+
|
|
20
|
+
if (!fs.existsSync(binPath)) {
|
|
21
|
+
console.error(`deltara: no binary available for ${platformKey}`);
|
|
22
|
+
console.error(`Supported platforms: darwin-arm64`);
|
|
23
|
+
console.error();
|
|
24
|
+
console.error(`If you're on an unsupported platform, install from source:`);
|
|
25
|
+
console.error(` pip install deltara`);
|
|
26
|
+
process.exit(1);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// ── Ensure binary is executable ─────────────────────────────────────
|
|
30
|
+
try {
|
|
31
|
+
fs.chmodSync(binPath, 0o755);
|
|
32
|
+
} catch (_) {
|
|
33
|
+
// May fail on read-only filesystems — binary should already be +x
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// ── Spawn the binary ────────────────────────────────────────────────
|
|
37
|
+
const child = spawn(binPath, process.argv.slice(2), {
|
|
38
|
+
stdio: "inherit",
|
|
39
|
+
env: process.env,
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
child.on("error", (err) => {
|
|
43
|
+
if (err.code === "EACCES") {
|
|
44
|
+
console.error(`deltara: permission denied — try: chmod +x "${binPath}"`);
|
|
45
|
+
} else {
|
|
46
|
+
console.error(`deltara: failed to start — ${err.message}`);
|
|
47
|
+
}
|
|
48
|
+
process.exit(1);
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
child.on("exit", (code, signal) => {
|
|
52
|
+
if (signal) {
|
|
53
|
+
process.kill(process.pid, signal);
|
|
54
|
+
} else {
|
|
55
|
+
process.exit(code ?? 1);
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
// ── Forward signals to child process ────────────────────────────────
|
|
60
|
+
for (const sig of ["SIGTERM", "SIGINT", "SIGHUP"]) {
|
|
61
|
+
process.on(sig, () => child.kill(sig));
|
|
62
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "deltara",
|
|
3
|
+
"version": "0.4.15",
|
|
4
|
+
"description": "Multi-agent research pipelines \u2014 run deep research from your terminal",
|
|
5
|
+
"bin": {
|
|
6
|
+
"deltara": "bin/deltara.js"
|
|
7
|
+
},
|
|
8
|
+
"os": [
|
|
9
|
+
"darwin"
|
|
10
|
+
],
|
|
11
|
+
"cpu": [
|
|
12
|
+
"arm64"
|
|
13
|
+
],
|
|
14
|
+
"keywords": [
|
|
15
|
+
"ai",
|
|
16
|
+
"research",
|
|
17
|
+
"pipelines",
|
|
18
|
+
"multi-agent",
|
|
19
|
+
"mcp"
|
|
20
|
+
],
|
|
21
|
+
"license": "UNLICENSED",
|
|
22
|
+
"homepage": "https://deltara.ai",
|
|
23
|
+
"files": [
|
|
24
|
+
"bin/",
|
|
25
|
+
"vendor/"
|
|
26
|
+
],
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=18"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
pip
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: attrs
|
|
3
|
+
Version: 26.1.0
|
|
4
|
+
Summary: Classes Without Boilerplate
|
|
5
|
+
Project-URL: Documentation, https://www.attrs.org/
|
|
6
|
+
Project-URL: Changelog, https://www.attrs.org/en/stable/changelog.html
|
|
7
|
+
Project-URL: GitHub, https://github.com/python-attrs/attrs
|
|
8
|
+
Project-URL: Funding, https://github.com/sponsors/hynek
|
|
9
|
+
Project-URL: Tidelift, https://tidelift.com/subscription/pkg/pypi-attrs?utm_source=pypi-attrs&utm_medium=pypi
|
|
10
|
+
Author-email: Hynek Schlawack <hs@ox.cx>
|
|
11
|
+
License-Expression: MIT
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Keywords: attribute,boilerplate,class
|
|
14
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
21
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
22
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
23
|
+
Classifier: Typing :: Typed
|
|
24
|
+
Requires-Python: >=3.9
|
|
25
|
+
Description-Content-Type: text/markdown
|
|
26
|
+
|
|
27
|
+
<p align="center">
|
|
28
|
+
<a href="https://www.attrs.org/">
|
|
29
|
+
<img src="https://raw.githubusercontent.com/python-attrs/attrs/main/docs/_static/attrs_logo.svg" width="35%" alt="attrs" />
|
|
30
|
+
</a>
|
|
31
|
+
</p>
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
*attrs* is the Python package that will bring back the **joy** of **writing classes** by relieving you from the drudgery of implementing object protocols (aka [dunder methods](https://www.attrs.org/en/latest/glossary.html#term-dunder-methods)).
|
|
35
|
+
Trusted by NASA for [Mars missions since 2020](https://github.com/readme/featured/nasa-ingenuity-helicopter)!
|
|
36
|
+
|
|
37
|
+
Its main goal is to help you to write **concise** and **correct** software without slowing down your code.
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
## Sponsors
|
|
41
|
+
|
|
42
|
+
*attrs* would not be possible without our [amazing sponsors](https://github.com/sponsors/hynek).
|
|
43
|
+
Especially those generously supporting us at the *The Organization* tier and higher:
|
|
44
|
+
|
|
45
|
+
<!-- sponsor-break-begin -->
|
|
46
|
+
|
|
47
|
+
<p align="center">
|
|
48
|
+
|
|
49
|
+
<!-- [[[cog
|
|
50
|
+
import pathlib, tomllib
|
|
51
|
+
|
|
52
|
+
for sponsor in tomllib.loads(pathlib.Path("pyproject.toml").read_text())["tool"]["sponcon"]["sponsors"]:
|
|
53
|
+
print(f'<a href="{sponsor["url"]}"><img title="{sponsor["title"]}" src="https://www.attrs.org/en/26.1.0/_static/sponsors/{sponsor["img"]}" width="190" /></a>')
|
|
54
|
+
]]] -->
|
|
55
|
+
<a href="https://www.variomedia.de/"><img title="Variomedia AG" src="https://www.attrs.org/en/26.1.0/_static/sponsors/Variomedia.svg" width="190" /></a>
|
|
56
|
+
<a href="https://tidelift.com/?utm_source=lifter&utm_medium=referral&utm_campaign=hynek"><img title="Tidelift" src="https://www.attrs.org/en/26.1.0/_static/sponsors/Tidelift.svg" width="190" /></a>
|
|
57
|
+
<a href="https://kraken.tech/"><img title="Kraken Tech" src="https://www.attrs.org/en/26.1.0/_static/sponsors/Kraken.svg" width="190" /></a>
|
|
58
|
+
<a href="https://privacy-solutions.org/"><img title="Privacy Solutions" src="https://www.attrs.org/en/26.1.0/_static/sponsors/Privacy-Solutions.svg" width="190" /></a>
|
|
59
|
+
<a href="https://filepreviews.io/"><img title="FilePreviews" src="https://www.attrs.org/en/26.1.0/_static/sponsors/FilePreviews.svg" width="190" /></a>
|
|
60
|
+
<a href="https://www.testmuai.com/?utm_medium=sponsor&utm_source=structlog"><img title="TestMu AI" src="https://www.attrs.org/en/26.1.0/_static/sponsors/TestMu-AI.svg" width="190" /></a>
|
|
61
|
+
<a href="https://polar.sh/"><img title="Polar" src="https://www.attrs.org/en/26.1.0/_static/sponsors/Polar.svg" width="190" /></a>
|
|
62
|
+
<!-- [[[end]]] -->
|
|
63
|
+
|
|
64
|
+
</p>
|
|
65
|
+
|
|
66
|
+
<!-- sponsor-break-end -->
|
|
67
|
+
|
|
68
|
+
<p align="center">
|
|
69
|
+
<strong>Please consider <a href="https://github.com/sponsors/hynek">joining them</a> to help make <em>attrs</em>’s maintenance more sustainable!</strong>
|
|
70
|
+
</p>
|
|
71
|
+
|
|
72
|
+
<!-- teaser-end -->
|
|
73
|
+
|
|
74
|
+
## Example
|
|
75
|
+
|
|
76
|
+
*attrs* gives you a class decorator and a way to declaratively define the attributes on that class:
|
|
77
|
+
|
|
78
|
+
<!-- code-begin -->
|
|
79
|
+
|
|
80
|
+
```pycon
|
|
81
|
+
>>> from attrs import asdict, define, make_class, Factory
|
|
82
|
+
|
|
83
|
+
>>> @define
|
|
84
|
+
... class SomeClass:
|
|
85
|
+
... a_number: int = 42
|
|
86
|
+
... list_of_numbers: list[int] = Factory(list)
|
|
87
|
+
...
|
|
88
|
+
... def hard_math(self, another_number):
|
|
89
|
+
... return self.a_number + sum(self.list_of_numbers) * another_number
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
>>> sc = SomeClass(1, [1, 2, 3])
|
|
93
|
+
>>> sc
|
|
94
|
+
SomeClass(a_number=1, list_of_numbers=[1, 2, 3])
|
|
95
|
+
|
|
96
|
+
>>> sc.hard_math(3)
|
|
97
|
+
19
|
|
98
|
+
>>> sc == SomeClass(1, [1, 2, 3])
|
|
99
|
+
True
|
|
100
|
+
>>> sc != SomeClass(2, [3, 2, 1])
|
|
101
|
+
True
|
|
102
|
+
|
|
103
|
+
>>> asdict(sc)
|
|
104
|
+
{'a_number': 1, 'list_of_numbers': [1, 2, 3]}
|
|
105
|
+
|
|
106
|
+
>>> SomeClass()
|
|
107
|
+
SomeClass(a_number=42, list_of_numbers=[])
|
|
108
|
+
|
|
109
|
+
>>> C = make_class("C", ["a", "b"])
|
|
110
|
+
>>> C("foo", "bar")
|
|
111
|
+
C(a='foo', b='bar')
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
After *declaring* your attributes, *attrs* gives you:
|
|
115
|
+
|
|
116
|
+
- a concise and explicit overview of the class's attributes,
|
|
117
|
+
- a nice human-readable `__repr__`,
|
|
118
|
+
- equality-checking methods,
|
|
119
|
+
- an initializer,
|
|
120
|
+
- and much more,
|
|
121
|
+
|
|
122
|
+
*without* writing dull boilerplate code again and again and *without* runtime performance penalties.
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
This example uses *attrs*'s modern APIs that have been introduced in version 20.1.0, and the *attrs* package import name that has been added in version 21.3.0.
|
|
127
|
+
The classic APIs (`@attr.s`, `attr.ib`, plus their serious-business aliases) and the `attr` package import name will remain **indefinitely**.
|
|
128
|
+
|
|
129
|
+
Check out [*On The Core API Names*](https://www.attrs.org/en/latest/names.html) for an in-depth explanation!
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
### Hate Type Annotations!?
|
|
133
|
+
|
|
134
|
+
No problem!
|
|
135
|
+
Types are entirely **optional** with *attrs*.
|
|
136
|
+
Simply assign `attrs.field()` to the attributes instead of annotating them with types:
|
|
137
|
+
|
|
138
|
+
```python
|
|
139
|
+
from attrs import define, field
|
|
140
|
+
|
|
141
|
+
@define
|
|
142
|
+
class SomeClass:
|
|
143
|
+
a_number = field(default=42)
|
|
144
|
+
list_of_numbers = field(factory=list)
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
## Data Classes
|
|
149
|
+
|
|
150
|
+
On the tin, *attrs* might remind you of `dataclasses` (and indeed, `dataclasses` [are a descendant](https://hynek.me/articles/import-attrs/) of *attrs*).
|
|
151
|
+
In practice it does a lot more and is more flexible.
|
|
152
|
+
For instance, it allows you to define [special handling of NumPy arrays for equality checks](https://www.attrs.org/en/stable/comparison.html#customization), allows more ways to [plug into the initialization process](https://www.attrs.org/en/stable/init.html#hooking-yourself-into-initialization), has a replacement for `__init_subclass__`, and allows for stepping through the generated methods using a debugger.
|
|
153
|
+
|
|
154
|
+
For more details, please refer to our [comparison page](https://www.attrs.org/en/stable/why.html#data-classes), but generally speaking, we are more likely to commit crimes against nature to make things work that one would expect to work, but that are quite complicated in practice.
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
## Project Information
|
|
158
|
+
|
|
159
|
+
- [**Changelog**](https://www.attrs.org/en/stable/changelog.html)
|
|
160
|
+
- [**Documentation**](https://www.attrs.org/)
|
|
161
|
+
- [**PyPI**](https://pypi.org/project/attrs/)
|
|
162
|
+
- [**Source Code**](https://github.com/python-attrs/attrs)
|
|
163
|
+
- [**Contributing**](https://github.com/python-attrs/attrs/blob/main/.github/CONTRIBUTING.md)
|
|
164
|
+
- [**Third-party Extensions**](https://github.com/python-attrs/attrs/wiki/Extensions-to-attrs)
|
|
165
|
+
- **Get Help**: use the `python-attrs` tag on [Stack Overflow](https://stackoverflow.com/questions/tagged/python-attrs)
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
### *attrs* for Enterprise
|
|
169
|
+
|
|
170
|
+
Available as part of the [Tidelift Subscription](https://tidelift.com/?utm_source=lifter&utm_medium=referral&utm_campaign=hynek).
|
|
171
|
+
|
|
172
|
+
The maintainers of *attrs* and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications.
|
|
173
|
+
Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use.
|
|
174
|
+
|
|
175
|
+
## Release Information
|
|
176
|
+
|
|
177
|
+
### Backwards-incompatible Changes
|
|
178
|
+
|
|
179
|
+
- Field aliases are now resolved *before* calling `field_transformer`, so transformers receive fully populated `Attribute` objects with usable `alias` values instead of `None`.
|
|
180
|
+
The new `Attribute.alias_is_default` flag indicates whether the alias was auto-generated (`True`) or explicitly set by the user (`False`).
|
|
181
|
+
[#1509](https://github.com/python-attrs/attrs/issues/1509)
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
### Changes
|
|
185
|
+
|
|
186
|
+
- Fix type annotations for `attrs.validators.optional()`, so it no longer rejects tuples with more than one validator.
|
|
187
|
+
[#1496](https://github.com/python-attrs/attrs/issues/1496)
|
|
188
|
+
- The `attrs.validators.disabled()` contextmanager can now be nested.
|
|
189
|
+
[#1513](https://github.com/python-attrs/attrs/issues/1513)
|
|
190
|
+
- Frozen classes can set `on_setattr=attrs.setters.NO_OP` in addition to `None`.
|
|
191
|
+
[#1515](https://github.com/python-attrs/attrs/issues/1515)
|
|
192
|
+
- It's now possible to pass *attrs* **instances** in addition to *attrs* **classes** to `attrs.fields()`.
|
|
193
|
+
[#1529](https://github.com/python-attrs/attrs/issues/1529)
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
---
|
|
198
|
+
|
|
199
|
+
[Full changelog →](https://www.attrs.org/en/stable/changelog.html)
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
attr/__init__.py,sha256=fOYIvt1eGSqQre4uCS3sJWKZ0mwAuC8UD6qba5OS9_U,2057
|
|
2
|
+
attr/__init__.pyi,sha256=pVGImAUVovq2_TYl_r_HIYnGlyOaoCuEhxo-EvsnnSc,11325
|
|
3
|
+
attr/__pycache__/__init__.cpython-312.pyc,,
|
|
4
|
+
attr/__pycache__/_cmp.cpython-312.pyc,,
|
|
5
|
+
attr/__pycache__/_compat.cpython-312.pyc,,
|
|
6
|
+
attr/__pycache__/_config.cpython-312.pyc,,
|
|
7
|
+
attr/__pycache__/_funcs.cpython-312.pyc,,
|
|
8
|
+
attr/__pycache__/_make.cpython-312.pyc,,
|
|
9
|
+
attr/__pycache__/_next_gen.cpython-312.pyc,,
|
|
10
|
+
attr/__pycache__/_version_info.cpython-312.pyc,,
|
|
11
|
+
attr/__pycache__/converters.cpython-312.pyc,,
|
|
12
|
+
attr/__pycache__/exceptions.cpython-312.pyc,,
|
|
13
|
+
attr/__pycache__/filters.cpython-312.pyc,,
|
|
14
|
+
attr/__pycache__/setters.cpython-312.pyc,,
|
|
15
|
+
attr/__pycache__/validators.cpython-312.pyc,,
|
|
16
|
+
attr/_cmp.py,sha256=3Nn1TjxllUYiX_nJoVnEkXoDk0hM1DYKj5DE7GZe4i0,4117
|
|
17
|
+
attr/_cmp.pyi,sha256=U-_RU_UZOyPUEQzXE6RMYQQcjkZRY25wTH99sN0s7MM,368
|
|
18
|
+
attr/_compat.py,sha256=x0g7iEUOnBVJC72zyFCgb1eKqyxS-7f2LGnNyZ_r95s,2829
|
|
19
|
+
attr/_config.py,sha256=dGq3xR6fgZEF6UBt_L0T-eUHIB4i43kRmH0P28sJVw8,843
|
|
20
|
+
attr/_funcs.py,sha256=Ix5IETTfz5F01F-12MF_CSFomIn2h8b67EVVz2gCtBE,16479
|
|
21
|
+
attr/_make.py,sha256=H7OH2eWS5CnBzLUjNFE1WymfPrmF1r8fv2RPdt9MuYA,106129
|
|
22
|
+
attr/_next_gen.py,sha256=BQtCUlzwg2gWHTYXBQvrEYBnzBUrDvO57u0Py6UCPhc,26274
|
|
23
|
+
attr/_typing_compat.pyi,sha256=XDP54TUn-ZKhD62TOQebmzrwFyomhUCoGRpclb6alRA,469
|
|
24
|
+
attr/_version_info.py,sha256=w4R-FYC3NK_kMkGUWJlYP4cVAlH9HRaC-um3fcjYkHM,2222
|
|
25
|
+
attr/_version_info.pyi,sha256=x_M3L3WuB7r_ULXAWjx959udKQ4HLB8l-hsc1FDGNvk,209
|
|
26
|
+
attr/converters.py,sha256=GlDeOzPeTFgeBBLbj9G57Ez5lAk68uhSALRYJ_exe84,3861
|
|
27
|
+
attr/converters.pyi,sha256=orU2bff-VjQa2kMDyvnMQV73oJT2WRyQuw4ZR1ym1bE,643
|
|
28
|
+
attr/exceptions.py,sha256=b4vMbnoQ3VpwWZhqrYi_ssXVCK8o2c4HQSS09cSUM9o,1990
|
|
29
|
+
attr/exceptions.pyi,sha256=zZq8bCUnKAy9mDtBEw42ZhPhAUIHoTKedDQInJD883M,539
|
|
30
|
+
attr/filters.py,sha256=ZBiKWLp3R0LfCZsq7X11pn9WX8NslS2wXM4jsnLOGc8,1795
|
|
31
|
+
attr/filters.pyi,sha256=3J5BG-dTxltBk1_-RuNRUHrv2qu1v8v4aDNAQ7_mifA,208
|
|
32
|
+
attr/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
33
|
+
attr/setters.py,sha256=5-dcT63GQK35ONEzSgfXCkbB7pPkaR-qv15mm4PVSzQ,1617
|
|
34
|
+
attr/setters.pyi,sha256=NnVkaFU1BB4JB8E4JuXyrzTUgvtMpj8p3wBdJY7uix4,584
|
|
35
|
+
attr/validators.py,sha256=m3QRzZTANr4f2C4eVdUoFg11NgXWak8Wat4qQTGhvcs,21553
|
|
36
|
+
attr/validators.pyi,sha256=gM1ZmHaBckyYWI2EirpRNzqm3B19cw5Iq6B4Kno9YCM,4087
|
|
37
|
+
attrs-26.1.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
|
38
|
+
attrs-26.1.0.dist-info/METADATA,sha256=TNQOaQ8jvzfLytNO_WdY4GLfHfB8hoM_fjzpW_H6OMw,8754
|
|
39
|
+
attrs-26.1.0.dist-info/RECORD,,
|
|
40
|
+
attrs-26.1.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
|
|
41
|
+
attrs-26.1.0.dist-info/licenses/LICENSE,sha256=iCEVyV38KvHutnFPjsbVy8q_Znyv-HKfQkINpj9xTp8,1109
|
|
42
|
+
attrs/__init__.py,sha256=RxaAZNwYiEh-fcvHLZNpQ_DWKni73M_jxEPEftiq1Zc,1183
|
|
43
|
+
attrs/__init__.pyi,sha256=2gV79g9UxJppGSM48hAZJ6h_MHb70dZoJL31ZNJeZYI,9416
|
|
44
|
+
attrs/__pycache__/__init__.cpython-312.pyc,,
|
|
45
|
+
attrs/__pycache__/converters.cpython-312.pyc,,
|
|
46
|
+
attrs/__pycache__/exceptions.cpython-312.pyc,,
|
|
47
|
+
attrs/__pycache__/filters.cpython-312.pyc,,
|
|
48
|
+
attrs/__pycache__/setters.cpython-312.pyc,,
|
|
49
|
+
attrs/__pycache__/validators.cpython-312.pyc,,
|
|
50
|
+
attrs/converters.py,sha256=8kQljrVwfSTRu8INwEk8SI0eGrzmWftsT7rM0EqyohM,76
|
|
51
|
+
attrs/exceptions.py,sha256=ACCCmg19-vDFaDPY9vFl199SPXCQMN_bENs4DALjzms,76
|
|
52
|
+
attrs/filters.py,sha256=VOUMZug9uEU6dUuA0dF1jInUK0PL3fLgP0VBS5d-CDE,73
|
|
53
|
+
attrs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
54
|
+
attrs/setters.py,sha256=eL1YidYQV3T2h9_SYIZSZR1FAcHGb1TuCTy0E0Lv2SU,73
|
|
55
|
+
attrs/validators.py,sha256=xcy6wD5TtTkdCG1f4XWbocPSO0faBjk5IfVJfP6SUj0,76
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2015 Hynek Schlawack and the attrs contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
Binary file
|