Supports 500 Telegram Groups No Need Of Bot

import youtube_dl ydl_opts = {} url = input(“enter your url:- “) with youtube_dl.YoutubeDL(ydl_opts) as ydl: meta = ydl.extract_info(url, download=False) formats = meta.get(‘formats’, [meta]) for f in formats: print(f[‘url’]) If you have a https:// address change it to http:// otherwise you get an “HTTP error 403 forbidden    

Read more

Record keyboard and mouse input with python

This allows you to record keyboard and mouse input, and play it back (with looping) using pynput. It allows for automation of any repetitive computer tasks. Clone or download this repository Navigate to the repository in cmd or terminal Run pip install -r requirements.txt Simply run the ‘record.py’ file with Python3 using one input argument -> “name_of_recording”. Whatever you do thereafter will be recorded. To end the recording click the escape key (to end the Keyboard thread), and hold down […]

Read more

Mass scan for .git repository and .env file exposure

Scanner to find .env file and .git repository exposure on multiple hosts Because of the response code from some hosts, it may have some false positives. requests and argparse pip3 install -r requirements.txt Be careful with the output filename as it can be deleted if duplicated python3 git_scan.py -t hosts.txt -o results.txt -f git or env GitHub https://github.com/scarmandef/git-mass-scan    

Read more

Convert the .py file into exe for faster transformation and can result to build an app in a single click

GitHub – Aaris-Kazi/PY2EXE_APP: The Application can convert the .py file into exe for faster transformation and can result to build an app in a single click The Application can convert the .py file into exe for faster transformation and can result to build an app in a single click – GitHub – Aaris-Kazi/PY2EXE_APP: The Application can convert the .py fi…    

Read more

Python REST client library SDK for Ably realtime messaging service

ably-python This is a Python client library for Ably. The library currently targets the Ably 1.1 client library specification. Running example import asyncio from ably import AblyRest async def main(): async with AblyRest(‘api:key’) as ably: channel = ably.channels.get(“channel_name”) if __name__ == “__main__”: asyncio.run(main()) Installation The client library is available as a PyPI package. Requirements From PyPI pip install ably Or, if you need encryption features: pip install ‘ably[crypto]’ Locally git clone https://github.com/ably/ably-python.git cd ably-python python setup.py install Breaking API Changes […]

Read more

Pass by Reference in Python: Best Practices

After gaining some familiarity with Python, you may notice cases in which your functions don’t modify arguments in place as you might expect, especially if you’re familiar with other programming languages. Some languages handle function arguments as references to existing variables, which is known as pass by reference. Other languages handle them as independent values, an approach known as pass by value. If you’re an intermediate Python programmer who wishes to understand Python’s peculiar way of handling function arguments, then […]

Read more
1 507 508 509 510 511 991