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
↓ 2 callers
Function
test_cached_int_object
(py_number)
tests/python/test_bigints.py:17
↓ 2 callers
Function
trunc
* Truncate a string-like thing for display purposes, returning a string. * @param {any} what The thing to truncate; must have a slice method
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:26
↓ 2 callers
Function
updateCharBufferPointers
* @brief During a GC, string buffers may have moved, so we need to re-point our JSStringProxies * The char buffer pointer obtained by previous `JS::G
src/modules/pythonmonkey/pythonmonkey.cc:56
↓ 2 callers
Function
usage
()
python/pythonmonkey/cli/pmjs.py:285
↓ 1 callers
Method
#getTextResponse
* @see https://xhr.spec.whatwg.org/#text-response * @return {string}
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:600
↓ 1 callers
Method
#handleErrors
* @see https://xhr.spec.whatwg.org/#handle-errors * @param {Error} e
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:445
↓ 1 callers
Method
#sendAsync
* @see https://xhr.spec.whatwg.org/#dom-xmlhttprequest-send step 11
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:339
↓ 1 callers
Method
#sendSync
* @see https://xhr.spec.whatwg.org/#dom-xmlhttprequest-send step 12
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:435
↓ 1 callers
Function
DefineBytesIterator
src/PyBytesProxyHandler.cc:175
↓ 1 callers
Function
DefineIterableIterator
src/PyIterableProxyHandler.cc:156
↓ 1 callers
Function
DefineListIterator
src/PyListProxyHandler.cc:1888
↓ 1 callers
Function
FlattenIntoArray
private
src/PyListProxyHandler.cc:1254
↓ 1 callers
Function
FlattenIntoArrayWithCallBack
private
src/PyListProxyHandler.cc:1317
↓ 1 callers
Function
PyErr_SetKeyError
* @brief Shim for `_PyErr_SetKeyError`. * Since Python 3.13, `_PyErr_SetKeyError` function became an internal API. */
include/pyshim.hh:100
↓ 1 callers
Function
PyLong_AsByteArray
* @brief Shim for `_PyLong_AsByteArray`. * Python 3.13.0a4 added a new public API `PyLong_AsNativeBytes()` to replace the private `_PyLong_AsB
include/pyshim.hh:137
↓ 1 callers
Function
PythonAwaitable_Check
src/PromiseType.cc:141
↓ 1 callers
Function
PythonLong_IsNegative
* @brief Test if the Python int is negative */
src/IntType.cc:57
↓ 1 callers
Function
UCS4ToUTF16
src/jsTypeFactory.cc:114
↓ 1 callers
Method
_hasAnyListeners
* Determine whether the target has any kind of event listeners
python/pythonmonkey/builtin_modules/event-target.js:168
↓ 1 callers
Function
a
()
tests/python/test_event_loop.py:249
↓ 1 callers
Method
abort
Implementation of the `xhr.abort` method
python/pythonmonkey/builtin_modules/XMLHttpRequest-internal.d.ts:27
↓ 1 callers
Method
addDoneCallback
src/PyEventLoop.cc:288
↓ 1 callers
Function
array_indexOf
src/PyListProxyHandler.cc:238
↓ 1 callers
Function
array_join
src/PyListProxyHandler.cc:1493
↓ 1 callers
Function
array_valueOf
src/PyBytesProxyHandler.cc:21
↓ 1 callers
Function
asUCS4
* @brief creates new UCS4-encoded pyObject string. This must be called by the user if the original JSString contains any surrogate pairs * * @return
src/StrType.cc:72
↓ 1 callers
Function
async_fn
()
tests/python/test_pythonmonkey_eval.py:183
↓ 1 callers
Function
async_fn
()
tests/python/test_xhr.py:33
↓ 1 callers
Function
b
()
tests/python/test_event_loop.py:253
↓ 1 callers
Function
build
()
build.py:68
↓ 1 callers
Function
cancelByTimeoutId
src/internalBinding/timers.cc:55
↓ 1 callers
Method
cancelled
src/PyEventLoop.cc:260
↓ 1 callers
Function
clearTimeout
* Implement the `clearTimeout` global function * @see https://developer.mozilla.org/en-US/docs/Web/API/clearTimeout and * @see https://html.spec.wha
python/pythonmonkey/builtin_modules/timers.js:163
↓ 1 callers
Function
containsOnlyAscii
* @brief check if the Latin-1 encoded `chars` only contain ascii characters */
src/StrType.cc:59
↓ 1 callers
Function
containsSurrogatePair
* @brief check if UTF-16 encoded `chars` contain a surrogate pair */
src/StrType.cc:47
↓ 1 callers
Function
copy_artifacts
()
build.py:58
↓ 1 callers
Method
createFuture
src/PyEventLoop.cc:105
↓ 1 callers
Function
createInternalBinding
* @brief Create the JS `internalBinding` function */
src/internalBinding.cc:50
↓ 1 callers
Method
defineProperty
src/PyListProxyHandler.cc:2102
↓ 1 callers
Method
delete
* Deletes the given search parameter, and its associated value, from the list of all search parameters. * * [MDN Reference](https://developer.mo
python/pythonmonkey/builtin_modules/url.d.ts:76
↓ 1 callers
Method
enqueueWithDelay
src/PyEventLoop.cc:95
↓ 1 callers
Method
ensureFuture
src/PyEventLoop.cc:111
↓ 1 callers
Function
ensure_spidermonkey
()
build.py:37
↓ 1 callers
Function
eval
* Implement the pythonmonkey.eval function. From Python-land, that function has the following API: * argument 0 - unicode string of JS code or open f
src/modules/pythonmonkey/pythonmonkey.cc:379
↓ 1 callers
Function
execute
(cmd: str)
python/pminit/post-install-hook.py:5
↓ 1 callers
Function
execute
(cmd: str, cwd: str)
python/pminit/pminit/cli.py:5
↓ 1 callers
Function
formatSpecialArray
(ctx, value, recurseTimes, keys, maxLength, valLen)
python/pythonmonkey/builtin_modules/util.js:795
↓ 1 callers
Function
getConstructorOf
(obj)
python/pythonmonkey/builtin_modules/util.js:98
↓ 1 callers
Method
getException
src/PyEventLoop.cc:307
↓ 1 callers
Function
getInternalBindingPyFn
* @brief Convert the `internalBinding(namespace)` function to a Python function */
src/internalBinding.cc:57
↓ 1 callers
Function
getInternalBindingsByNamespace
TODO (Tom Tang): figure out a better way to register InternalBindings to namespace
src/internalBinding.cc:23
↓ 1 callers
Function
getPromiseDetails
src/internalBinding/utils.cc:71
↓ 1 callers
Function
getProxyDetails
src/internalBinding/utils.cc:87
↓ 1 callers
Method
getResponseHeader
Implementation of the `xhr.getResponseHeader` method
python/pythonmonkey/builtin_modules/XMLHttpRequest-internal.d.ts:23
↓ 1 callers
Method
getResult
src/PyEventLoop.cc:302
↓ 1 callers
Function
helloWorld
()
examples/use-python-module/my-python-module.py:1
↓ 1 callers
Function
initGlobalThis
Initialize globalThis for pmjs use in the extra-module context (eg -r, -e, -p). This context needs a require function which resolves modules rela
python/pythonmonkey/cli/pmjs.py:308
↓ 1 callers
Function
invokeCallBack
src/PyListProxyHandler.cc:1636
↓ 1 callers
Function
isAnyArrayBuffer
src/internalBinding/utils.cc:38
↓ 1 callers
Function
isDataView
* @return {o is DataView}
python/pythonmonkey/builtin_modules/util.js:78
↓ 1 callers
Function
isDate
* @return {o is Date}
python/pythonmonkey/builtin_modules/util.js:54
↓ 1 callers
Function
isError
* @return {o is Error}
python/pythonmonkey/builtin_modules/util.js:46
↓ 1 callers
Function
isExternal
(o)
python/pythonmonkey/builtin_modules/util.js:87
↓ 1 callers
Function
isMap
* @return {o is Map}
python/pythonmonkey/builtin_modules/util.js:70
↓ 1 callers
Function
isPromise
src/internalBinding/utils.cc:45
↓ 1 callers
Function
isRegExp
src/internalBinding/utils.cc:53
↓ 1 callers
Function
isSet
* @return {o is Set}
python/pythonmonkey/builtin_modules/util.js:62
↓ 1 callers
Function
isTypedArray
src/internalBinding/utils.cc:64
↓ 1 callers
Function
list_ass_slice
a[ilow:ihigh] = v if v != NULL. * del a[ilow:ihigh] if v == NULL. */ private
src/JSArrayProxy.cc:166
↓ 1 callers
Function
main
()
python/pminit/post-install-hook.py:17
↓ 1 callers
Function
main
Main program entry point
python/pythonmonkey/cli/pmjs.py:326
↓ 1 callers
Function
outerScope
()
tests/python/test_functions_this.py:181
↓ 1 callers
Function
printTimersDebugInfo
()
python/pythonmonkey/lib/wtfpm.py:9
↓ 1 callers
Function
pyFunc
(param)
tests/python/test_functions_this.py:8
↓ 1 callers
Method
queueFinalizationRegistryCallback
src/JobQueue.cc:167
↓ 1 callers
Function
quit
Quit the REPL. Repl saved by atexit handler.
python/pythonmonkey/cli/pmjs.py:181
↓ 1 callers
Method
ref
* When called, requests that the event-loop **not exit** so long as the `Timeout` is active. * * By default, all `Timeout` objects are "ref'e
python/pythonmonkey/builtin_modules/timers.js:51
↓ 1 callers
Function
repl
Start a REPL to evaluate JavaScript code in the extra-module environment. Multi-line statements and readline history are supported. ^C support is
python/pythonmonkey/cli/pmjs.py:153
↓ 1 callers
Function
request
( method: str, url: str, headers: dict, body: Union[str, ByteString], timeoutMs: float,
python/pythonmonkey/builtin_modules/XMLHttpRequest-internal.py:31
↓ 1 callers
Function
runEval
()
python/pythonmonkey/cli/pmjs.py:358
↓ 1 callers
Function
runEvalPrint
()
python/pythonmonkey/cli/pmjs.py:364
↓ 1 callers
Method
runFinalizationRegistryCallbacks
src/JobQueue.cc:171
↓ 1 callers
Function
runJS
()
python/pythonmonkey/cli/pmjs.py:380
↓ 1 callers
Function
runREPL
()
python/pythonmonkey/cli/pmjs.py:419
↓ 1 callers
Function
run_cmake_build
()
build.py:47
↓ 1 callers
Method
setDebugInfo
* @brief Set the debug info object for WTFPythonMonkey tool */
include/PyEventLoop.hh:140
↓ 1 callers
Method
setException
src/PyEventLoop.cc:282
↓ 1 callers
Method
setResult
src/PyEventLoop.cc:276
↓ 1 callers
Function
style
(str)
python/pythonmonkey/builtin_modules/util.js:765
↓ 1 callers
Method
swap
* @brief Replace the underlying `asyncio.Handle` Python object with the provided value * @return the old `asyncio.Handle` object */
include/PyEventLoop.hh:104
↓ 1 callers
Function
tb_get_lineno
src/ExceptionType.cc:53
↓ 1 callers
Function
timerAddRef
src/internalBinding/timers.cc:84
↓ 1 callers
Function
timerHasRef
src/internalBinding/timers.cc:72
↓ 1 callers
Function
timerRemoveRef
src/internalBinding/timers.cc:98
↓ 1 callers
Function
toPrimitive
src/PyIterableProxyHandler.cc:69
↓ 1 callers
Function
tryStringify
(arg)
python/pythonmonkey/builtin_modules/util.js:209
↓ 1 callers
Function
typeof
typeof function - wraps JS typeof operator
python/pythonmonkey/helpers.py:14
Method
#receivedLength
* Get received bytes’s total length
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:705
Method
AsyncHandle
include/PyEventLoop.hh:37
Function
BytesIteratorConstructor
src/PyBytesProxyHandler.cc:158
← previous
next →
101–200 of 1,259, ranked by callers