15 May 23

the pager will, of course, eventually go off at 2AM

by racewar 2 years ago saved 2 times

01 May 23

pip is 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: pkglocate from pkglocatedb, or https://openports.pl are useful).

by racewar 2 years ago

30 Mar 23

Contribute to Lightning-AI/lit-llama development by creating an account on GitHub.

by chrisSt 2 years ago

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(); }

by Morisy 2 years ago

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.

by hksh 2 years ago
Tags:

06 Mar 23

An introduction to some powerful functional programming techniques in Raku and Python.

by eli 2 years ago saved 2 times

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

by hksh 2 years ago

08 Feb 23

PocketPy is a lightweight(~ 5000 LOC) Python interpreter for game engines.

by arvidsson 2 years ago

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.

by mlb 3 years ago

15 Dec 22

PJLink is a standard for controlling data projectors.

by marfharf 3 years ago

Convert curl commands to Python, JavaScript, PHP, R, Go, C#, Ruby, Rust, Elixir, Java, MATLAB, Dart, CFML, Ansible URI or JSON

by wheresalice 3 years ago saved 4 times


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.

by wheresalice 3 years ago
Tags: