Skip to content

Commit

Permalink
Add more inbuilt libraries (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric05 authored Feb 12, 2024
1 parent 9a0c09f commit a36138a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dothttp/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.43a4'
__version__ = '0.0.43a5'
7 changes: 7 additions & 0 deletions dothttp/js3py.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
from dataclasses import dataclass, field
import unittest
import uuid
import urllib
import urllib.parse
import cryptography
from cryptography import *

import js2py
from js2py.base import JsObjectWrapper
Expand Down Expand Up @@ -57,6 +61,9 @@ def write_guard(x):
'csv': csv,
'uuid': uuid,
'base64': base64,
'urllib': urllib,
'open': open,
'cryptography': cryptography
}
allowed_global.update(safe_globals)

Expand Down

0 comments on commit a36138a

Please sign in to comment.