Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Distributive-Network/PythonMonkey
/ functions
Functions
1,259 in github.com/Distributive-Network/PythonMonkey
⨍
Functions
1,259
◇
Types & classes
69
↓ 124 callers
Method
set
* Sets the value associated to a given search parameter to the given value. If there were several values, delete the others. * * [MDN Reference]
python/pythonmonkey/builtin_modules/url.d.ts:100
↓ 89 callers
Method
get
* Returns the first value associated to the given search parameter. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchPara
python/pythonmonkey/builtin_modules/url.d.ts:82
↓ 66 callers
Function
jsTypeFactory
src/jsTypeFactory.cc:135
↓ 55 callers
Function
pyTypeFactory
src/pyTypeFactory.cc:40
↓ 37 callers
Method
toString
()
python/pythonmonkey/builtin_modules/url.d.ts:28
↓ 24 callers
Function
require
(moduleIdentifier: str)
python/pythonmonkey/require.py:427
↓ 18 callers
Method
append
* Appends a specified key/value pair as a new search parameter. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/a
python/pythonmonkey/builtin_modules/url.d.ts:70
↓ 18 callers
Method
sort
[MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/sort)
python/pythonmonkey/builtin_modules/url.d.ts:102
↓ 16 callers
Function
c
()
tests/python/test_event_loop.py:257
↓ 16 callers
Method
dispatchEvent
* Send an Event to the target, (synchronously) invoking the affected event listeners in the appropriate order. * @param {Event} event The Event obj
python/pythonmonkey/builtin_modules/event-target.js:141
↓ 13 callers
Function
idToKey
src/PyBaseProxyHandler.cc:19
↓ 12 callers
Method
#debug
* Wrapper to print debug logs with connection id information * @param {string} selector
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:117
↓ 12 callers
Function
formatProperty
(ctx, value, recurseTimes, key, array)
python/pythonmonkey/builtin_modules/util.js:984
↓ 12 callers
Function
setSpiderMonkeyException
src/setSpiderMonkeyException.cc:77
↓ 11 callers
Function
getEvalOption
src/modules/pythonmonkey/pythonmonkey.cc:329
↓ 10 callers
Function
test_bigint
(py_number: int)
tests/python/test_bigints.py:7
↓ 10 callers
Method
write
(self, writer)
python/pythonmonkey/builtin_modules/XMLHttpRequest-internal.py:61
↓ 9 callers
Function
async_fn
()
tests/python/test_event_loop.py:7
↓ 9 callers
Function
keyToId
src/JSObjectProxy.cc:36
↓ 8 callers
Function
add
(a, b, c)
tests/python/test_event_loop.py:71
↓ 8 callers
Function
execute
(cmd: str, cwd: Optional[str] = None)
build.py:24
↓ 8 callers
Function
f
()
tests/python/test_lists.py:476
↓ 8 callers
Function
makeNewPyMethod
private util if function is a proxy for a python method, mutate it into a new python method bound to thisObject
src/PyListProxyHandler.cc:34
↓ 8 callers
Function
should_raise
(num)
tests/python/test_bigints.py:89
↓ 7 callers
Function
assert_empty_arraybuffer
(buf)
tests/python/test_buffer_typed_array.py:172
↓ 7 callers
Function
formatValue
(ctx, value, recurseTimes, ln)
python/pythonmonkey/builtin_modules/util.js:442
↓ 7 callers
Function
ident
(x)
tests/python/test_pythonmonkey_eval.py:311
↓ 7 callers
Method
initialized
include/PyEventLoop.hh:26
↓ 6 callers
Function
_PyArg_CheckPositional
include/pyshim.hh:47
↓ 6 callers
Function
setTimeout
* Implement the `setTimeout` global function * @see https://developer.mozilla.org/en-US/docs/Web/API/setTimeout and * @see https://html.spec.whatwg.
python/pythonmonkey/builtin_modules/timers.js:150
↓ 5 callers
Method
#formatToStr
* Format with appropriate grouping level * @return {string}
python/pythonmonkey/builtin_modules/console.js:191
↓ 5 callers
Function
all_contained_in
private
src/JSObjectKeysProxy.cc:61
↓ 5 callers
Function
assert_empty_typedarray
(buf: memoryview, typecode: str)
tests/python/test_buffer_typed_array.py:157
↓ 5 callers
Function
formatPrimitive
(fn, value)
python/pythonmonkey/builtin_modules/util.js:742
↓ 5 callers
Method
init
src/JobQueue.cc:80
↓ 5 callers
Function
inspect
(obj, opts = undefined)
python/pythonmonkey/builtin_modules/util.js:333
↓ 5 callers
Function
objectToString
(o)
python/pythonmonkey/builtin_modules/util.js:92
↓ 4 callers
Method
#reportRequestError
* @see https://xhr.spec.whatwg.org/#request-error-steps * @param {string} event event type * @param {DOMException} exception
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:462
↓ 4 callers
Method
close
* Cancels the timeout. * @deprecated legacy Node.js API. Use `clearTimeout()` instead
python/pythonmonkey/builtin_modules/timers.js:84
↓ 4 callers
Function
getKey
src/JSObjectProxy.cc:83
↓ 4 callers
Function
idToIndex
src/PyBaseProxyHandler.cc:35
↓ 4 callers
Function
not_raise
(num)
tests/python/test_bigints.py:86
↓ 4 callers
Function
should_js_error
(a, b)
tests/python/test_bigints.py:116
↓ 4 callers
Function
tb_print_line_repeated
src/ExceptionType.cc:64
↓ 4 callers
Function
test_boxed_bigint
(py_number: int)
tests/python/test_bigints.py:53
↓ 3 callers
Method
#mergeReceivedBytes
* Concatenate received bytes into one single Uint8Array
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:713
↓ 3 callers
Function
PyDictView_New
* @brief Shim for `_PyDictView_New`. * Since Python 3.13, `_PyDictView_New` function became an internal API. * @see Modified from https://git
include/pyshim.hh:81
↓ 3 callers
Function
PyObject_CallOneArg
include/pyshim.hh:126
↓ 3 callers
Function
PythonLong_SetSign
* @brief Set the sign bit of a Python int * PyLongObject is no longer an extension of PyVarObject struct in Python 3.12+, so we have to handle them d
src/IntType.cc:42
↓ 3 callers
Function
_normalizeTimerArgs
* Normalize the arguments to `setTimeout`,`setImmediate` or `setInterval` * @param {Function | string} handler * @param {number} delayMs timeout mil
python/pythonmonkey/builtin_modules/timers.js:104
↓ 3 callers
Function
array_iterator_func
private util
src/PyBytesProxyHandler.cc:194
↓ 3 callers
Function
array_iterator_func
private util
src/PyListProxyHandler.cc:1907
↓ 3 callers
Function
assert_empty_py_buffer
(buf, type: str)
tests/python/test_buffer_typed_array.py:148
↓ 3 callers
Function
b
(x)
tests/python/test_pythonmonkey_eval.py:160
↓ 3 callers
Function
concatenate
(a, b)
tests/python/test_pythonmonkey_eval.py:359
↓ 3 callers
Function
coro_to_throw0
()
tests/python/test_event_loop.py:281
↓ 3 callers
Method
decCounter
* @brief Decrement the counter for the number of our job functions in the Python event-loop */
include/PyEventLoop.hh:289
↓ 3 callers
Function
enqueueWithDelay
src/internalBinding/timers.cc:25
↓ 3 callers
Function
formatNumber
(fn, value)
python/pythonmonkey/builtin_modules/util.js:734
↓ 3 callers
Method
getOwnPropertyDescriptor
src/PyListProxyHandler.cc:1995
↓ 3 callers
Method
hasOwn
src/PyDictProxyHandler.cc:85
↓ 3 callers
Method
incCounter
* @brief Increment the counter for the number of our job functions in the Python event-loop */
include/PyEventLoop.hh:281
↓ 3 callers
Function
join
* @param {string[]} output * @param {string} separator
python/pythonmonkey/builtin_modules/util.js:38
↓ 3 callers
Function
jsTypeFactorySafe
src/jsTypeFactory.cc:313
↓ 3 callers
Function
list_slice
private
src/JSArrayProxy.cc:86
↓ 3 callers
Method
removeRef
* @brief Unref the timer so that the event-loop can exit */
include/PyEventLoop.hh:130
↓ 3 callers
Function
swapItems
src/PyListProxyHandler.cc:1625
↓ 2 callers
Function
_enqueueWithDelay
src/PyEventLoop.cc:80
↓ 2 callers
Method
addRef
* @brief Ref the timer so that the event-loop won't exit as long as the timer is active */
include/PyEventLoop.hh:118
↓ 2 callers
Function
assert_js_to_py_memoryview
(buf: memoryview)
tests/python/test_buffer_typed_array.py:13
↓ 2 callers
Function
assignKeyValue
src/JSObjectProxy.cc:179
↓ 2 callers
Method
cancel
src/PyEventLoop.cc:242
↓ 2 callers
Function
coro_fn
(x)
tests/python/test_event_loop.py:172
↓ 2 callers
Function
coro_to_throw1
()
tests/python/test_event_loop.py:291
↓ 2 callers
Function
createInternalBindingsForNamespace
src/internalBinding.cc:16
↓ 2 callers
Function
createRequire
returns a require function that resolves modules relative to the filename argument. Conceptually the same as node:module.createRequire(). exam
python/pythonmonkey/require.py:377
↓ 2 callers
Function
decodeStr
(data: bytes, encoding='utf-8')
python/pythonmonkey/builtin_modules/XMLHttpRequest-internal.py:134
↓ 2 callers
Function
dictview_len
private
src/JSObjectKeysProxy.cc:224
↓ 2 callers
Method
enqueue
src/PyEventLoop.cc:71
↓ 2 callers
Function
fn1
()
tests/python/test_pythonmonkey_eval.py:320
↓ 2 callers
Function
format
(f)
python/pythonmonkey/builtin_modules/util.js:235
↓ 2 callers
Function
formatError
* Format an instance of Error. Error is the only type which is typically displayed using two different * colours -- the stack gets darker at the bot
python/pythonmonkey/builtin_modules/util.js:763
↓ 2 callers
Method
getAllResponseHeaders
Implementation of the `xhr.getAllResponseHeaders` method
python/pythonmonkey/builtin_modules/XMLHttpRequest-internal.d.ts:25
↓ 2 callers
Method
getDebugInfo
include/PyEventLoop.hh:143
↓ 2 callers
Function
getExceptionString
src/setSpiderMonkeyException.cc:22
↓ 2 callers
Method
getFutureObject
* @brief Get the underlying `asyncio.Future` Python object */
include/PyEventLoop.hh:228
↓ 2 callers
Method
getPyString
src/jsTypeFactory.cc:55
↓ 2 callers
Function
getPythonMonkeyBigInt
src/modules/pythonmonkey/pythonmonkey.cc:108
↓ 2 callers
Function
getPythonMonkeyNull
src/modules/pythonmonkey/pythonmonkey.cc:101
↓ 2 callers
Method
hasRef
* @brief Getter for if the timer has been ref'ed */
include/PyEventLoop.hh:111
↓ 2 callers
Method
isArray
src/PyListProxyHandler.cc:2168
↓ 2 callers
Function
iter_next
src/PyIterableProxyHandler.cc:25
↓ 2 callers
Function
mergeFromSeq2
private
src/JSObjectProxy.cc:478
↓ 2 callers
Function
normalizeSliceTerm
private util
src/PyListProxyHandler.cc:180
↓ 2 callers
Method
ownPropertyKeys
src/PyObjectProxyHandler.cc:98
↓ 2 callers
Method
ownPropertyKeys
src/PyDictProxyHandler.cc:29
↓ 2 callers
Function
quickSort
Adapted from Kernigan&Ritchie's C book
src/PyListProxyHandler.cc:1656
↓ 2 callers
Function
reduceToSingleString
(ctx, output, base, braces, addLn)
python/pythonmonkey/builtin_modules/util.js:1039
↓ 2 callers
Function
setPyException
src/jsTypeFactory.cc:329
↓ 2 callers
Function
strEscape
(str)
python/pythonmonkey/builtin_modules/util.js:172
next →
1–100 of 1,259, ranked by callers