Easily load variables from AWS Parameter store into environment variables

Easily load variables from AWS Parameter store into environment variables. Because it handles AWS pagination so the amount of requests performed to retrieve the parameters are the bare minimum.Also it handles invalid parameters, so you don’t have to deal with undefined variables exceptions, as an option. from awstanding.parameter_store import load_parameters load_parameters({‘/some/path/to/something/stored’: ‘IMPORTANT_SETTING’}) import os print(os.environ.get(‘IMPORTANT_SETTING’)) ‘super-important-value’ import os from awstanding.parameter_store import load_parameters

Read more

Pdisk uploader telegram bot

pdisk uploader telegram bot Configs TG_BOT_TOKEN – Get bot token from @BotFather API_ID – From my.telegram.org API_HASH – From my.telegram.org DATABASE_URI – Mongo Database URL from https://cloud.mongodb.com/ DATABASE_NAME – Your database name from mongoDB. Default will be ‘my’ ADMIN – Your User ID How To Create Data Base Url https://youtu.be/HhHzCfrqsoE Bot Commands set command /connect connect your account /broadcast Send Message To all User Deploy to Heroku Support 🇮🇳    

Read more

Pdisk Upload Bot made using Python with Pyrogram Framework

Introduction This Is PDisk Upload Bot Used To Upload Direct Link To Pdisk With Thumb Support Deploy Heroku Deploy Local Deploy pip install git git clone https://github.com/HeimanPictures/Pdisk-Upload-Bot.git cd Pdisk-Upload-Bot pip install -r requirements.txt cp config.py — EDIT config.py values appropriately — python bot.py Config Credits Note To Get Full Source Code With Login and logout n other features    

Read more

Automated image processing for Django

ImageKit is a Django app for processing images. Need a thumbnail? A black-and-white version of a user-uploaded image? ImageKit will make them for you. If you need to programatically generate one image from another, you need ImageKit. ImageKit comes with a bunch of image processors for common tasks like resizing and cropping, but you can also create your own. For an idea of what’s possible, check out the Instakit project. For the complete documentation on the latest stable version of […]

Read more

Python’s sum(): The Pythonic Way to Sum Values

Python’s built-in function sum() is an efficient and Pythonic way to sum a list of numeric values. Adding several numbers together is a common intermediate step in many computations, so sum() is a pretty handy tool for a Python programmer. As an additional and interesting use case, you can concatenate lists and tuples using sum(), which can be convenient when you need to flatten a list of lists. In this tutorial, you’ll learn how to: Sum numeric values by hand […]

Read more

A lightweight yet complete CardDAV/CalDAV server that backs onto a Git repository

Xandikos is a lightweight yet complete CardDAV/CalDAV server that backs onto a Git repository. Xandikos (Ξανδικός or Ξανθικός) takes its name from the name of the March month in the ancient Macedonian calendar, used in Macedon in the first millennium BC. Implemented standards The following standards are implemented: RFC 4918/RFC 2518 (Core WebDAV) – implemented, except for COPY/MOVE/LOCK operations RFC 4791 (CalDAV) – fully implemented RFC 6352 (CardDAV) – fully implemented RFC 5397 (Current Principal) – fully implemented RFC 3253 […]

Read more

WikidPad is a single user desktop wiki

WikidPad is a Wiki-like notebook for storing your thoughts, ideas, todo lists, contacts, or anything else you can think of to write down. What makes WikidPad different from other notepad applications is the ease with which you can cross-link your information. Links in a wiki are created by typing in WikiWords. A WikiWord is any mixed case word typed into the editor. TodoList or JohnDoe are example WikiWords. The term wiki means “quick” in Hawaiian, and wikis are all about […]

Read more

A Telegram bot to look up quotes, charts, general market sentiment and more

Tickergram is a Telegram bot to look up quotes, charts, general market sentiment and more. It can be used collaboratively in group chats or by talking directly to it. Users can also keep a watchlist and receive price information notifications. Supporting Tickergram I run an instance of Tickergram at @tickergrambot. By becoming a sponsor, you will support the project and get access to this bot instance. Check the sponsor tiers for more information. Or continue reading and get your own […]

Read more
1 40 41 42 43 44 50