pythonlib 2.0.2 → 2.0.4
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/dist/{base64-C_am75Sv.d.ts → base64-Ch3SvVHp.d.ts} +1 -1
- package/dist/base64.d.ts +1 -1
- package/dist/{chunk-DJNTUOA7.js → chunk-AOCLIDO7.js} +110 -1
- package/dist/{datetime-BM_IjhTq.d.ts → datetime-dfkyxio1.d.ts} +1 -1
- package/dist/datetime.d.ts +1 -1
- package/dist/{functools-uIa5g75p.d.ts → functools-C7C9PIJR.d.ts} +1 -1
- package/dist/functools.d.ts +1 -1
- package/dist/{hashlib-vKP511NY.d.ts → hashlib-BHp9_w-x.d.ts} +1 -1
- package/dist/hashlib.d.ts +1 -1
- package/dist/index.browser.d.ts +28 -49
- package/dist/index.browser.js +4 -1
- package/dist/index.d.ts +29 -49
- package/dist/index.js +7 -1
- package/dist/{itertools-T0rwOk2j.d.ts → itertools-085TpcnG.d.ts} +1 -1
- package/dist/itertools.d.ts +1 -1
- package/dist/{json-DoWhX04T.d.ts → json-DepFELwX.d.ts} +1 -1
- package/dist/json.d.ts +1 -1
- package/dist/{logging.browser-Dux4L5kz.d.ts → logging.browser-LLK6Y-w8.d.ts} +1 -1
- package/dist/logging.browser.d.ts +1 -1
- package/dist/{logging.node-CH75bVdE.d.ts → logging.node-7eQZ6s64.d.ts} +1 -1
- package/dist/logging.node.d.ts +1 -1
- package/dist/{math-D2NPMc-x.d.ts → math-BUfHKeRA.d.ts} +1 -1
- package/dist/math.d.ts +1 -1
- package/dist/{os.browser-krjSx5kF.d.ts → os.browser-DDshIAiX.d.ts} +1 -1
- package/dist/os.browser.d.ts +1 -1
- package/dist/{os.node-CQjch8Ht.d.ts → os.node-CjCzDKEH.d.ts} +1 -1
- package/dist/os.node.d.ts +1 -1
- package/dist/{pathlib.browser-NC7kKQYe.d.ts → pathlib.browser-CjH1nQOz.d.ts} +1 -1
- package/dist/pathlib.browser.d.ts +1 -1
- package/dist/{pathlib.node-CY3yUFdT.d.ts → pathlib.node-DxupXzwM.d.ts} +1 -1
- package/dist/pathlib.node.d.ts +1 -1
- package/dist/{random-DcS5jtEs.d.ts → random-BAySZc0L.d.ts} +1 -1
- package/dist/random.d.ts +1 -1
- package/dist/{re-Bo-IOqov.d.ts → re-BftOeOtV.d.ts} +1 -1
- package/dist/re.d.ts +1 -1
- package/dist/{set-JQbLAq8B.d.ts → set-50ejV2Th.d.ts} +48 -1
- package/dist/{shutil.browser-Ck5oWhnP.d.ts → shutil.browser-B2KrZkmH.d.ts} +1 -1
- package/dist/shutil.browser.d.ts +1 -1
- package/dist/{shutil.node-C9kwvhAf.d.ts → shutil.node-CfPOk808.d.ts} +1 -1
- package/dist/shutil.node.d.ts +1 -1
- package/dist/{subprocess-CZVYzQ3V.d.ts → subprocess-CUhlCuFz.d.ts} +1 -1
- package/dist/subprocess.d.ts +1 -1
- package/dist/{sys-IL8LgI_W.d.ts → sys-DpAIb7RU.d.ts} +1 -1
- package/dist/sys.d.ts +1 -1
- package/dist/{tempfile.browser-DciOKfNm.d.ts → tempfile.browser-BOdaZiHa.d.ts} +1 -1
- package/dist/tempfile.browser.d.ts +1 -1
- package/dist/{tempfile.node-bVMY60Cu.d.ts → tempfile.node-BER62KAg.d.ts} +1 -1
- package/dist/tempfile.node.d.ts +1 -1
- package/dist/{time-CcYhdiSu.d.ts → time-dt9y-xi6.d.ts} +1 -1
- package/dist/time.d.ts +1 -1
- package/dist/{urllib-DJtkj-0f.d.ts → urllib-C4RRgWck.d.ts} +1 -1
- package/dist/urllib.d.ts +1 -1
- package/dist/{uuid-C0ypmn56.d.ts → uuid-Bu-VlGLA.d.ts} +1 -1
- package/dist/uuid.d.ts +1 -1
- package/package.json +1 -1
|
@@ -162,4 +162,4 @@ declare namespace base64Module {
|
|
|
162
162
|
export { base64Module_a85decode as a85decode, base64Module_a85encode as a85encode, base64Module_b16decode as b16decode, base64Module_b16encode as b16encode, base64Module_b32decode as b32decode, base64Module_b32encode as b32encode, base64Module_b64decode as b64decode, base64Module_b64encode as b64encode, base64Module_b85decode as b85decode, base64Module_b85encode as b85encode, base64Module_decodeString as decodeString, base64Module_encodeString as encodeString, base64Module_standardB64decode as standardB64decode, base64Module_standardB64encode as standardB64encode, base64Module_urlsafeB64decode as urlsafeB64decode, base64Module_urlsafeB64encode as urlsafeB64encode };
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
export {
|
|
165
|
+
export { a85decode as a, base64Module as b, a85encode as c, b16decode as d, b16encode as e, b32decode as f, b32encode as g, b64decode as h, b64encode as i, b85decode as j, b85encode as k, decodeString as l, encodeString as m, standardB64encode as n, urlsafeB64encode as o, standardB64decode as s, urlsafeB64decode as u };
|
package/dist/base64.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { a as a85decode, c as a85encode, d as b16decode, e as b16encode, f as b32decode, g as b32encode, h as b64decode, i as b64encode, j as b85decode, k as b85encode, l as decodeString, m as encodeString, s as standardB64decode, n as standardB64encode, u as urlsafeB64decode, o as urlsafeB64encode } from './base64-Ch3SvVHp.js';
|
|
@@ -673,6 +673,7 @@ function setattr(obj, name, value) {
|
|
|
673
673
|
;
|
|
674
674
|
obj[name] = value;
|
|
675
675
|
}
|
|
676
|
+
var Ellipsis = /* @__PURE__ */ Symbol.for("python.Ellipsis");
|
|
676
677
|
|
|
677
678
|
// src/list.ts
|
|
678
679
|
var list2 = {
|
|
@@ -1052,6 +1053,112 @@ var set2 = {
|
|
|
1052
1053
|
}
|
|
1053
1054
|
};
|
|
1054
1055
|
|
|
1056
|
+
// src/ndarray.ts
|
|
1057
|
+
function slice2(start, stop, step) {
|
|
1058
|
+
return { start, stop, step };
|
|
1059
|
+
}
|
|
1060
|
+
function set3(arr, indices, value) {
|
|
1061
|
+
if (indices.length === 0) {
|
|
1062
|
+
return;
|
|
1063
|
+
}
|
|
1064
|
+
const firstIndex = indices[0];
|
|
1065
|
+
const remainingIndices = indices.slice(1);
|
|
1066
|
+
if (typeof firstIndex === "object") {
|
|
1067
|
+
const start = firstIndex.start ?? 0;
|
|
1068
|
+
const stop = firstIndex.stop ?? arr.length;
|
|
1069
|
+
const step = firstIndex.step ?? 1;
|
|
1070
|
+
for (let i = start; i < stop; i += step) {
|
|
1071
|
+
const row = arr[i];
|
|
1072
|
+
if (row !== void 0) {
|
|
1073
|
+
if (remainingIndices.length === 0) {
|
|
1074
|
+
if (Array.isArray(value)) {
|
|
1075
|
+
arr[i] = value;
|
|
1076
|
+
}
|
|
1077
|
+
} else {
|
|
1078
|
+
setRow(row, remainingIndices, value);
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
}
|
|
1082
|
+
} else if (typeof firstIndex === "number") {
|
|
1083
|
+
const row = arr[firstIndex];
|
|
1084
|
+
if (row !== void 0) {
|
|
1085
|
+
if (remainingIndices.length === 0) {
|
|
1086
|
+
if (Array.isArray(value)) {
|
|
1087
|
+
arr[firstIndex] = value;
|
|
1088
|
+
}
|
|
1089
|
+
} else {
|
|
1090
|
+
setRow(row, remainingIndices, value);
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
} else {
|
|
1094
|
+
for (let i = 0; i < arr.length; i++) {
|
|
1095
|
+
const row = arr[i];
|
|
1096
|
+
if (row !== void 0) {
|
|
1097
|
+
if (remainingIndices.length === 0) {
|
|
1098
|
+
if (Array.isArray(value)) {
|
|
1099
|
+
arr[i] = value;
|
|
1100
|
+
}
|
|
1101
|
+
} else {
|
|
1102
|
+
setRow(row, remainingIndices, value);
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
function broadcastScalar(row, value, start, stop, step) {
|
|
1109
|
+
for (let i = start; i < stop; i += step) {
|
|
1110
|
+
row[i] = value;
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
function setRow(row, indices, value) {
|
|
1114
|
+
if (indices.length === 0) {
|
|
1115
|
+
return;
|
|
1116
|
+
}
|
|
1117
|
+
const firstIndex = indices[0];
|
|
1118
|
+
const remainingIndices = indices.slice(1);
|
|
1119
|
+
if (typeof firstIndex === "object") {
|
|
1120
|
+
const start = firstIndex.start ?? 0;
|
|
1121
|
+
const stop = firstIndex.stop ?? row.length;
|
|
1122
|
+
const step = firstIndex.step ?? 1;
|
|
1123
|
+
if (remainingIndices.length === 0) {
|
|
1124
|
+
if (Array.isArray(value)) {
|
|
1125
|
+
let valueIdx = 0;
|
|
1126
|
+
const valueArr = value;
|
|
1127
|
+
for (let i = start; i < stop; i += step) {
|
|
1128
|
+
const val = valueArr[valueIdx++];
|
|
1129
|
+
if (val !== void 0) {
|
|
1130
|
+
row[i] = val;
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
} else {
|
|
1134
|
+
broadcastScalar(row, value, start, stop, step);
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
} else if (typeof firstIndex === "number") {
|
|
1138
|
+
if (remainingIndices.length === 0) {
|
|
1139
|
+
row[firstIndex] = value;
|
|
1140
|
+
}
|
|
1141
|
+
} else {
|
|
1142
|
+
if (remainingIndices.length === 0) {
|
|
1143
|
+
if (Array.isArray(value)) {
|
|
1144
|
+
const valueArr = value;
|
|
1145
|
+
for (let i = 0; i < row.length && i < valueArr.length; i++) {
|
|
1146
|
+
const val = valueArr[i];
|
|
1147
|
+
if (val !== void 0) {
|
|
1148
|
+
row[i] = val;
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
} else {
|
|
1152
|
+
broadcastScalar(row, value, 0, row.length, 1);
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
var ndarray = {
|
|
1158
|
+
set: set3,
|
|
1159
|
+
slice: slice2
|
|
1160
|
+
};
|
|
1161
|
+
|
|
1055
1162
|
export {
|
|
1056
1163
|
floorDiv,
|
|
1057
1164
|
pow,
|
|
@@ -1102,8 +1209,10 @@ export {
|
|
|
1102
1209
|
getattr,
|
|
1103
1210
|
hasattr,
|
|
1104
1211
|
setattr,
|
|
1212
|
+
Ellipsis,
|
|
1105
1213
|
list2,
|
|
1106
1214
|
dict2,
|
|
1107
|
-
set2
|
|
1215
|
+
set2,
|
|
1216
|
+
ndarray
|
|
1108
1217
|
};
|
|
1109
1218
|
/* v8 ignore next -- fallback for unrecognized format types @preserve */
|
|
@@ -140,4 +140,4 @@ declare namespace datetimeModule {
|
|
|
140
140
|
export { datetimeModule_MAXYEAR as MAXYEAR, datetimeModule_MINYEAR as MINYEAR, datetimeModule_date as date, datetimeModule_datetime as datetime, datetimeModule_strftime as strftime, datetimeModule_strptime as strptime, datetimeModule_time as time, datetimeModule_timedelta as timedelta };
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
export {
|
|
143
|
+
export { MAXYEAR as M, MINYEAR as a, date as b, datetime as c, datetimeModule as d, strptime as e, timedelta as f, strftime as s, time as t };
|
package/dist/datetime.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { M as MAXYEAR, a as MINYEAR, b as date, c as datetime, s as strftime, e as strptime, t as time, f as timedelta } from './datetime-dfkyxio1.js';
|
|
@@ -140,4 +140,4 @@ declare namespace functoolsModule {
|
|
|
140
140
|
export { functoolsModule_attrGetter as attrGetter, functoolsModule_cache as cache, functoolsModule_cmpToKey as cmpToKey, functoolsModule_identity as identity, functoolsModule_itemGetter as itemGetter, functoolsModule_lruCache as lruCache, functoolsModule_methodCaller as methodCaller, functoolsModule_partial as partial, functoolsModule_partialMethod as partialMethod, functoolsModule_pipe as pipe, functoolsModule_reduce as reduce, functoolsModule_singleDispatch as singleDispatch, functoolsModule_totalOrdering as totalOrdering, functoolsModule_wraps as wraps };
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
export {
|
|
143
|
+
export { attrGetter as a, cmpToKey as b, cache as c, itemGetter as d, partialMethod as e, functoolsModule as f, pipe as g, identity as i, lruCache as l, methodCaller as m, partial as p, reduce as r, singleDispatch as s, totalOrdering as t, wraps as w };
|
package/dist/functools.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { a as attrGetter, c as cache, b as cmpToKey, i as identity, d as itemGetter, l as lruCache, m as methodCaller, p as partial, e as partialMethod, g as pipe, r as reduce, s as singleDispatch, t as totalOrdering, w as wraps } from './functools-C7C9PIJR.js';
|
|
@@ -202,4 +202,4 @@ declare namespace hashlibModule {
|
|
|
202
202
|
export { type hashlibModule_HashObject as HashObject, hashlibModule_algorithmsAvailable as algorithmsAvailable, hashlibModule_algorithmsGuaranteed as algorithmsGuaranteed, hashlibModule_blake2b as blake2b, hashlibModule_blake2s as blake2s, hashlibModule_compareDigest as compareDigest, hashlibModule_fileDigest as fileDigest, hashlibModule_md5 as md5, hashlibModule_newHash as newHash, hashlibModule_pbkdf2Hmac as pbkdf2Hmac, hashlibModule_scrypt as scrypt, hashlibModule_sha1 as sha1, hashlibModule_sha224 as sha224, hashlibModule_sha256 as sha256, hashlibModule_sha384 as sha384, hashlibModule_sha3_256 as sha3_256, hashlibModule_sha3_512 as sha3_512, hashlibModule_sha512 as sha512 };
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
export { type HashObject as H,
|
|
205
|
+
export { type HashObject as H, algorithmsAvailable as a, algorithmsGuaranteed as b, blake2b as c, blake2s as d, compareDigest as e, fileDigest as f, sha1 as g, hashlibModule as h, sha224 as i, sha256 as j, sha384 as k, sha3_256 as l, md5 as m, newHash as n, sha3_512 as o, pbkdf2Hmac as p, sha512 as q, scrypt as s };
|
package/dist/hashlib.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { H as HashObject,
|
|
1
|
+
export { H as HashObject, a as algorithmsAvailable, b as algorithmsGuaranteed, c as blake2b, d as blake2s, e as compareDigest, f as fileDigest, m as md5, n as newHash, p as pbkdf2Hmac, s as scrypt, g as sha1, i as sha224, j as sha256, k as sha384, l as sha3_256, o as sha3_512, q as sha512 } from './hashlib-BHp9_w-x.js';
|
package/dist/index.browser.d.ts
CHANGED
|
@@ -1,55 +1,30 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
|
|
1
|
+
import { a as abs$1, b as all$1, c as any$1, d as ascii$1, e as at$1, f as bin$1, g as bool$1, h as chr$1, i as contains$1, j as dict$1, k as divMod$1, l as enumerate$1, m as filter$1, n as float$1, o as floorDiv$1, p as format$1, q as getattr$1, r as hasattr$1, s as hex$1, t as input$1, u as int$1, v as is$1, w as isinstance$1, x as iter$1, y as len$1, z as list$1, A as map$1, B as max$1, C as min$1, D as mod$1, E as set$1, F as slice$1, G as oct$1, H as ord$1, I as range$1, J as repr$1, K as reversed$1, L as round$1, M as set$2, N as setattr$1, O as slice$2, P as sorted$1, Q as sprintf$1, R as str$1, S as strFormat$1, T as sum$1, U as tuple$1, V as type$1, W as zip$1 } from './set-50ejV2Th.js';
|
|
2
|
+
export { X as pow, Y as repeatValue } from './set-50ejV2Th.js';
|
|
3
|
+
import { i as itertoolsModule } from './itertools-085TpcnG.js';
|
|
4
|
+
import { f as functoolsModule } from './functools-C7C9PIJR.js';
|
|
3
5
|
import { c as collectionsModule } from './collections-BthXtkEp.js';
|
|
4
|
-
import { m as mathModule } from './math-
|
|
5
|
-
import { r as randomModule } from './random-
|
|
6
|
-
import { j as jsonModule } from './json-
|
|
7
|
-
import { o as osModule } from './os.browser-
|
|
8
|
-
import { d as datetimeModule } from './datetime-
|
|
9
|
-
import { r as reModule } from './re-
|
|
6
|
+
import { m as mathModule } from './math-BUfHKeRA.js';
|
|
7
|
+
import { r as randomModule } from './random-BAySZc0L.js';
|
|
8
|
+
import { j as jsonModule } from './json-DepFELwX.js';
|
|
9
|
+
import { o as osModule } from './os.browser-DDshIAiX.js';
|
|
10
|
+
import { d as datetimeModule } from './datetime-dfkyxio1.js';
|
|
11
|
+
import { r as reModule } from './re-BftOeOtV.js';
|
|
10
12
|
import { capWords, Template } from './string.js';
|
|
11
|
-
import { s as sysModule } from './sys-
|
|
12
|
-
import { t as timeModule } from './time-
|
|
13
|
+
import { s as sysModule } from './sys-DpAIb7RU.js';
|
|
14
|
+
import { t as timeModule } from './time-dt9y-xi6.js';
|
|
13
15
|
import { c as copyModule } from './copy-6ZaZ__ge.js';
|
|
14
|
-
import { b as base64Module } from './base64-
|
|
15
|
-
import { u as uuidModule } from './uuid-
|
|
16
|
-
import { h as hashlibModule } from './hashlib-
|
|
17
|
-
import { p as pathlibModule } from './pathlib.browser-
|
|
16
|
+
import { b as base64Module } from './base64-Ch3SvVHp.js';
|
|
17
|
+
import { u as uuidModule } from './uuid-Bu-VlGLA.js';
|
|
18
|
+
import { h as hashlibModule } from './hashlib-BHp9_w-x.js';
|
|
19
|
+
import { p as pathlibModule } from './pathlib.browser-CjH1nQOz.js';
|
|
18
20
|
import { g as globModule } from './glob.browser-B6d_YdV5.js';
|
|
19
|
-
import { s as shutilModule } from './shutil.browser-
|
|
20
|
-
import { t as tempfileModule } from './tempfile.browser-
|
|
21
|
-
import { s as subprocessModule } from './subprocess-
|
|
22
|
-
import { u as urllibModule } from './urllib-
|
|
23
|
-
import { l as loggingModule } from './logging.browser-
|
|
24
|
-
import { l as list$1, d as dict$1, s as set$1, f as floorDiv$1, m as mod$1, a as divMod$1, b as sprintf$1, c as strFormat$1, e as slice$1, g as at$1, h as contains$1, i as is$1, r as range$1, j as enumerate$1, z as zip$1, k as iter$1, n as reversed$1, o as sorted$1, p as map$1, q as filter$1, t as tuple$1, u as len$1, v as abs$1, w as min$1, x as max$1, y as sum$1, A as all$1, B as any$1, C as round$1, D as ord$1, E as chr$1, F as hex$1, G as oct$1, H as bin$1, I as int$1, J as float$1, K as str$1, L as repr$1, M as bool$1, N as ascii$1, O as isinstance$1, P as type$1, Q as input$1, R as format$1, S as getattr$1, T as hasattr$1, U as setattr$1 } from './set-JQbLAq8B.js';
|
|
25
|
-
export { W as pow, V as repeatValue } from './set-JQbLAq8B.js';
|
|
21
|
+
import { s as shutilModule } from './shutil.browser-B2KrZkmH.js';
|
|
22
|
+
import { t as tempfileModule } from './tempfile.browser-BOdaZiHa.js';
|
|
23
|
+
import { s as subprocessModule } from './subprocess-CUhlCuFz.js';
|
|
24
|
+
import { u as urllibModule } from './urllib-C4RRgWck.js';
|
|
25
|
+
import { l as loggingModule } from './logging.browser-LLK6Y-w8.js';
|
|
26
26
|
import './os.shared-C3x70nhO.js';
|
|
27
27
|
|
|
28
|
-
/**
|
|
29
|
-
* Python Built-in Functions for TypeScript - Browser version
|
|
30
|
-
*
|
|
31
|
-
* This module provides Python's built-in functions that are always available
|
|
32
|
-
* without imports. These are the fundamental operations for working with data
|
|
33
|
-
* in Python, including iteration (range, enumerate, zip), aggregation (len,
|
|
34
|
-
* sum, min, max), type conversion (int, str, bool), and more.
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
* ```typescript
|
|
38
|
-
* // Direct imports
|
|
39
|
-
* import { len, range, sorted, min, max } from "pythonlib"
|
|
40
|
-
*
|
|
41
|
-
* // Module imports (like Python)
|
|
42
|
-
* import { chain, combinations } from "pythonlib/itertools"
|
|
43
|
-
* import { Counter, defaultdict } from "pythonlib/collections"
|
|
44
|
-
*
|
|
45
|
-
* // Module namespaces
|
|
46
|
-
* import { json, re, itertools } from "pythonlib"
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
|
-
* @see {@link https://docs.python.org/3/library/functions.html | Python Built-in Functions}
|
|
50
|
-
* @module
|
|
51
|
-
*/
|
|
52
|
-
|
|
53
28
|
declare const itertools: typeof itertoolsModule;
|
|
54
29
|
declare const functools: typeof functoolsModule;
|
|
55
30
|
declare const collections: typeof collectionsModule;
|
|
@@ -119,16 +94,20 @@ declare const urllib: typeof urllibModule;
|
|
|
119
94
|
declare const logging: typeof loggingModule;
|
|
120
95
|
type ListConstructor = (<T>(iterable?: Iterable<T>) => T[]) & typeof list$1;
|
|
121
96
|
type DictConstructor = (<K, V>(entries?: Iterable<[K, V]>) => Map<K, V>) & typeof dict$1;
|
|
122
|
-
type SetConstructor = (<T>(iterable?: Iterable<T>) => Set<T>) & typeof set$
|
|
97
|
+
type SetConstructor = (<T>(iterable?: Iterable<T>) => Set<T>) & typeof set$2;
|
|
123
98
|
declare const list: ListConstructor;
|
|
124
99
|
declare const dict: DictConstructor;
|
|
125
100
|
declare const set: SetConstructor;
|
|
101
|
+
declare const ndarray: {
|
|
102
|
+
set: typeof set$1;
|
|
103
|
+
slice: typeof slice$1;
|
|
104
|
+
};
|
|
126
105
|
declare const floorDiv: typeof floorDiv$1;
|
|
127
106
|
declare const mod: typeof mod$1;
|
|
128
107
|
declare const divMod: typeof divMod$1;
|
|
129
108
|
declare const sprintf: typeof sprintf$1;
|
|
130
109
|
declare const strFormat: typeof strFormat$1;
|
|
131
|
-
declare const slice: typeof slice$
|
|
110
|
+
declare const slice: typeof slice$2;
|
|
132
111
|
declare const at: typeof at$1;
|
|
133
112
|
declare const contains: typeof contains$1;
|
|
134
113
|
declare const is: typeof is$1;
|
|
@@ -169,4 +148,4 @@ declare const getattr: typeof getattr$1;
|
|
|
169
148
|
declare const hasattr: typeof hasattr$1;
|
|
170
149
|
declare const setattr: typeof setattr$1;
|
|
171
150
|
|
|
172
|
-
export { abs, all, any, ascii, at, base64, bin, bool, chr, collections, contains, copy, datetime, dict, divMod, enumerate, filter, float, floorDiv, format, functools, getattr, glob, hasattr, hashlib, hex, input, int, is, isinstance, iter, itertools, json, len, list, logging, map, math, max, min, mod, oct, ord, os, pathlib, random, range, re, repr, reversed, round, set, setattr, shutil, slice, sorted, sprintf, str, strFormat, string, subprocess, sum, sys, tempfile, time, tuple, type, urllib, uuid, zip };
|
|
151
|
+
export { abs, all, any, ascii, at, base64, bin, bool, chr, collections, contains, copy, datetime, dict, divMod, enumerate, filter, float, floorDiv, format, functools, getattr, glob, hasattr, hashlib, hex, input, int, is, isinstance, iter, itertools, json, len, list, logging, map, math, max, min, mod, ndarray, oct, ord, os, pathlib, random, range, re, repr, reversed, round, set, setattr, shutil, slice, sorted, sprintf, str, strFormat, string, subprocess, sum, sys, tempfile, time, tuple, type, urllib, uuid, zip };
|
package/dist/index.browser.js
CHANGED
|
@@ -40,6 +40,7 @@ import {
|
|
|
40
40
|
max,
|
|
41
41
|
min,
|
|
42
42
|
mod,
|
|
43
|
+
ndarray,
|
|
43
44
|
oct,
|
|
44
45
|
ord,
|
|
45
46
|
pow,
|
|
@@ -60,7 +61,7 @@ import {
|
|
|
60
61
|
tuple,
|
|
61
62
|
type,
|
|
62
63
|
zip
|
|
63
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-AOCLIDO7.js";
|
|
64
65
|
import {
|
|
65
66
|
subprocess_exports
|
|
66
67
|
} from "./chunk-THMJVAK6.js";
|
|
@@ -184,6 +185,7 @@ var set3 = Object.assign(
|
|
|
184
185
|
(iterable) => set(iterable),
|
|
185
186
|
set2
|
|
186
187
|
);
|
|
188
|
+
var ndarray2 = ndarray;
|
|
187
189
|
var floorDiv2 = floorDiv;
|
|
188
190
|
var mod2 = mod;
|
|
189
191
|
var divMod2 = divMod;
|
|
@@ -270,6 +272,7 @@ export {
|
|
|
270
272
|
max2 as max,
|
|
271
273
|
min2 as min,
|
|
272
274
|
mod2 as mod,
|
|
275
|
+
ndarray2 as ndarray,
|
|
273
276
|
oct2 as oct,
|
|
274
277
|
ord2 as ord,
|
|
275
278
|
os,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,57 +1,32 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
|
|
1
|
+
import { a as abs$1, b as all$1, c as any$1, d as ascii$1, e as at$1, f as bin$1, g as bool$1, h as chr$1, i as contains$1, j as dict$1, k as divMod$1, l as enumerate$1, m as filter$1, n as float$1, o as floorDiv$1, p as format$1, q as getattr$1, r as hasattr$1, s as hex$1, t as input$1, u as int$1, v as is$1, w as isinstance$1, x as iter$1, y as len$1, z as list$1, A as map$1, B as max$1, C as min$1, D as mod$1, E as set$1, F as slice$1, G as oct$1, H as ord$1, I as range$1, J as repr$1, K as reversed$1, L as round$1, M as set$2, N as setattr$1, O as slice$2, P as sorted$1, Q as sprintf$1, R as str$1, S as strFormat$1, T as sum$1, U as tuple$1, V as type$1, W as zip$1 } from './set-50ejV2Th.js';
|
|
2
|
+
export { X as pow, Y as repeatValue } from './set-50ejV2Th.js';
|
|
3
|
+
import { i as itertoolsModule } from './itertools-085TpcnG.js';
|
|
4
|
+
import { f as functoolsModule } from './functools-C7C9PIJR.js';
|
|
3
5
|
import { c as collectionsModule } from './collections-BthXtkEp.js';
|
|
4
|
-
import { m as mathModule } from './math-
|
|
5
|
-
import { r as randomModule } from './random-
|
|
6
|
-
import { j as jsonModule } from './json-
|
|
7
|
-
import { o as osModule } from './os.node-
|
|
8
|
-
import { d as datetimeModule } from './datetime-
|
|
9
|
-
import { r as reModule } from './re-
|
|
6
|
+
import { m as mathModule } from './math-BUfHKeRA.js';
|
|
7
|
+
import { r as randomModule } from './random-BAySZc0L.js';
|
|
8
|
+
import { j as jsonModule } from './json-DepFELwX.js';
|
|
9
|
+
import { o as osModule } from './os.node-CjCzDKEH.js';
|
|
10
|
+
import { d as datetimeModule } from './datetime-dfkyxio1.js';
|
|
11
|
+
import { r as reModule } from './re-BftOeOtV.js';
|
|
10
12
|
import { capWords, Template } from './string.js';
|
|
11
|
-
import { s as sysModule } from './sys-
|
|
12
|
-
import { t as timeModule } from './time-
|
|
13
|
+
import { s as sysModule } from './sys-DpAIb7RU.js';
|
|
14
|
+
import { t as timeModule } from './time-dt9y-xi6.js';
|
|
13
15
|
import { c as copyModule } from './copy-6ZaZ__ge.js';
|
|
14
|
-
import { b as base64Module } from './base64-
|
|
15
|
-
import { u as uuidModule } from './uuid-
|
|
16
|
-
import { h as hashlibModule } from './hashlib-
|
|
17
|
-
import { p as pathlibModule } from './pathlib.node-
|
|
16
|
+
import { b as base64Module } from './base64-Ch3SvVHp.js';
|
|
17
|
+
import { u as uuidModule } from './uuid-Bu-VlGLA.js';
|
|
18
|
+
import { h as hashlibModule } from './hashlib-BHp9_w-x.js';
|
|
19
|
+
import { p as pathlibModule } from './pathlib.node-DxupXzwM.js';
|
|
18
20
|
import { g as globModule } from './glob.node-wn5ehtyM.js';
|
|
19
|
-
import { s as shutilModule } from './shutil.node-
|
|
20
|
-
import { t as tempfileModule } from './tempfile.node-
|
|
21
|
-
import { s as subprocessModule } from './subprocess-
|
|
22
|
-
import { u as urllibModule } from './urllib-
|
|
23
|
-
import { l as loggingModule } from './logging.node-
|
|
24
|
-
import { l as list$1, d as dict$1, s as set$1, f as floorDiv$1, m as mod$1, a as divMod$1, b as sprintf$1, c as strFormat$1, e as slice$1, g as at$1, h as contains$1, i as is$1, r as range$1, j as enumerate$1, z as zip$1, k as iter$1, n as reversed$1, o as sorted$1, p as map$1, q as filter$1, t as tuple$1, u as len$1, v as abs$1, w as min$1, x as max$1, y as sum$1, A as all$1, B as any$1, C as round$1, D as ord$1, E as chr$1, F as hex$1, G as oct$1, H as bin$1, I as int$1, J as float$1, K as str$1, L as repr$1, M as bool$1, N as ascii$1, O as isinstance$1, P as type$1, Q as input$1, R as format$1, S as getattr$1, T as hasattr$1, U as setattr$1 } from './set-JQbLAq8B.js';
|
|
25
|
-
export { W as pow, V as repeatValue } from './set-JQbLAq8B.js';
|
|
21
|
+
import { s as shutilModule } from './shutil.node-CfPOk808.js';
|
|
22
|
+
import { t as tempfileModule } from './tempfile.node-BER62KAg.js';
|
|
23
|
+
import { s as subprocessModule } from './subprocess-CUhlCuFz.js';
|
|
24
|
+
import { u as urllibModule } from './urllib-C4RRgWck.js';
|
|
25
|
+
import { l as loggingModule } from './logging.node-7eQZ6s64.js';
|
|
26
26
|
import './os.shared-C3x70nhO.js';
|
|
27
27
|
import 'node:fs';
|
|
28
28
|
import 'node:fs/promises';
|
|
29
29
|
|
|
30
|
-
/**
|
|
31
|
-
* Python Built-in Functions for TypeScript
|
|
32
|
-
*
|
|
33
|
-
* This module provides Python's built-in functions that are always available
|
|
34
|
-
* without imports. These are the fundamental operations for working with data
|
|
35
|
-
* in Python, including iteration (range, enumerate, zip), aggregation (len,
|
|
36
|
-
* sum, min, max), type conversion (int, str, bool), and more.
|
|
37
|
-
*
|
|
38
|
-
* @example
|
|
39
|
-
* ```typescript
|
|
40
|
-
* // Direct imports
|
|
41
|
-
* import { len, range, sorted, min, max } from "pythonlib"
|
|
42
|
-
*
|
|
43
|
-
* // Module imports (like Python)
|
|
44
|
-
* import { chain, combinations } from "pythonlib/itertools"
|
|
45
|
-
* import { Counter, defaultdict } from "pythonlib/collections"
|
|
46
|
-
*
|
|
47
|
-
* // Module namespaces
|
|
48
|
-
* import { json, re, itertools } from "pythonlib"
|
|
49
|
-
* ```
|
|
50
|
-
*
|
|
51
|
-
* @see {@link https://docs.python.org/3/library/functions.html | Python Built-in Functions}
|
|
52
|
-
* @module
|
|
53
|
-
*/
|
|
54
|
-
|
|
55
30
|
declare const itertools: typeof itertoolsModule;
|
|
56
31
|
declare const functools: typeof functoolsModule;
|
|
57
32
|
declare const collections: typeof collectionsModule;
|
|
@@ -121,16 +96,20 @@ declare const urllib: typeof urllibModule;
|
|
|
121
96
|
declare const logging: typeof loggingModule;
|
|
122
97
|
type ListConstructor = (<T>(iterable?: Iterable<T>) => T[]) & typeof list$1;
|
|
123
98
|
type DictConstructor = (<K, V>(entries?: Iterable<[K, V]>) => Map<K, V>) & typeof dict$1;
|
|
124
|
-
type SetConstructor = (<T>(iterable?: Iterable<T>) => Set<T>) & typeof set$
|
|
99
|
+
type SetConstructor = (<T>(iterable?: Iterable<T>) => Set<T>) & typeof set$2;
|
|
125
100
|
declare const list: ListConstructor;
|
|
126
101
|
declare const dict: DictConstructor;
|
|
127
102
|
declare const set: SetConstructor;
|
|
103
|
+
declare const ndarray: {
|
|
104
|
+
set: typeof set$1;
|
|
105
|
+
slice: typeof slice$1;
|
|
106
|
+
};
|
|
128
107
|
declare const floorDiv: typeof floorDiv$1;
|
|
129
108
|
declare const mod: typeof mod$1;
|
|
130
109
|
declare const divMod: typeof divMod$1;
|
|
131
110
|
declare const sprintf: typeof sprintf$1;
|
|
132
111
|
declare const strFormat: typeof strFormat$1;
|
|
133
|
-
declare const slice: typeof slice$
|
|
112
|
+
declare const slice: typeof slice$2;
|
|
134
113
|
declare const at: typeof at$1;
|
|
135
114
|
declare const contains: typeof contains$1;
|
|
136
115
|
declare const is: typeof is$1;
|
|
@@ -170,5 +149,6 @@ declare const format: typeof format$1;
|
|
|
170
149
|
declare const getattr: typeof getattr$1;
|
|
171
150
|
declare const hasattr: typeof hasattr$1;
|
|
172
151
|
declare const setattr: typeof setattr$1;
|
|
152
|
+
declare const Ellipsis: symbol;
|
|
173
153
|
|
|
174
|
-
export { abs, all, any, ascii, at, base64, bin, bool, chr, collections, contains, copy, datetime, dict, divMod, enumerate, filter, float, floorDiv, format, functools, getattr, glob, hasattr, hashlib, hex, input, int, is, isinstance, iter, itertools, json, len, list, logging, map, math, max, min, mod, oct, ord, os, pathlib, random, range, re, repr, reversed, round, set, setattr, shutil, slice, sorted, sprintf, str, strFormat, string, subprocess, sum, sys, tempfile, time, tuple, type, urllib, uuid, zip };
|
|
154
|
+
export { Ellipsis, abs, all, any, ascii, at, base64, bin, bool, chr, collections, contains, copy, datetime, dict, divMod, enumerate, filter, float, floorDiv, format, functools, getattr, glob, hasattr, hashlib, hex, input, int, is, isinstance, iter, itertools, json, len, list, logging, map, math, max, min, mod, ndarray, oct, ord, os, pathlib, random, range, re, repr, reversed, round, set, setattr, shutil, slice, sorted, sprintf, str, strFormat, string, subprocess, sum, sys, tempfile, time, tuple, type, urllib, uuid, zip };
|
package/dist/index.js
CHANGED
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
shutil_node_exports
|
|
12
12
|
} from "./chunk-JVTQM7CI.js";
|
|
13
13
|
import {
|
|
14
|
+
Ellipsis,
|
|
14
15
|
abs,
|
|
15
16
|
all,
|
|
16
17
|
any,
|
|
@@ -43,6 +44,7 @@ import {
|
|
|
43
44
|
max,
|
|
44
45
|
min,
|
|
45
46
|
mod,
|
|
47
|
+
ndarray,
|
|
46
48
|
oct,
|
|
47
49
|
ord,
|
|
48
50
|
pow,
|
|
@@ -63,7 +65,7 @@ import {
|
|
|
63
65
|
tuple,
|
|
64
66
|
type,
|
|
65
67
|
zip
|
|
66
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-AOCLIDO7.js";
|
|
67
69
|
import {
|
|
68
70
|
subprocess_exports
|
|
69
71
|
} from "./chunk-THMJVAK6.js";
|
|
@@ -184,6 +186,7 @@ var set3 = Object.assign(
|
|
|
184
186
|
(iterable) => set(iterable),
|
|
185
187
|
set2
|
|
186
188
|
);
|
|
189
|
+
var ndarray2 = ndarray;
|
|
187
190
|
var floorDiv2 = floorDiv;
|
|
188
191
|
var mod2 = mod;
|
|
189
192
|
var divMod2 = divMod;
|
|
@@ -228,7 +231,9 @@ var format2 = format;
|
|
|
228
231
|
var getattr2 = getattr;
|
|
229
232
|
var hasattr2 = hasattr;
|
|
230
233
|
var setattr2 = setattr;
|
|
234
|
+
var Ellipsis2 = Ellipsis;
|
|
231
235
|
export {
|
|
236
|
+
Ellipsis2 as Ellipsis,
|
|
232
237
|
abs2 as abs,
|
|
233
238
|
all2 as all,
|
|
234
239
|
any2 as any,
|
|
@@ -270,6 +275,7 @@ export {
|
|
|
270
275
|
max2 as max,
|
|
271
276
|
min2 as min,
|
|
272
277
|
mod2 as mod,
|
|
278
|
+
ndarray2 as ndarray,
|
|
273
279
|
oct2 as oct,
|
|
274
280
|
ord2 as ord,
|
|
275
281
|
os,
|
|
@@ -151,4 +151,4 @@ declare namespace itertoolsModule {
|
|
|
151
151
|
export { itertoolsModule_accumulate as accumulate, itertoolsModule_chain as chain, itertoolsModule_chunk as chunk, itertoolsModule_combinations as combinations, itertoolsModule_combinationsWithReplacement as combinationsWithReplacement, itertoolsModule_compress as compress, itertoolsModule_count as count, itertoolsModule_cycle as cycle, itertoolsModule_dropWhile as dropWhile, itertoolsModule_filterFalse as filterFalse, itertoolsModule_groupby as groupby, itertoolsModule_islice as islice, itertoolsModule_pairwise as pairwise, itertoolsModule_partition as partition, itertoolsModule_permutations as permutations, itertoolsModule_product as product, itertoolsModule_productRepeat as productRepeat, itertoolsModule_repeat as repeat, itertoolsModule_takeWhile as takeWhile, itertoolsModule_tee as tee, itertoolsModule_zipLongest as zipLongest };
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
export {
|
|
154
|
+
export { accumulate as a, chunk as b, chain as c, combinations as d, combinationsWithReplacement as e, compress as f, count as g, cycle as h, itertoolsModule as i, dropWhile as j, filterFalse as k, groupby as l, islice as m, partition as n, permutations as o, pairwise as p, product as q, productRepeat as r, repeat as s, takeWhile as t, tee as u, zipLongest as z };
|
package/dist/itertools.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { a as accumulate, c as chain, b as chunk, d as combinations, e as combinationsWithReplacement, f as compress, g as count, h as cycle, j as dropWhile, k as filterFalse, l as groupby, m as islice, p as pairwise, n as partition, o as permutations, q as product, r as productRepeat, s as repeat, t as takeWhile, u as tee, z as zipLongest } from './itertools-085TpcnG.js';
|
|
@@ -77,4 +77,4 @@ declare namespace jsonModule {
|
|
|
77
77
|
export { jsonModule_dump as dump, jsonModule_dumps as dumps, jsonModule_load as load, jsonModule_loads as loads };
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { dumps as a, loads as b, dump as d, jsonModule as j, load as l };
|
package/dist/json.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { d as dump, a as dumps, l as load, b as loads } from './json-DepFELwX.js';
|
|
@@ -182,4 +182,4 @@ declare namespace loggingModule {
|
|
|
182
182
|
export { loggingModule_CRITICAL as CRITICAL, loggingModule_DEBUG as DEBUG, loggingModule_ERROR as ERROR, loggingModule_FATAL as FATAL, loggingModule_FileHandler as FileHandler, loggingModule_Formatter as Formatter, loggingModule_Handler as Handler, loggingModule_INFO as INFO, type loggingModule_LogRecord as LogRecord, loggingModule_Logger as Logger, loggingModule_NOTSET as NOTSET, loggingModule_StreamHandler as StreamHandler, loggingModule_WARN as WARN, loggingModule_WARNING as WARNING, loggingModule_basicConfig as basicConfig, loggingModule_critical as critical, loggingModule_debug as debug, loggingModule_disable as disable, loggingModule_error as error, loggingModule_exception as exception, loggingModule_fatal as fatal, loggingModule_getLevelName as getLevelName, loggingModule_getLogger as getLogger, loggingModule_info as info, loggingModule_levelNames as levelNames, loggingModule_log as log, loggingModule_setLevel as setLevel, loggingModule_shutdown as shutdown, loggingModule_warn as warn, loggingModule_warning as warning };
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
export { CRITICAL as C, DEBUG as D, ERROR as E, FATAL as F, Handler as H, INFO as I, type LogRecord as L, NOTSET as N, StreamHandler as S,
|
|
185
|
+
export { CRITICAL as C, DEBUG as D, ERROR as E, FATAL as F, Handler as H, INFO as I, type LogRecord as L, NOTSET as N, StreamHandler as S, WARN as W, FileHandler as a, Formatter as b, Logger as c, WARNING as d, basicConfig as e, critical as f, debug as g, disable as h, error as i, exception as j, fatal as k, loggingModule as l, getLevelName as m, getLogger as n, info as o, levelNames as p, log as q, shutdown as r, setLevel as s, warning as t, warn as w };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { C as CRITICAL, D as DEBUG, E as ERROR, F as FATAL,
|
|
1
|
+
export { C as CRITICAL, D as DEBUG, E as ERROR, F as FATAL, a as FileHandler, b as Formatter, H as Handler, I as INFO, L as LogRecord, c as Logger, N as NOTSET, S as StreamHandler, W as WARN, d as WARNING, e as basicConfig, f as critical, g as debug, h as disable, i as error, j as exception, k as fatal, m as getLevelName, n as getLogger, o as info, p as levelNames, q as log, s as setLevel, r as shutdown, w as warn, t as warning } from './logging.browser-LLK6Y-w8.js';
|
|
@@ -182,4 +182,4 @@ declare namespace loggingModule {
|
|
|
182
182
|
export { loggingModule_CRITICAL as CRITICAL, loggingModule_DEBUG as DEBUG, loggingModule_ERROR as ERROR, loggingModule_FATAL as FATAL, loggingModule_FileHandler as FileHandler, loggingModule_Formatter as Formatter, loggingModule_Handler as Handler, loggingModule_INFO as INFO, type loggingModule_LogRecord as LogRecord, loggingModule_Logger as Logger, loggingModule_NOTSET as NOTSET, loggingModule_StreamHandler as StreamHandler, loggingModule_WARN as WARN, loggingModule_WARNING as WARNING, loggingModule_basicConfig as basicConfig, loggingModule_critical as critical, loggingModule_debug as debug, loggingModule_disable as disable, loggingModule_error as error, loggingModule_exception as exception, loggingModule_fatal as fatal, loggingModule_getLevelName as getLevelName, loggingModule_getLogger as getLogger, loggingModule_info as info, loggingModule_levelNames as levelNames, loggingModule_log as log, loggingModule_shutdown as shutdown, loggingModule_warn as warn, loggingModule_warning as warning };
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
export { CRITICAL as C, DEBUG as D, ERROR as E, FATAL as F, Handler as H, INFO as I, type LogRecord as L, NOTSET as N, StreamHandler as S,
|
|
185
|
+
export { CRITICAL as C, DEBUG as D, ERROR as E, FATAL as F, Handler as H, INFO as I, type LogRecord as L, NOTSET as N, StreamHandler as S, WARN as W, FileHandler as a, Formatter as b, Logger as c, WARNING as d, basicConfig as e, critical as f, debug as g, disable as h, error as i, exception as j, fatal as k, loggingModule as l, getLevelName as m, getLogger as n, info as o, levelNames as p, log as q, warning as r, shutdown as s, warn as w };
|
package/dist/logging.node.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { C as CRITICAL, D as DEBUG, E as ERROR, F as FATAL,
|
|
1
|
+
export { C as CRITICAL, D as DEBUG, E as ERROR, F as FATAL, a as FileHandler, b as Formatter, H as Handler, I as INFO, L as LogRecord, c as Logger, N as NOTSET, S as StreamHandler, W as WARN, d as WARNING, e as basicConfig, f as critical, g as debug, h as disable, i as error, j as exception, k as fatal, m as getLevelName, n as getLogger, o as info, p as levelNames, q as log, s as shutdown, w as warn, r as warning } from './logging.node-7eQZ6s64.js';
|
|
@@ -147,4 +147,4 @@ declare namespace mathModule {
|
|
|
147
147
|
export { mathModule_acos as acos, mathModule_acosh as acosh, mathModule_asin as asin, mathModule_asinh as asinh, mathModule_atan as atan, mathModule_atan2 as atan2, mathModule_atanh as atanh, mathModule_cbrt as cbrt, mathModule_ceil as ceil, mathModule_copysign as copysign, mathModule_cos as cos, mathModule_cosh as cosh, mathModule_degrees as degrees, mathModule_e as e, mathModule_exp as exp, mathModule_expm1 as expm1, mathModule_fabs as fabs, mathModule_factorial as factorial, mathModule_floor as floor, mathModule_fsum as fsum, mathModule_gcd as gcd, mathModule_hypot as hypot, mathModule_inf as inf, mathModule_isclose as isclose, mathModule_isfinite as isfinite, mathModule_isinf as isinf, mathModule_isnan as isnan, mathModule_lcm as lcm, mathModule_log as log, mathModule_log10 as log10, mathModule_log1p as log1p, mathModule_log2 as log2, mathModule_modf as modf, mathModule_nan as nan, mathModule_pi as pi, mathModule_pow as pow, mathModule_prod as prod, mathModule_radians as radians, mathModule_sin as sin, mathModule_sinh as sinh, mathModule_sqrt as sqrt, mathModule_tan as tan, mathModule_tanh as tanh, mathModule_tau as tau, mathModule_trunc as trunc };
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
export {
|
|
150
|
+
export { isinf as A, isnan as B, lcm as C, log as D, log10 as E, log1p as F, log2 as G, modf as H, nan as I, pi as J, pow as K, prod as L, radians as M, sin as N, sinh as O, sqrt as P, tan as Q, tanh as R, tau as S, trunc as T, acos as a, acosh as b, asin as c, asinh as d, atan as e, atan2 as f, atanh as g, cbrt as h, ceil as i, copysign as j, cos as k, cosh as l, mathModule as m, degrees as n, e as o, exp as p, expm1 as q, fabs as r, factorial as s, floor as t, fsum as u, gcd as v, hypot as w, inf as x, isclose as y, isfinite as z };
|
package/dist/math.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { a as acos, b as acosh, c as asin, d as asinh, e as atan, f as atan2, g as atanh, h as cbrt, i as ceil, j as copysign, k as cos, l as cosh, n as degrees, o as e, p as exp, q as expm1, r as fabs, s as factorial, t as floor, u as fsum, v as gcd, w as hypot, x as inf, y as isclose, z as isfinite, A as isinf, B as isnan, C as lcm, D as log, E as log10, F as log1p, G as log2, H as modf, I as nan, J as pi, K as pow, L as prod, M as radians, N as sin, O as sinh, P as sqrt, Q as tan, R as tanh, S as tau, T as trunc } from './math-BUfHKeRA.js';
|
|
@@ -121,4 +121,4 @@ declare namespace osModule {
|
|
|
121
121
|
export { osModule_altSep as altSep, osModule_chdir as chdir, osModule_curDir as curDir, osModule_environ as environ, osModule_extSep as extSep, osModule_getCwd as getCwd, osModule_getCwdb as getCwdb, osModule_getenv as getenv, osModule_lineSep as lineSep, osModule_listDir as listDir, osModule_makeDirs as makeDirs, osModule_mkdir as mkdir, osModule_name as name, osModule_parDir as parDir, osModule_path as path, osModule_pathBasename as pathBasename, osModule_pathCommonPath as pathCommonPath, osModule_pathDirname as pathDirname, osModule_pathExpandUser as pathExpandUser, osModule_pathExpandVars as pathExpandVars, osModule_pathExtName as pathExtName, osModule_pathIsAbs as pathIsAbs, osModule_pathJoin as pathJoin, osModule_pathNormPath as pathNormPath, osModule_pathRelPath as pathRelPath, osModule_pathSep as pathSep, osModule_pathSplitExt as pathSplitExt, osModule_pathSplitFn as pathSplitFn, osModule_remove as remove, osModule_removeDirs as removeDirs, osModule_rename as rename, osModule_renames as renames, osModule_replace as replace, osModule_rmdir as rmdir, osModule_sep as sep, osModule_stat as stat, osModule_unlink as unlink, osModule_walk as walk };
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
export {
|
|
124
|
+
export { mkdir as a, removeDirs as b, rename as c, renames as d, replace as e, rmdir as f, listDir as l, makeDirs as m, osModule as o, path as p, remove as r, stat as s, unlink as u, walk as w };
|
package/dist/os.browser.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { l as altSep, m as chdir, n as curDir, o as environ, q as extSep, r as getCwd, s as getCwdb, t as getenv, u as lineSep, v as name, w as parDir, a as pathBasename, i as pathCommonPath, b as pathDirname, j as pathExpandUser, k as pathExpandVars, e as pathExtName, f as pathIsAbs, p as pathJoin, g as pathNormPath, h as pathRelPath, x as pathSep, d as pathSplitExt, c as pathSplitFn, y as sep } from './os.shared-C3x70nhO.js';
|
|
2
|
-
export { l as listDir,
|
|
2
|
+
export { l as listDir, m as makeDirs, a as mkdir, p as path, r as remove, b as removeDirs, c as rename, d as renames, e as replace, f as rmdir, s as stat, u as unlink, w as walk } from './os.browser-DDshIAiX.js';
|
|
@@ -121,4 +121,4 @@ declare namespace osModule {
|
|
|
121
121
|
export { osModule_altSep as altSep, osModule_chdir as chdir, osModule_curDir as curDir, osModule_environ as environ, osModule_extSep as extSep, osModule_getCwd as getCwd, osModule_getCwdb as getCwdb, osModule_getenv as getenv, osModule_lineSep as lineSep, osModule_listDir as listDir, osModule_makeDirs as makeDirs, osModule_mkdir as mkdir, osModule_name as name, osModule_parDir as parDir, osModule_path as path, osModule_pathBasename as pathBasename, osModule_pathCommonPath as pathCommonPath, osModule_pathDirname as pathDirname, osModule_pathExpandUser as pathExpandUser, osModule_pathExpandVars as pathExpandVars, osModule_pathExtName as pathExtName, osModule_pathIsAbs as pathIsAbs, osModule_pathJoin as pathJoin, osModule_pathNormPath as pathNormPath, osModule_pathRelPath as pathRelPath, osModule_pathSep as pathSep, osModule_pathSplitExt as pathSplitExt, osModule_pathSplitFn as pathSplitFn, osModule_remove as remove, osModule_removeDirs as removeDirs, osModule_rename as rename, osModule_renames as renames, osModule_replace as replace, osModule_rmdir as rmdir, osModule_sep as sep, osModule_stat as stat, osModule_unlink as unlink, osModule_walk as walk };
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
export {
|
|
124
|
+
export { mkdir as a, removeDirs as b, rename as c, renames as d, replace as e, rmdir as f, listDir as l, makeDirs as m, osModule as o, path as p, remove as r, stat as s, unlink as u, walk as w };
|
package/dist/os.node.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { l as altSep, m as chdir, n as curDir, o as environ, q as extSep, r as getCwd, s as getCwdb, t as getenv, u as lineSep, v as name, w as parDir, a as pathBasename, i as pathCommonPath, b as pathDirname, j as pathExpandUser, k as pathExpandVars, e as pathExtName, f as pathIsAbs, p as pathJoin, g as pathNormPath, h as pathRelPath, x as pathSep, d as pathSplitExt, c as pathSplitFn, y as sep } from './os.shared-C3x70nhO.js';
|
|
2
|
-
export { l as listDir,
|
|
2
|
+
export { l as listDir, m as makeDirs, a as mkdir, p as path, r as remove, b as removeDirs, c as rename, d as renames, e as replace, f as rmdir, s as stat, u as unlink, w as walk } from './os.node-CjCzDKEH.js';
|
|
@@ -88,4 +88,4 @@ declare namespace pathlibModule {
|
|
|
88
88
|
export { pathlibModule_Path as Path, pathlibModule_PosixPath as PosixPath, pathlibModule_PurePath as PurePath, pathlibModule_PurePosixPath as PurePosixPath, pathlibModule_PureWindowsPath as PureWindowsPath, pathlibModule_WindowsPath as WindowsPath };
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
export { Path as P, WindowsPath as W,
|
|
91
|
+
export { Path as P, WindowsPath as W, PosixPath as a, PurePath as b, PurePosixPath as c, PureWindowsPath as d, pathlibModule as p };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { P as Path,
|
|
1
|
+
export { P as Path, a as PosixPath, b as PurePath, c as PurePosixPath, d as PureWindowsPath, W as WindowsPath } from './pathlib.browser-CjH1nQOz.js';
|
|
@@ -328,4 +328,4 @@ declare namespace pathlibModule {
|
|
|
328
328
|
export { pathlibModule_Path as Path, pathlibModule_PosixPath as PosixPath, pathlibModule_PurePath as PurePath, pathlibModule_PurePosixPath as PurePosixPath, pathlibModule_PureWindowsPath as PureWindowsPath, pathlibModule_WindowsPath as WindowsPath };
|
|
329
329
|
}
|
|
330
330
|
|
|
331
|
-
export { Path as P, WindowsPath as W,
|
|
331
|
+
export { Path as P, WindowsPath as W, PosixPath as a, PurePath as b, PurePosixPath as c, PureWindowsPath as d, pathlibModule as p };
|
package/dist/pathlib.node.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'node:fs';
|
|
2
|
-
export { P as Path,
|
|
2
|
+
export { P as Path, a as PosixPath, b as PurePath, c as PurePosixPath, d as PureWindowsPath, W as WindowsPath } from './pathlib.node-DxupXzwM.js';
|
|
@@ -69,4 +69,4 @@ declare namespace randomModule {
|
|
|
69
69
|
export { randomModule_betaVariate as betaVariate, randomModule_choice as choice, randomModule_choices as choices, randomModule_expoVariate as expoVariate, randomModule_gammaVariate as gammaVariate, randomModule_gauss as gauss, randomModule_logNormVariate as logNormVariate, randomModule_normalVariate as normalVariate, randomModule_paretoVariate as paretoVariate, randomModule_randInt as randInt, randomModule_randRange as randRange, randomModule_random as random, randomModule_sample as sample, randomModule_shuffle as shuffle, randomModule_triangular as triangular, randomModule_uniform as uniform, randomModule_vonMisesVariate as vonMisesVariate, randomModule_weibullVariate as weibullVariate };
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { choices as a, betaVariate as b, choice as c, gauss as d, expoVariate as e, randInt as f, gammaVariate as g, randRange as h, random as i, shuffle as j, logNormVariate as l, normalVariate as n, paretoVariate as p, randomModule as r, sample as s, triangular as t, uniform as u, vonMisesVariate as v, weibullVariate as w };
|
package/dist/random.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { b as betaVariate, c as choice, a as choices, e as expoVariate, g as gammaVariate, d as gauss, l as logNormVariate, n as normalVariate, p as paretoVariate, f as randInt, h as randRange, i as random, s as sample, j as shuffle, t as triangular, u as uniform, v as vonMisesVariate, w as weibullVariate } from './random-BAySZc0L.js';
|
|
@@ -143,4 +143,4 @@ declare namespace reModule {
|
|
|
143
143
|
export { reModule_A as A, reModule_ASCII as ASCII, reModule_DOTALL as DOTALL, reModule_I as I, reModule_IGNORECASE as IGNORECASE, reModule_M as M, reModule_MULTILINE as MULTILINE, reModule_Match as Match, reModule_Pattern as Pattern, reModule_S as S, reModule_U as U, reModule_UNICODE as UNICODE, reModule_compile as compile, reModule_escape as escape, reModule_findAll as findAll, reModule_findIter as findIter, reModule_fullMatch as fullMatch, reModule_match as match, reModule_purge as purge, reModule_search as search, reModule_split as split, reModule_sub as sub, reModule_subn as subn };
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { A, DOTALL as D, I, M, Pattern as P, S, U, ASCII as a, IGNORECASE as b, MULTILINE as c, Match as d, UNICODE as e, compile as f, escape as g, findAll as h, findIter as i, fullMatch as j, split as k, sub as l, match as m, subn as n, purge as p, reModule as r, search as s };
|
package/dist/re.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { A, a as ASCII, D as DOTALL, I, b as IGNORECASE, M, c as MULTILINE, d as Match, P as Pattern, S, U, e as UNICODE, f as compile, g as escape, h as findAll, i as findIter, j as fullMatch, m as match, p as purge, s as search, k as split, l as sub, n as subn } from './re-BftOeOtV.js';
|
|
@@ -1,3 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NumPy-like ndarray operations for TypeScript
|
|
3
|
+
*
|
|
4
|
+
* This module provides basic ndarray operations for supporting Python code
|
|
5
|
+
* that uses NumPy-style multi-dimensional array indexing.
|
|
6
|
+
*
|
|
7
|
+
* @see {@link https://numpy.org/doc/stable/reference/arrays.indexing.html | NumPy Array Indexing}
|
|
8
|
+
* @module
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Slice specification: { start?, stop?, step? } or undefined for full slice
|
|
12
|
+
*/
|
|
13
|
+
interface SliceSpec {
|
|
14
|
+
start?: number | undefined;
|
|
15
|
+
stop?: number | undefined;
|
|
16
|
+
step?: number | undefined;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Dimension index: either a number (single index) or a slice spec
|
|
20
|
+
*/
|
|
21
|
+
type DimIndex = number | SliceSpec | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Create a slice specification for multi-dimensional array indexing
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```typescript
|
|
27
|
+
* // Python: arr[:, 0]
|
|
28
|
+
* ndarray.set(arr, [slice(undefined, undefined), 0], value)
|
|
29
|
+
*
|
|
30
|
+
* // Python: arr[1:3, :]
|
|
31
|
+
* ndarray.set(arr, [slice(1, 3), slice(undefined, undefined)], value)
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
declare function slice$1(start?: number, stop?: number, step?: number): SliceSpec;
|
|
35
|
+
/**
|
|
36
|
+
* Set values in a multi-dimensional array using NumPy-style indexing
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```typescript
|
|
40
|
+
* const arr = [[1, 2, 3], [4, 5, 6]]
|
|
41
|
+
* // arr[:, 0] = 10 (set first column to 10)
|
|
42
|
+
* ndarray.set(arr, [slice(undefined, undefined), 0], 10)
|
|
43
|
+
* // arr is now [[10, 2, 3], [10, 5, 6]]
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
declare function set$1<T>(arr: T[][], indices: DimIndex[], value: T | T[] | T[][]): void;
|
|
47
|
+
|
|
1
48
|
/**
|
|
2
49
|
* Core Python operations for TypeScript
|
|
3
50
|
* Arithmetic operations with Python semantics, slicing, etc.
|
|
@@ -589,4 +636,4 @@ declare const set: {
|
|
|
589
636
|
isDisjoint<T>(a: Set<T>, b: Set<T>): boolean;
|
|
590
637
|
};
|
|
591
638
|
|
|
592
|
-
export {
|
|
639
|
+
export { map as A, max as B, min as C, mod as D, set$1 as E, slice$1 as F, oct as G, ord as H, range as I, repr as J, reversed as K, round as L, set as M, setattr as N, slice as O, sorted as P, sprintf as Q, str as R, strFormat as S, sum as T, tuple as U, type as V, zip as W, pow as X, repeat as Y, abs as a, all as b, any as c, ascii as d, at as e, bin as f, bool as g, chr as h, contains as i, dict as j, divMod as k, enumerate as l, filter as m, float as n, floorDiv as o, format as p, getattr as q, hasattr as r, hex as s, input as t, int as u, is as v, isinstance as w, iter as x, len as y, list as z };
|
|
@@ -110,4 +110,4 @@ declare namespace shutilModule {
|
|
|
110
110
|
export { shutilModule_copy as copy, shutilModule_copy2 as copy2, shutilModule_copyFile as copyFile, shutilModule_copyFileObj as copyFileObj, shutilModule_copyMode as copyMode, shutilModule_copyStat as copyStat, shutilModule_copytree as copytree, shutilModule_diskUsage as diskUsage, shutilModule_getTerminalSize as getTerminalSize, shutilModule_makeArchive as makeArchive, shutilModule_move as move, shutilModule_rmtree as rmtree, shutilModule_unpackArchive as unpackArchive, shutilModule_which as which };
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
export { copy2 as a,
|
|
113
|
+
export { copy2 as a, copyFile as b, copy as c, copyFileObj as d, copyMode as e, copyStat as f, copytree as g, diskUsage as h, getTerminalSize as i, move as j, makeArchive as m, rmtree as r, shutilModule as s, unpackArchive as u, which as w };
|
package/dist/shutil.browser.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { c as copy, a as copy2,
|
|
1
|
+
export { c as copy, a as copy2, b as copyFile, d as copyFileObj, e as copyMode, f as copyStat, g as copytree, h as diskUsage, i as getTerminalSize, m as makeArchive, j as move, r as rmtree, u as unpackArchive, w as which } from './shutil.browser-B2KrZkmH.js';
|
|
@@ -157,4 +157,4 @@ declare namespace shutilModule {
|
|
|
157
157
|
export { type shutilModule_DiskUsage as DiskUsage, shutilModule_copy as copy, shutilModule_copy2 as copy2, shutilModule_copyfile as copyfile, shutilModule_copyfileobj as copyfileobj, shutilModule_copymode as copymode, shutilModule_copystat as copystat, shutilModule_copytree as copytree, shutilModule_diskUsage as diskUsage, shutilModule_getTerminalSize as getTerminalSize, shutilModule_makeArchive as makeArchive, shutilModule_move as move, shutilModule_rmtree as rmtree, shutilModule_unpackArchive as unpackArchive, shutilModule_which as which };
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
export { type DiskUsage as D, copy2 as a,
|
|
160
|
+
export { type DiskUsage as D, copy2 as a, copyfile as b, copy as c, copyfileobj as d, copymode as e, copystat as f, copytree as g, diskUsage as h, getTerminalSize as i, move as j, makeArchive as m, rmtree as r, shutilModule as s, unpackArchive as u, which as w };
|
package/dist/shutil.node.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'node:fs';
|
|
2
|
-
export { D as DiskUsage, c as copy, a as copy2,
|
|
2
|
+
export { D as DiskUsage, c as copy, a as copy2, b as copyfile, d as copyfileobj, e as copymode, f as copystat, g as copytree, h as diskUsage, i as getTerminalSize, m as makeArchive, j as move, r as rmtree, u as unpackArchive, w as which } from './shutil.node-CfPOk808.js';
|
|
@@ -211,4 +211,4 @@ declare namespace subprocessModule {
|
|
|
211
211
|
export { subprocessModule_CalledProcessError as CalledProcessError, type subprocessModule_CompletedProcess as CompletedProcess, subprocessModule_DEVNULL as DEVNULL, subprocessModule_PIPE as PIPE, subprocessModule_Popen as Popen, subprocessModule_STDOUT as STDOUT, type subprocessModule_SubprocessOptions as SubprocessOptions, subprocessModule_TimeoutExpired as TimeoutExpired, subprocessModule_call as call, subprocessModule_checkCall as checkCall, subprocessModule_checkOutput as checkOutput, subprocessModule_getoutput as getoutput, subprocessModule_getstatusoutput as getstatusoutput, subprocessModule_run as run };
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { CalledProcessError as C, DEVNULL as D, PIPE as P, STDOUT as S, TimeoutExpired as T, type CompletedProcess as a, Popen as b, type SubprocessOptions as c, call as d, checkCall as e, checkOutput as f, getoutput as g, getstatusoutput as h, run as r, subprocessModule as s };
|
package/dist/subprocess.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { C as CalledProcessError, a as CompletedProcess, D as DEVNULL, P as PIPE, b as Popen, S as STDOUT, c as SubprocessOptions, T as TimeoutExpired, d as call, e as checkCall, f as checkOutput, g as getoutput, h as getstatusoutput, r as run } from './subprocess-CUhlCuFz.js';
|
|
@@ -209,4 +209,4 @@ declare namespace sysModule {
|
|
|
209
209
|
export { sysModule_apiVersion as apiVersion, sysModule_argv as argv, sysModule_byteorder as byteorder, sysModule_executable as executable, sysModule_exit as exit, sysModule_floatInfo as floatInfo, sysModule_getDefaultEncoding as getDefaultEncoding, sysModule_getFilesystemEncoding as getFilesystemEncoding, sysModule_getRecursionLimit as getRecursionLimit, sysModule_getRefCount as getRefCount, sysModule_getSizeOf as getSizeOf, sysModule_hashInfo as hashInfo, sysModule_intInfo as intInfo, sysModule_maxsize as maxsize, sysModule_path as path, sysModule_platform as platform, sysModule_prefix as prefix, sysModule_setRecursionLimit as setRecursionLimit, sysModule_stderr as stderr, sysModule_stdin as stdin, sysModule_stdout as stdout, sysModule_version as version, sysModule_versionInfo as versionInfo };
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
export {
|
|
212
|
+
export { apiVersion as a, argv as b, byteorder as c, exit as d, executable as e, floatInfo as f, getDefaultEncoding as g, getFilesystemEncoding as h, getRecursionLimit as i, getRefCount as j, getSizeOf as k, hashInfo as l, intInfo as m, maxsize as n, platform as o, path as p, prefix as q, setRecursionLimit as r, sysModule as s, stderr as t, stdin as u, stdout as v, version as w, versionInfo as x };
|
package/dist/sys.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { a as apiVersion, b as argv, c as byteorder, e as executable, d as exit, f as floatInfo, g as getDefaultEncoding, h as getFilesystemEncoding, i as getRecursionLimit, j as getRefCount, k as getSizeOf, l as hashInfo, m as intInfo, n as maxsize, p as path, o as platform, q as prefix, r as setRecursionLimit, t as stderr, u as stdin, v as stdout, w as version, x as versionInfo } from './sys-DpAIb7RU.js';
|
|
@@ -75,4 +75,4 @@ declare namespace tempfileModule {
|
|
|
75
75
|
export { tempfileModule_NamedTemporaryFile as NamedTemporaryFile, tempfileModule_TemporaryDirectory as TemporaryDirectory, tempfileModule_getPrefix as getPrefix, tempfileModule_getTempDir as getTempDir, tempfileModule_mkdtemp as mkdtemp, tempfileModule_mkstemp as mkstemp, tempfileModule_mktemp as mktemp };
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
export { NamedTemporaryFile as N, TemporaryDirectory as T,
|
|
78
|
+
export { NamedTemporaryFile as N, TemporaryDirectory as T, getTempDir as a, mkstemp as b, mktemp as c, getPrefix as g, mkdtemp as m, tempfileModule as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { N as NamedTemporaryFile, T as TemporaryDirectory,
|
|
1
|
+
export { N as NamedTemporaryFile, T as TemporaryDirectory, g as getPrefix, a as getTempDir, m as mkdtemp, b as mkstemp, c as mktemp } from './tempfile.browser-BOdaZiHa.js';
|
|
@@ -192,4 +192,4 @@ declare namespace tempfileModule {
|
|
|
192
192
|
export { tempfileModule_NamedTemporaryFile as NamedTemporaryFile, tempfileModule_TemporaryDirectory as TemporaryDirectory, tempfileModule_gettempdir as gettempdir, tempfileModule_gettempprefix as gettempprefix, tempfileModule_mkdtemp as mkdtemp, tempfileModule_mkstemp as mkstemp, tempfileModule_mktemp as mktemp, tempfileModule_namedTemporaryFile as namedTemporaryFile, tempfileModule_temporaryDirectory as temporaryDirectory };
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export { NamedTemporaryFile as N, TemporaryDirectory as T,
|
|
195
|
+
export { NamedTemporaryFile as N, TemporaryDirectory as T, gettempprefix as a, mkstemp as b, mktemp as c, temporaryDirectory as d, gettempdir as g, mkdtemp as m, namedTemporaryFile as n, tempfileModule as t };
|
package/dist/tempfile.node.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'node:fs/promises';
|
|
2
|
-
export { N as NamedTemporaryFile, T as TemporaryDirectory, g as gettempdir,
|
|
2
|
+
export { N as NamedTemporaryFile, T as TemporaryDirectory, g as gettempdir, a as gettempprefix, m as mkdtemp, b as mkstemp, c as mktemp, n as namedTemporaryFile, d as temporaryDirectory } from './tempfile.node-BER62KAg.js';
|
|
@@ -242,4 +242,4 @@ declare namespace timeModule {
|
|
|
242
242
|
export { type timeModule_StructTime as StructTime, timeModule_altzone as altzone, timeModule_asctime as asctime, timeModule_ctime as ctime, timeModule_daylight as daylight, timeModule_gmtime as gmtime, timeModule_localtime as localtime, timeModule_mktime as mktime, timeModule_monotonic as monotonic, timeModule_monotonicNs as monotonicNs, timeModule_perfCounter as perfCounter, timeModule_perfCounterNs as perfCounterNs, timeModule_processTime as processTime, timeModule_processTimeNs as processTimeNs, timeModule_sleep as sleep, timeModule_strftime as strftime, timeModule_strptime as strptime, timeModule_threadTime as threadTime, timeModule_threadTimeNs as threadTimeNs, timeModule_time as time, timeModule_timeNs as timeNs, timeModule_timezone as timezone, timeModule_tzname as tzname };
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
export { type StructTime as S,
|
|
245
|
+
export { type StructTime as S, altzone as a, asctime as b, ctime as c, daylight as d, monotonic as e, monotonicNs as f, gmtime as g, perfCounterNs as h, processTime as i, processTimeNs as j, strftime as k, localtime as l, mktime as m, strptime as n, threadTime as o, perfCounter as p, threadTimeNs as q, time as r, sleep as s, timeModule as t, timeNs as u, timezone as v, tzname as w };
|
package/dist/time.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { S as StructTime,
|
|
1
|
+
export { S as StructTime, a as altzone, b as asctime, c as ctime, d as daylight, g as gmtime, l as localtime, m as mktime, e as monotonic, f as monotonicNs, p as perfCounter, h as perfCounterNs, i as processTime, j as processTimeNs, s as sleep, k as strftime, n as strptime, o as threadTime, q as threadTimeNs, r as time, u as timeNs, v as timezone, w as tzname } from './time-dt9y-xi6.js';
|
|
@@ -195,4 +195,4 @@ declare namespace urllibModule {
|
|
|
195
195
|
export { type urllibModule_ParseResult as ParseResult, urllibModule_parse as parse, urllibModule_parseQs as parseQs, urllibModule_parseQsl as parseQsl, urllibModule_quote as quote, urllibModule_quotePlus as quotePlus, urllibModule_splithost as splithost, urllibModule_splitpasswd as splitpasswd, urllibModule_splitport as splitport, urllibModule_splittype as splittype, urllibModule_splituser as splituser, urllibModule_unquote as unquote, urllibModule_unquotePlus as unquotePlus, urllibModule_urlencode as urlencode, urllibModule_urljoin as urljoin, urllibModule_urlparse as urlparse, urllibModule_urlunparse as urlunparse };
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
export { type ParseResult as P,
|
|
198
|
+
export { type ParseResult as P, parseQs as a, parseQsl as b, quotePlus as c, splitpasswd as d, splitport as e, splittype as f, splituser as g, unquote as h, unquotePlus as i, urlencode as j, urljoin as k, urlparse as l, urlunparse as m, parse as p, quote as q, splithost as s, urllibModule as u };
|
package/dist/urllib.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { P as ParseResult,
|
|
1
|
+
export { P as ParseResult, p as parse, a as parseQs, b as parseQsl, q as quote, c as quotePlus, s as splithost, d as splitpasswd, e as splitport, f as splittype, g as splituser, h as unquote, i as unquotePlus, j as urlencode, k as urljoin, l as urlparse, m as urlunparse } from './urllib-C4RRgWck.js';
|
|
@@ -157,4 +157,4 @@ declare namespace uuidModule {
|
|
|
157
157
|
export { uuidModule_NAMESPACE_DNS as NAMESPACE_DNS, uuidModule_NAMESPACE_OID as NAMESPACE_OID, uuidModule_NAMESPACE_URL as NAMESPACE_URL, uuidModule_NAMESPACE_X500 as NAMESPACE_X500, uuidModule_UUID as UUID, uuidModule_uuid1 as uuid1, uuidModule_uuid3 as uuid3, uuidModule_uuid4 as uuid4, uuidModule_uuid5 as uuid5 };
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
export { NAMESPACE_DNS as N, UUID as U,
|
|
160
|
+
export { NAMESPACE_DNS as N, UUID as U, NAMESPACE_OID as a, NAMESPACE_URL as b, NAMESPACE_X500 as c, uuid1 as d, uuid3 as e, uuid4 as f, uuid5 as g, uuidModule as u };
|
package/dist/uuid.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { N as NAMESPACE_DNS,
|
|
1
|
+
export { N as NAMESPACE_DNS, a as NAMESPACE_OID, b as NAMESPACE_URL, c as NAMESPACE_X500, U as UUID, d as uuid1, e as uuid3, f as uuid4, g as uuid5 } from './uuid-Bu-VlGLA.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pythonlib",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "Python standard library for TypeScript - itertools, functools, collections, datetime, re, and more. Zero dependencies. Full TypeScript support.",
|
|
5
5
|
"homepage": "https://sebastian-software.github.io/python2ts/",
|
|
6
6
|
"repository": {
|