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
Function
js_sort_compare_default
private
src/PyListProxyHandler.cc:1686
Function
load
Loads a python module using the importlib machinery sourcefileloader, prefills it with an exports object and returns the module. If the module
python/pythonmonkey/require.py:278
Method
log_request
(self, *args)
tests/python/test_xhr.py:9
Function
looksNative
(fn)
tests/js/quint.js:50
Function
main
()
python/pminit/pminit/cli.py:22
Function
myFunc
(e, f)
tests/python/test_arrays.py:860
Function
myFunc
(e, f)
tests/python/test_lists.py:828
Function
name
(x, name)
tests/js/quint.js:17
Function
new
new function - emits function which wraps JS new operator, emitting a lambda which constructs a new JS object upon invocation.
python/pythonmonkey/helpers.py:26
Method
newEmpty
* @brief Create a new `AsyncHandle` without an associated `asyncio.Handle` Python object * @return the timeoutId */
include/PyEventLoop.hh:50
Function
nurseryCollectionCallback
src/modules/pythonmonkey/pythonmonkey.cc:82
Function
onResolvedCb
src/PromiseType.cc:29
Method
open
* Sets the request method, request URL, and synchronous flag. * @typedef {'DELETE' | 'GET' | 'HEAD' | 'OPTIONS' | 'POST' | 'PUT'} Method * @para
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:171
Method
overrideMimeType
* Acts as if the `Content-Type` header value for a response is mime. * (It does not change the header.) * @param {string} mime
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:575
Method
ownPropertyKeys
src/PyListProxyHandler.cc:2138
Method
preventExtensions
src/PyBaseProxyHandler.cc:53
Method
processBodyChunk
(/** @type {Uint8Array} */ bytes)
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:383
Method
processEndOfBody
()
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:396
Method
processRequestBodyChunkLength
(/** @type {number} */ bytesLength)
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:353
Method
processRequestEndOfBody
()
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:361
Method
processResponse
(response)
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:372
Method
promiseRejectionTracker
src/JobQueue.cc:130
Method
proxifyString
src/StrType.cc:108
Function
pyFunc
()
tests/python/test_pythonmonkey_eval.py:332
Function
py_sleep
(seconds)
tests/python/test_event_loop.py:330
Function
pythonmonkeyGCCallback
src/modules/pythonmonkey/pythonmonkey.cc:74
Function
readFileSync
Utility function for reading files. Returns: str: The contents of the file
python/pythonmonkey/require.py:241
Method
readyState
* Returns client's state.
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:153
Method
refresh
* Sets the timer's start time to the current time, * and reschedules the timer to call its callback at the previously specified duration adjusted
python/pythonmonkey/builtin_modules/timers.js:73
Method
removeEventListener
* Remove an event listener previously registered with EventTarget.addEventListener() from the target. * @param {string} type A string which specifi
python/pythonmonkey/builtin_modules/event-target.js:131
Method
response
* Returns the response body. * @see https://xhr.spec.whatwg.org/#the-response-attribute
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:612
Method
responseText
* Returns response as text.
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:655
Method
responseType
* @typedef {"" | "arraybuffer" | "blob" | "document" | "json" | "text"} ResponseType
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:583
Method
responseURL
* @return {string}
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:517
Method
responseXML
* Returns the response as document.
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:668
Method
runJobs
src/JobQueue.cc:57
Function
runProgramModule
Run the program module. This loads the code from disk, sets up the execution environment, and then invokes the program module (aka main module).
python/pythonmonkey/require.py:401
Function
same
(a, b)
tests/js/quint.js:29
Method
saveJobQueue
src/JobQueue.cc:71
Function
save_history
()
python/pythonmonkey/cli/pmjs.py:174
Method
send
* Initiates the request. * @typedef {TypedArray | DataView | ArrayBuffer | URLSearchParams | string} XMLHttpRequestBodyInit * @param {XMLHttpReq
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:281
Function
sendJobToMainLoop
src/JobQueue.cc:114
Function
set
(options)
python/pythonmonkey/builtin_modules/util.js:384
Method
set
src/PyBytesProxyHandler.cc:256
Method
set
src/PyObjectProxyHandler.cc:153
Method
set
src/PyDictProxyHandler.cc:64
Function
setImmediate
* Implement the `setImmediate` global function * **NON-STANDARD**, for Node.js compatibility only. * @see https://developer.mozilla.org/en-US/docs
python/pythonmonkey/builtin_modules/timers.js:180
Function
setInterval
* Implement the `setInterval` global function * @see https://developer.mozilla.org/en-US/docs/Web/API/setInterval and * @see https://html.spec.whatw
python/pythonmonkey/builtin_modules/timers.js:204
Method
setRequestHeader
* Combines a header in author request headers. * @param {string} name * @param {string} value
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:215
Function
sigint_handler
Handle ^C by aborting the entry of the current statement and quitting when double-struck. Sometimes this happens in the main input() functio
python/pythonmonkey/cli/pmjs.py:187
Function
simpleUncaughtExceptionHandler
A simple exception handler for uncaught JS Promise rejections sent to the Python event-loop See https://docs.python.org/3.11/library/asyncio-eve
python/pythonmonkey/helpers.py:46
Method
sizeOfBuffer
src/jsTypeFactory.cc:96
Function
skip
(name, callback)
tests/js/quint.js:66
Method
some_method
()
tests/python/test_functions_this.py:201
Function
sort_compare_default
private
src/JSArrayProxy.cc:1137
Function
sort_compare_key_func
private
src/JSArrayProxy.cc:1079
Function
statSync_inner
Inner function for statSync. Returns: Union[Dict[str, int], False]: The mode of the file or False if the file doesn't exist.
python/pythonmonkey/require.py:225
Method
status
* @return {number} HTTP status code
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:528
Method
statusText
* @return {string} HTTP status message
python/pythonmonkey/builtin_modules/XMLHttpRequest.js:539
Function
stylizeNoColor
(str, styleType)
python/pythonmonkey/builtin_modules/util.js:437
Function
stylizeWithColor
(str, styleType)
python/pythonmonkey/builtin_modules/util.js:426
Function
teardown_function
Forcing garbage collection (twice) whenever a test function finishes, to locate GC-related errors
tests/python/conftest.py:9
Function
test
(name, callback)
tests/js/quint.js:62
Function
test_JSMethodProxy_this
()
tests/python/test_functions_this.py:96
Function
test___class__attribute
()
tests/python/test_dicts.py:372
Function
test___class__attribute
()
tests/python/test_lists.py:1244
Function
test___none__attribute
()
tests/python/test_dicts.py:379
Function
test_append
()
tests/python/test_lists.py:430
Function
test_array_from
()
tests/python/test_arrays.py:2550
Function
test_array_subclass_behaves_as_array
()
tests/python/test_arrays.py:2578
Function
test_assign
()
tests/python/test_arrays.py:5
Function
test_assign
()
tests/python/test_lists.py:161
Function
test_assign_bad_index
()
tests/python/test_arrays.py:2560
Function
test_assign_bad_index_with_existing_next
()
tests/python/test_arrays.py:2566
Function
test_assign_bad_index_with_gap
()
tests/python/test_arrays.py:2572
Function
test_assign_index_out_of_range
()
tests/python/test_lists.py:173
Function
test_assign_index_wrong_type_list
()
tests/python/test_lists.py:193
Function
test_assign_index_wrong_type_str
()
tests/python/test_lists.py:183
Function
test_assign_negative_index
()
tests/python/test_lists.py:167
Function
test_bytes_buffer
()
tests/python/test_buffer_typed_array.py:229
Function
test_bytes_bytelength
()
tests/python/test_buffer_typed_array.py:239
Function
test_bytes_byteoffset
()
tests/python/test_buffer_typed_array.py:244
Function
test_bytes_bytes_per_element
()
tests/python/test_buffer_typed_array.py:224
Function
test_bytes_console
()
tests/python/test_buffer_typed_array.py:272
Function
test_bytes_get_index_js
()
tests/python/test_buffer_typed_array.py:219
Function
test_bytes_get_index_python
()
tests/python/test_buffer_typed_array.py:214
Function
test_bytes_instanceof
()
tests/python/test_buffer_typed_array.py:249
Function
test_bytes_length
()
tests/python/test_buffer_typed_array.py:235
Function
test_bytes_proxy_write
()
tests/python/test_buffer_typed_array.py:209
Function
test_bytes_toString
()
tests/python/test_buffer_typed_array.py:267
Function
test_bytes_valueOf
()
tests/python/test_buffer_typed_array.py:262
Function
test_clear
()
tests/python/test_lists.py:392
Function
test_clear
()
tests/python/test_dict_methods.py:142
Function
test_clearInterval
()
tests/python/test_event_loop.py:35
Function
test_clear_with_arg
()
tests/python/test_lists.py:398
Function
test_concat_array
()
tests/python/test_arrays.py:250
Function
test_concat_empty_arg
()
tests/python/test_arrays.py:258
Function
test_concat_empty_empty
()
tests/python/test_lists.py:243
Function
test_concat_in_place_empty_empty
()
tests/python/test_lists.py:343
Function
test_concat_is_inplace
()
tests/python/test_lists.py:337
← previous
next →
501–600 of 1,259, ranked by callers