Skip to content

Instantly share code, notes, and snippets.

View mkushner's full-sized avatar

Max Kushner mkushner

  • Portugal, Cascais
View GitHub Profile
import os
# setup env variable - Google Auth
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = r"path_to_key.json"
print ("SYSTEM: os.environ.cretentials init")
gs_pdf = "gs://path_to_input_pdf"
gs_output = "gs://path_to_output_json"
def async_detect_document(gcs_source_uri, gcs_destination_uri):

Keybase proof

I hereby claim:

  • I am mkushner on github.
  • I am mkushner (https://keybase.io/mkushner) on keybase.
  • I have a public key ASBwEK8A2L6oyPKsKlH_LjOsxMqbFTx677AL8FMtK-ThVAo

To claim this, I am signing this object:

def startCommand(bot, update):
print(f"BOT: start session from user: {update.message.chat_id}")
if ( update.message.chat_id in sekretniy_spisok_komu_mozhno_lezt_vnutr ):
access_keyboard = telegram.InlineKeyboardButton(text="Погнали!", callback_data="ffabb044431")
custom_keyboard = [[access_keyboard]]
reply_markup = telegram.InlineKeyboardMarkup(custom_keyboard)