15 May 23
the pager will, of course, eventually go off at 2AM
01 May 23
pipis not included with python packages, you need to install it.
In general, you should check to see if a ports exists for the python software you want instead (e.g:pkglocatefrompkglocatedb, or https://openports.pl are useful).
30 Mar 23
Contribute to Lightning-AI/lit-llama development by creating an account on GitHub.
26 Mar 23
const SECRET_KEY = “YOUR API KEY”; const MAX_TOKENS = 800; const TEMPERATURE = 0.9;
function AI_ChatGPT(prompt, temperature = 0.4, model = “gpt-3.5-turbo”) { const url = “https://api.openai.com/v1/chat/completions”; const payload = {
model: model,
messages: [
{ role: "system", content: "You are a helpful assistant." },
{ role: "user", content: prompt },
],
temperature: TEMPERATURE,
max_tokens: MAX_TOKENS,
}; const options = {
contentType: "application/json",
headers: { Authorization: "Bearer " + SECRET_KEY },
payload: JSON.stringify(payload),
}; const res = JSON.parse(UrlFetchApp.fetch(url, options).getContentText()); return res.choices[0].message.content.trim(); }
07 Mar 23
Screaming-fast Python 3.5 HTTP toolkit integrated with pipelining HTTP server based on uvloop and picohttpparser. - squeaky-pl/japronto: Screaming-fast Python 3.5 HTTP toolkit integrated with pipelining HTTP server based on uvloop and picohttpparser.
06 Mar 23
An introduction to some powerful functional programming techniques in Raku and Python.
16 Feb 23
12 Feb 23
Trio – a friendly Python library for async concurrency and I/O - python-trio/trio: Trio – a friendly Python library for async concurrency and I/O
08 Feb 23
PocketPy is a lightweight(~ 5000 LOC) Python interpreter for game engines.
06 Feb 23
04 Jan 23
Infinite AI Array is a Python library that provides a list implementation that leverages GPT so that you can access elements beyond the ones already provided.
16 Dec 22
15 Dec 22
PJLink is a standard for controlling data projectors.
Convert curl commands to Python, JavaScript, PHP, R, Go, C#, Ruby, Rust, Elixir, Java, MATLAB, Dart, CFML, Ansible URI or JSON
string_grouper is a library that makes finding groups of similar strings within a single, or multiple, lists of strings easy — and fast. string_grouper uses tf-idf to calculate cosine similarities within a single list or between two lists of strings. The full process is described in the blog Super Fast String Matching in Python.