pythonlib 2.0.0 → 2.0.1

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/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # pythonlib
2
2
 
3
+ <div align="center">
4
+
5
+ **Python's Beloved Standard Library — Now in TypeScript**
6
+
3
7
  [![npm version](https://img.shields.io/npm/v/pythonlib.svg)](https://www.npmjs.com/package/pythonlib)
4
8
  [![npm downloads](https://img.shields.io/npm/dm/pythonlib.svg)](https://www.npmjs.com/package/pythonlib)
5
9
  [![Zero Dependencies](https://img.shields.io/badge/dependencies-0-brightgreen)](https://www.npmjs.com/package/pythonlib?activeTab=dependencies)
@@ -8,80 +12,148 @@
8
12
  [![Bun](https://img.shields.io/badge/Bun-compatible-f9f1e1?logo=bun&logoColor=black)](https://bun.sh/)
9
13
  [![License](https://img.shields.io/npm/l/pythonlib.svg)](https://github.com/sebastian-software/python2ts/blob/main/LICENSE)
10
14
 
11
- **Python's powerful standard library, TypeScript's familiar style** — itertools, functools,
12
- collections, and more.
15
+ </div>
16
+
17
+ ---
13
18
 
14
- > Zero dependencies · Full TypeScript support · Tree-shakeable · camelCase API · Works everywhere JS
15
- > runs
19
+ Miss `itertools.combinations`? Love `collections.Counter`? Wish you had `functools.lru_cache` in
20
+ JavaScript?
16
21
 
17
- ## Quick Start
22
+ **pythonlib** brings Python's most powerful utilities to TypeScript — zero dependencies, full type
23
+ safety, tree-shakeable.
24
+
25
+ ## Install
18
26
 
19
27
  ```bash
20
28
  npm install pythonlib
21
29
  ```
22
30
 
31
+ ## Why pythonlib?
32
+
33
+ | What You Get | Why It Matters |
34
+ | --------------------------- | ------------------------------------------------- |
35
+ | **Zero dependencies** | No supply chain bloat, minimal attack surface |
36
+ | **Full TypeScript support** | Generics, type inference, autocomplete everywhere |
37
+ | **Tree-shakeable** | Bundle only what you use |
38
+ | **camelCase API** | Feels native in TypeScript |
39
+ | **Works everywhere** | Browsers, Node.js, Deno, Bun, Workers |
40
+
41
+ ## Quick Examples
42
+
43
+ ### itertools — Combinatorics Made Easy
44
+
23
45
  ```typescript
24
- import { range, enumerate, sorted } from "pythonlib"
25
- import { combinations } from "pythonlib/itertools"
26
- import { Counter } from "pythonlib/collections"
27
- import { lruCache } from "pythonlib/functools"
28
-
29
- // Python-style iteration
30
- for (const i of range(10)) {
31
- console.log(i)
32
- }
46
+ import { combinations, permutations, product } from "pythonlib/itertools"
33
47
 
34
- // Combinatorics
35
- for (const combo of combinations([1, 2, 3], 2)) {
36
- console.log(combo) // [1,2], [1,3], [2,3]
37
- }
48
+ // All 2-element combinations
49
+ [...combinations([1, 2, 3], 2)]
50
+ // [[1, 2], [1, 3], [2, 3]]
51
+
52
+ // Cartesian product
53
+ [...product(["a", "b"], [1, 2])]
54
+ // → [["a", 1], ["a", 2], ["b", 1], ["b", 2]]
55
+ ```
56
+
57
+ ### collections — Data Structures That Just Work
38
58
 
39
- // Count occurrences
40
- const counter = new Counter("mississippi")
41
- counter.mostCommon(2) // [["i", 4], ["s", 4]]
59
+ ```typescript
60
+ import { Counter, defaultdict, deque } from "pythonlib/collections"
61
+
62
+ // Count anything
63
+ const votes = new Counter(["alice", "bob", "alice", "alice"])
64
+ votes.mostCommon(1) // → [["alice", 3]]
42
65
 
43
- // Memoization
66
+ // No more "undefined" checks
67
+ const graph = defaultdict(() => [])
68
+ graph.get("node1").push("node2") // Just works!
69
+
70
+ // Double-ended queue with O(1) operations
71
+ const dq = new deque([1, 2, 3])
72
+ dq.appendLeft(0) // [0, 1, 2, 3]
73
+ dq.pop() // [0, 1, 2]
74
+ ```
75
+
76
+ ### functools — Functional Programming Utilities
77
+
78
+ ```typescript
79
+ import { lruCache, partial, reduce } from "pythonlib/functools"
80
+
81
+ // Memoization with one line
44
82
  const fib = lruCache((n: number): number => (n <= 1 ? n : fib(n - 1) + fib(n - 2)))
83
+ fib(100) // Instant, even for large values
84
+
85
+ // Partial application
86
+ const greet = (greeting: string, name: string) => `${greeting}, ${name}!`
87
+ const sayHello = partial(greet, "Hello")
88
+ sayHello("World") // → "Hello, World!"
45
89
  ```
46
90
 
47
- ## Available Modules
91
+ ### Builtins — Python's Greatest Hits
48
92
 
49
- | Import Path | Contents | API Docs |
50
- | ----------------------- | -------------------------------------------------- | ------------------------------------------------------------------------ |
51
- | `pythonlib` | Builtins: `len`, `range`, `sorted`, `enumerate`... | [→](https://sebastian-software.github.io/python2ts/docs/api/index) |
52
- | `pythonlib/itertools` | `chain`, `combinations`, `zipLongest`, `takeWhile` | [→](https://sebastian-software.github.io/python2ts/docs/api/itertools) |
53
- | `pythonlib/functools` | `partial`, `reduce`, `lruCache`, `pipe` | [→](https://sebastian-software.github.io/python2ts/docs/api/functools) |
54
- | `pythonlib/collections` | `Counter`, `defaultdict`, `deque` | [→](https://sebastian-software.github.io/python2ts/docs/api/collections) |
55
- | `pythonlib/math` | `sqrt`, `floor`, `ceil`, `factorial`, `pi`, `e` | [→](https://sebastian-software.github.io/python2ts/docs/api/math) |
56
- | `pythonlib/random` | `randInt`, `choice`, `shuffle`, `sample` | [→](https://sebastian-software.github.io/python2ts/docs/api/random) |
57
- | `pythonlib/datetime` | `datetime`, `date`, `time`, `timedelta` | [→](https://sebastian-software.github.io/python2ts/docs/api/datetime) |
58
- | `pythonlib/json` | `loads`, `dumps` | [→](https://sebastian-software.github.io/python2ts/docs/api/json) |
59
- | `pythonlib/re` | `search`, `match`, `findAll`, `sub`, `compile` | [→](https://sebastian-software.github.io/python2ts/docs/api/re) |
60
- | `pythonlib/string` | `Template`, `capWords`, `asciiLowercase` | [→](https://sebastian-software.github.io/python2ts/docs/api/string) |
61
-
62
- > All function names use **camelCase** to feel native in TypeScript.
93
+ ```typescript
94
+ import { range, enumerate, zip, sorted, reversed } from "pythonlib"
63
95
 
64
- ## Documentation
96
+ // Python-style range
97
+ for (const i of range(5)) {
98
+ } // 0, 1, 2, 3, 4
99
+ for (const i of range(1, 10, 2)) {
100
+ } // 1, 3, 5, 7, 9
65
101
 
66
- **[📚 View Full Documentation](https://sebastian-software.github.io/python2ts/)**
102
+ // Enumerate with index
103
+ for (const [i, item] of enumerate(["a", "b", "c"])) {
104
+ console.log(i, item) // 0 "a", 1 "b", 2 "c"
105
+ }
106
+
107
+ // Zip multiple iterables
108
+ ;[...zip([1, 2, 3], ["a", "b", "c"])]
109
+ // → [[1, "a"], [2, "b"], [3, "c"]]
110
+ ```
111
+
112
+ ## Available Modules
67
113
 
68
- | Resource | Description |
69
- | ------------------------------------------------------------------------------ | ------------------------------------------- |
70
- | [Homepage](https://sebastian-software.github.io/python2ts/) | Project overview, features, and quick start |
71
- | [Runtime Guide](https://sebastian-software.github.io/python2ts/docs/runtime) | How to use pythonlib in your projects |
72
- | [API Reference](https://sebastian-software.github.io/python2ts/docs/api) | Complete API documentation for all modules |
73
- | [Syntax Reference](https://sebastian-software.github.io/python2ts/docs/syntax) | Python → TypeScript transformation rules |
114
+ | Module | Highlights | Docs |
115
+ | ----------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------ |
116
+ | `pythonlib` | `range`, `enumerate`, `zip`, `sorted`, `len`, `min`, `max` | [](https://sebastian-software.github.io/python2ts/docs/api/index) |
117
+ | `pythonlib/itertools` | `chain`, `combinations`, `permutations`, `product`, `cycle` | [](https://sebastian-software.github.io/python2ts/docs/api/itertools) |
118
+ | `pythonlib/functools` | `lruCache`, `partial`, `reduce`, `pipe`, `compose` | [](https://sebastian-software.github.io/python2ts/docs/api/functools) |
119
+ | `pythonlib/collections` | `Counter`, `defaultdict`, `deque`, `OrderedDict` | [](https://sebastian-software.github.io/python2ts/docs/api/collections) |
120
+ | `pythonlib/math` | `sqrt`, `floor`, `ceil`, `factorial`, `gcd`, `pi` | [→](https://sebastian-software.github.io/python2ts/docs/api/math) |
121
+ | `pythonlib/random` | `randInt`, `choice`, `shuffle`, `sample`, `random` | [→](https://sebastian-software.github.io/python2ts/docs/api/random) |
122
+ | `pythonlib/datetime` | `datetime`, `date`, `time`, `timedelta` | [→](https://sebastian-software.github.io/python2ts/docs/api/datetime) |
123
+ | `pythonlib/re` | `search`, `match`, `findAll`, `sub`, `compile` | [→](https://sebastian-software.github.io/python2ts/docs/api/re) |
124
+ | `pythonlib/json` | `loads`, `dumps` with Python semantics | [→](https://sebastian-software.github.io/python2ts/docs/api/json) |
125
+ | `pythonlib/string` | `Template`, `capWords`, `ascii_lowercase` | [→](https://sebastian-software.github.io/python2ts/docs/api/string) |
126
+ | `pythonlib/os` | `path.join`, `environ`, `getcwd` | [→](https://sebastian-software.github.io/python2ts/docs/api/os) |
127
+ | `pythonlib/pathlib` | `Path` class for filesystem operations | [→](https://sebastian-software.github.io/python2ts/docs/api/pathlib) |
128
+ | `pythonlib/glob` | File pattern matching | [→](https://sebastian-software.github.io/python2ts/docs/api/glob) |
129
+ | `pythonlib/hashlib` | `md5`, `sha256`, `sha512` hashing | [→](https://sebastian-software.github.io/python2ts/docs/api/hashlib) |
130
+ | `pythonlib/base64` | Base64 encoding/decoding | [→](https://sebastian-software.github.io/python2ts/docs/api/base64) |
131
+ | `pythonlib/uuid` | UUID generation | [→](https://sebastian-software.github.io/python2ts/docs/api/uuid) |
74
132
 
75
133
  ## Runtime Support
76
134
 
77
- Tested on every commit: **Node.js** (v22, v24) · **Bun** · **Deno** · **Browsers**
135
+ Works everywhere JavaScript runs:
136
+
137
+ - **Node.js** (v22, v24)
138
+ - **Bun**
139
+ - **Deno**
140
+ - **Browsers** (Chrome, Firefox, Safari)
141
+ - **Edge** (Cloudflare Workers, Vercel, AWS Lambda)
142
+
143
+ ## Documentation
78
144
 
79
- Also works in Cloudflare Workers, AWS Lambda, and other JS environments.
145
+ | Resource | Description |
146
+ | ---------------------------------------------------------------------------- | ------------------------------------------ |
147
+ | [Homepage](https://sebastian-software.github.io/python2ts/) | Project overview and quick start |
148
+ | [Runtime Guide](https://sebastian-software.github.io/python2ts/docs/runtime) | Detailed usage guide |
149
+ | [API Reference](https://sebastian-software.github.io/python2ts/docs/api) | Complete API documentation for all modules |
80
150
 
81
151
  ## Related
82
152
 
83
153
  - [**python2ts**](https://www.npmjs.com/package/python2ts) — Transpile Python to TypeScript
84
- - [**GitHub**](https://github.com/sebastian-software/python2ts) — Source code and issue tracker
154
+ automatically
155
+ - [**GitHub**](https://github.com/sebastian-software/python2ts) — Source code, issues, contributions
156
+ welcome
85
157
 
86
158
  ## License
87
159
 
package/dist/base64.js CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  standardB64encode,
16
16
  urlsafeB64decode,
17
17
  urlsafeB64encode
18
- } from "./chunk-3CLXPGAB.js";
18
+ } from "./chunk-HTCQ4OO5.js";
19
19
  import "./chunk-MLKGABMK.js";
20
20
  export {
21
21
  a85decode,
@@ -248,3 +248,5 @@ export {
248
248
  NAMESPACE_X500,
249
249
  uuid_exports
250
250
  };
251
+ /* v8 ignore start -- fallback for environments without crypto.randomUUID @preserve */
252
+ /* v8 ignore start -- fallback for environments without crypto @preserve */
@@ -106,12 +106,14 @@ var FileHandler = class extends Handler {
106
106
  this.filename = filename;
107
107
  this.mode = mode;
108
108
  }
109
+ /* v8 ignore start -- async file writing is tested via integration @preserve */
109
110
  emit(record) {
110
111
  const msg = this.format(record) + "\n";
111
112
  import("fs/promises").then((fs) => fs.appendFile(this.filename, msg)).catch(() => {
112
113
  console.log(msg);
113
114
  });
114
115
  }
116
+ /* v8 ignore stop */
115
117
  };
116
118
  var Formatter = class {
117
119
  fmt;
@@ -346,3 +346,4 @@ export {
346
346
  shutdown,
347
347
  logging_browser_exports
348
348
  };
349
+ /* v8 ignore start -- browser version tested via browser tests @preserve */
@@ -235,3 +235,4 @@ export {
235
235
  decodeString,
236
236
  base64_exports
237
237
  };
238
+ /* v8 ignore start -- browser fallback @preserve */
@@ -191,3 +191,5 @@ export {
191
191
  unpackArchive,
192
192
  shutil_node_exports
193
193
  };
194
+ /* v8 ignore next 3 -- Windows-specific check @preserve */
195
+ /* v8 ignore start -- stream operations are tested via integration @preserve */
@@ -359,3 +359,4 @@ export {
359
359
  threadTimeNs,
360
360
  time_exports
361
361
  };
362
+ /* v8 ignore next -- browser fallback @preserve */
@@ -186,3 +186,9 @@ export {
186
186
  hashInfo,
187
187
  sys_exports
188
188
  };
189
+ /* v8 ignore next -- browser fallback @preserve */
190
+ /* v8 ignore next 5 -- always returns empty array @preserve */
191
+ /* v8 ignore next 2 -- browser fallback @preserve */
192
+ /* v8 ignore next 3 -- always runs in Node.js @preserve */
193
+ /* v8 ignore start -- Set branch tested via getSizeOf(new Set()) @preserve */
194
+ /* v8 ignore next -- unreachable after typeof checks @preserve */
@@ -152,3 +152,4 @@ export {
152
152
  deepcopy,
153
153
  copy_exports
154
154
  };
155
+ /* v8 ignore start -- fallback for environments without structuredClone @preserve */
@@ -219,6 +219,7 @@ var Popen = class {
219
219
  await this.wait();
220
220
  return [this._stdout, this._stderr];
221
221
  }
222
+ /* v8 ignore start -- process control methods are hard to test reliably @preserve */
222
223
  /**
223
224
  * Send a signal to the process.
224
225
  */
@@ -237,6 +238,7 @@ var Popen = class {
237
238
  kill() {
238
239
  return this.process.kill("SIGKILL");
239
240
  }
241
+ /* v8 ignore stop */
240
242
  /**
241
243
  * The process ID.
242
244
  */
@@ -260,3 +260,6 @@ export {
260
260
  fileDigest,
261
261
  hashlib_exports
262
262
  };
263
+ /* v8 ignore start -- browser Web Crypto API path @preserve */
264
+ /* v8 ignore next 3 -- browser error path @preserve */
265
+ /* v8 ignore start -- browser fallback path @preserve */
package/dist/copy.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  copy,
3
3
  deepcopy
4
- } from "./chunk-LTXTS7RP.js";
4
+ } from "./chunk-RRSOZXZE.js";
5
5
  import "./chunk-MLKGABMK.js";
6
6
  export {
7
7
  copy,
package/dist/hashlib.js CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  sha3_256,
17
17
  sha3_512,
18
18
  sha512
19
- } from "./chunk-JJKTRIVO.js";
19
+ } from "./chunk-YONWJHJU.js";
20
20
  import "./chunk-MLKGABMK.js";
21
21
  export {
22
22
  algorithmsAvailable,
@@ -63,19 +63,19 @@ import {
63
63
  } from "./chunk-5OKGPZBQ.js";
64
64
  import {
65
65
  subprocess_exports
66
- } from "./chunk-LLZFLQS6.js";
66
+ } from "./chunk-THMJVAK6.js";
67
67
  import {
68
68
  sys_exports
69
- } from "./chunk-U4X5DEIP.js";
69
+ } from "./chunk-PVK4F3ME.js";
70
70
  import {
71
71
  time_exports
72
- } from "./chunk-KKHKTQNN.js";
72
+ } from "./chunk-MEEU4SH5.js";
73
73
  import {
74
74
  urllib_exports
75
75
  } from "./chunk-IANXD4D4.js";
76
76
  import {
77
77
  uuid_exports
78
- } from "./chunk-FCJ7E4OE.js";
78
+ } from "./chunk-2QEMKE7U.js";
79
79
  import {
80
80
  random_exports
81
81
  } from "./chunk-3M3PB4RO.js";
@@ -104,7 +104,7 @@ import {
104
104
  } from "./chunk-JAUU3HMH.js";
105
105
  import {
106
106
  logging_browser_exports
107
- } from "./chunk-5VAHUJNC.js";
107
+ } from "./chunk-CANUXHVB.js";
108
108
  import {
109
109
  math_exports
110
110
  } from "./chunk-QKJBQKPY.js";
@@ -114,13 +114,13 @@ import {
114
114
  import "./chunk-LHPQS75Z.js";
115
115
  import {
116
116
  base64_exports
117
- } from "./chunk-3CLXPGAB.js";
117
+ } from "./chunk-HTCQ4OO5.js";
118
118
  import {
119
119
  collections_exports
120
120
  } from "./chunk-MFKIEN7N.js";
121
121
  import {
122
122
  copy_exports
123
- } from "./chunk-LTXTS7RP.js";
123
+ } from "./chunk-RRSOZXZE.js";
124
124
  import {
125
125
  datetime_exports
126
126
  } from "./chunk-LK2L2TFG.js";
@@ -132,7 +132,7 @@ import {
132
132
  } from "./chunk-B5LQJODJ.js";
133
133
  import {
134
134
  hashlib_exports
135
- } from "./chunk-JJKTRIVO.js";
135
+ } from "./chunk-YONWJHJU.js";
136
136
  import "./chunk-MLKGABMK.js";
137
137
 
138
138
  // src/index.browser.ts
@@ -302,3 +302,4 @@ export {
302
302
  uuid,
303
303
  zip2 as zip
304
304
  };
305
+ /* v8 ignore start -- browser version tested via browser tests @preserve */
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-KKJHGY4C.js";
10
10
  import {
11
11
  shutil_node_exports
12
- } from "./chunk-B5AUEOAH.js";
12
+ } from "./chunk-JVTQM7CI.js";
13
13
  import {
14
14
  abs,
15
15
  all,
@@ -66,19 +66,19 @@ import {
66
66
  } from "./chunk-5OKGPZBQ.js";
67
67
  import {
68
68
  subprocess_exports
69
- } from "./chunk-LLZFLQS6.js";
69
+ } from "./chunk-THMJVAK6.js";
70
70
  import {
71
71
  sys_exports
72
- } from "./chunk-U4X5DEIP.js";
72
+ } from "./chunk-PVK4F3ME.js";
73
73
  import {
74
74
  time_exports
75
- } from "./chunk-KKHKTQNN.js";
75
+ } from "./chunk-MEEU4SH5.js";
76
76
  import {
77
77
  urllib_exports
78
78
  } from "./chunk-IANXD4D4.js";
79
79
  import {
80
80
  uuid_exports
81
- } from "./chunk-FCJ7E4OE.js";
81
+ } from "./chunk-2QEMKE7U.js";
82
82
  import {
83
83
  random_exports
84
84
  } from "./chunk-3M3PB4RO.js";
@@ -107,20 +107,20 @@ import {
107
107
  } from "./chunk-JAUU3HMH.js";
108
108
  import {
109
109
  logging_node_exports
110
- } from "./chunk-PWA3YQZU.js";
110
+ } from "./chunk-3HQSBCEC.js";
111
111
  import {
112
112
  math_exports
113
113
  } from "./chunk-QKJBQKPY.js";
114
114
  import "./chunk-LHPQS75Z.js";
115
115
  import {
116
116
  base64_exports
117
- } from "./chunk-3CLXPGAB.js";
117
+ } from "./chunk-HTCQ4OO5.js";
118
118
  import {
119
119
  collections_exports
120
120
  } from "./chunk-MFKIEN7N.js";
121
121
  import {
122
122
  copy_exports
123
- } from "./chunk-LTXTS7RP.js";
123
+ } from "./chunk-RRSOZXZE.js";
124
124
  import {
125
125
  datetime_exports
126
126
  } from "./chunk-LK2L2TFG.js";
@@ -132,7 +132,7 @@ import {
132
132
  } from "./chunk-RB6BYCIQ.js";
133
133
  import {
134
134
  hashlib_exports
135
- } from "./chunk-JJKTRIVO.js";
135
+ } from "./chunk-YONWJHJU.js";
136
136
  import "./chunk-MLKGABMK.js";
137
137
 
138
138
  // src/index.ts
@@ -28,7 +28,7 @@ import {
28
28
  shutdown,
29
29
  warn,
30
30
  warning
31
- } from "./chunk-5VAHUJNC.js";
31
+ } from "./chunk-CANUXHVB.js";
32
32
  import "./chunk-MLKGABMK.js";
33
33
  export {
34
34
  CRITICAL,
@@ -27,7 +27,7 @@ import {
27
27
  shutdown,
28
28
  warn,
29
29
  warning
30
- } from "./chunk-PWA3YQZU.js";
30
+ } from "./chunk-3HQSBCEC.js";
31
31
  import "./chunk-MLKGABMK.js";
32
32
  export {
33
33
  CRITICAL,
@@ -13,7 +13,7 @@ import {
13
13
  rmtree,
14
14
  unpackArchive,
15
15
  which
16
- } from "./chunk-B5AUEOAH.js";
16
+ } from "./chunk-JVTQM7CI.js";
17
17
  import "./chunk-MLKGABMK.js";
18
18
  export {
19
19
  copy,
@@ -11,7 +11,7 @@ import {
11
11
  getoutput,
12
12
  getstatusoutput,
13
13
  run
14
- } from "./chunk-LLZFLQS6.js";
14
+ } from "./chunk-THMJVAK6.js";
15
15
  import "./chunk-MLKGABMK.js";
16
16
  export {
17
17
  CalledProcessError,
package/dist/sys.js CHANGED
@@ -22,7 +22,7 @@ import {
22
22
  stdout,
23
23
  version,
24
24
  versionInfo
25
- } from "./chunk-U4X5DEIP.js";
25
+ } from "./chunk-PVK4F3ME.js";
26
26
  import "./chunk-MLKGABMK.js";
27
27
  export {
28
28
  apiVersion,
package/dist/time.js CHANGED
@@ -21,7 +21,7 @@ import {
21
21
  timeNs,
22
22
  timezone,
23
23
  tzname
24
- } from "./chunk-KKHKTQNN.js";
24
+ } from "./chunk-MEEU4SH5.js";
25
25
  import "./chunk-MLKGABMK.js";
26
26
  export {
27
27
  altzone,
package/dist/uuid.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  uuid3,
9
9
  uuid4,
10
10
  uuid5
11
- } from "./chunk-FCJ7E4OE.js";
11
+ } from "./chunk-2QEMKE7U.js";
12
12
  import "./chunk-MLKGABMK.js";
13
13
  export {
14
14
  NAMESPACE_DNS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pythonlib",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
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": {
@@ -16,6 +16,7 @@
16
16
  "url": "https://github.com/sponsors/sebastian-software"
17
17
  },
18
18
  "type": "module",
19
+ "sideEffects": false,
19
20
  "main": "dist/index.js",
20
21
  "types": "dist/index.d.ts",
21
22
  "exports": {