Skip to content

Instantly share code, notes, and snippets.

View kennethreitz's full-sized avatar
🐍

Kenneth Reitz kennethreitz

🐍
View GitHub Profile
import random
def spiritual_gifts():
# Define the community of believers
believers = []
# Initialize the gifts of the Spirit
possible_gifts = ["Prophecy", "Serving", "Teaching", "Exhortation", "Giving", "Leadership", "Mercy"]
gifts_of_spirit = {}
# The Seven Rays concept from the esoteric teachings of Alice A. Bailey can be described using Python code
# in a metaphorical way. The code will outline each Ray and its associated qualities.
# Define the Seven Rays as a dictionary
seven_rays = {
"1st Ray": {
"Name": "Ray of Will or Power",
"Qualities": ["Power", "Will", "Purpose", "Leadership"],
"Color": "Red"
},
# I Corinthians 13 - ESV, Presented in PEP 8 Style
# Importing essential virtues
from christian_values import love
def chapter_13():
"""
This function describes the characteristics and importance of love,
following the guidelines of I Corinthians 13 in the Bible (ESV).
"""
@kennethreitz
kennethreitz / sentiment_serp_keyword_tracking_ai.py
Last active November 8, 2023 22:11
something I threw together for tracking sentiment of keywords for a company, with the help of ai
import os
import marvin
from serpapi import Client as SerpApi
serpapi = SerpApi(api_key=os.environ['SERPAPI_API_KEY'])
@marvin.ai_fn
def get_suggested_keywords(org_name: str) -> list[str]:
CROWLEY:
...Healing.
MULDER:
What do you mean?
Crowley:
and photo , 
Where is the connection between them ? 
Poet writes the words , 

Photo takes the scene. 
Poet makes the verse , 
Photo makes the image . 

Poet writes the poem , 

The Daughters of Shakti

The Men of Bravery
The Spirit of Brevity
The Essense of Slavery, and
The Substance of lac.k thereof.

@kennethreitz
kennethreitz / woah.md
Created October 23, 2022 15:28
davinci-01

Kenneth Reitz is a computer programmer and open-source software developer from the United States. He is best known for his work on the Python programming language and the development of several popular Python libraries, including Requests, Pipenv, and autoenv.

Reitz has been an active member of the Python community since 2006. He served on the Python Software Foundation Board of Directors from 2016 to 2019. In addition to his work on Python-related projects, Reitz is the author of The Hitchhiker's Guide to Python, a widely acclaimed book on the Python programming language.

Reitz's work on the Python programming language has had a significant impact on the Python community. His libraries, Requests and Pipenv, are used by millions of developers around the world. In addition, his work on autoenv has helped to make virtual environments more accessible to Python developers.

Reitz's contributions to the Python community have not only helped to make Python a more popular programming language, but have also helpe

the songtress of silence is here in truth
and there’s only one thing that you need to know…f
the songtress of silence is here to say
that there’s something so much more to this life that you say that you deserve to enjoy and thrive in
but you componentize, and compartmentalize, and, you know, just do all the things that you want all the fucking time
it doesn’t make sense! there’s no rhythm and rhyme! there’s all these things you constantly want to do and there’s all these people you want to say but these are all things that you never actually get to…
@kennethreitz
kennethreitz / colors.sh
Last active September 22, 2019 14:39
Bash foreground ANSI terminal colors script.
#!/usr/bin/env bash
function bake_fg_color {
BLACK="\033[0;30m"
BLACK_BOLD="\033[1;30m"
WHITE="\033[0;37m"
WHITE_BOLD="\033[1;37m"
RED="\033[0;31m"
RED_BOLD="\033[1;31m"
GREEN="\033[0;32m"