Saravanan666/pypi-org huggingface dataset:
Package: instabot
# InstabotFree Instagram python bot, [private Instagram API emulator](https://github.com/instagrambot/instabot/tree/master/instabot/api) and a [huge amount of ready-to-use example scripts](https://github.com/instagrambot/instabot/tree/master/examples).We are the most used Instagram library on GitHub (according to “Used by” counter). 🎉 Join our [Large Telegram community](https://t.me/instabotproject) for more Instagram tricks. 🚀### ImportantRight now the usage of this library (as probably others too) may harm your Instagram’s profile because of new script-detection algorithms. You were warned.—
### [Read the Docs](https://instagrambot.github.io/docs/) | [Contribute](https://github.com/instagrambot/docs/blob/master/CONTRIBUTING.md)
—[![Telegram Chat](https://img.shields.io/badge/chat%20on-Telegram-blue.svg)](https://t.me/instabotproject)
[![paypal](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/okhlopkov/10)
![Python 2.7, 3.5, 3.6, 3.7](https://img.shields.io/badge/python-2.7%2C%203.5%2C%203.6%2C%203.7-blue.svg)
[![PyPI version](https://badge.fury.io/py/instabot.svg)](https://badge.fury.io/py/instabot)
[![Build Status](https://travis-ci.org/instagrambot/instabot.svg?branch=master)](https://travis-ci.org/instagrambot/instabot)
[![codecov](https://codecov.io/gh/instagrambot/instabot/branch/master/graph/badge.svg)](https://codecov.io/gh/instagrambot/instabot)### Installation
Installinstabotwith:` bash pip install-Uinstabot `#### or check [this](https://instagrambot.github.io/docs/en/#installation) for more details.### Quickstart<img src=”https://user-images.githubusercontent.com/5613295/62396780-b6441c80-b57c-11e9-89b0-931c159f0cab.png” width=”400”>Instabot has a lot of predefined filters (like skipping very popular accounts because they will not notice you) which maximizes the overall impact. But you can remove them if you like or even set your parameters: (full list [here](https://github.com/instagrambot/instabot/blob/master/instabot/bot/bot.py#L86))<img src=”https://user-images.githubusercontent.com/5613295/62396777-b5ab8600-b57c-11e9-90a7-56b7294a9a6a.png” width=”400”>If this library solved some of your problems, please consider [buying](https://www.buymeacoffee.com/okhlopkov) a coffee, sending some bucks to [PayPal](https://paypal.me/okhlopkov/10) or become our [patron](https://patreon.com/join/morejust). :wink:<a href=”https://www.buymeacoffee.com/okhlopkov” target=”_blank”><img src=”https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png” alt=”Buy Me A Coffee” style=”height: auto !important;width: auto !important;” ></a># Terms and conditions
* You will NOT use this API for marketing purposes (spam, botting, harassment, massive bulk messaging…).
* We do NOT give support to anyone who wants to use this API to send spam or commit other crimes.
* We reserve the right to block any user of this repository that does not meet these conditions.# Legal
This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by Instagram, Facebook inc. or any of its affiliates or subsidiaries. This is an independent and unofficial API. Use it at your own risk.
Package: instabotai
|Website|Read the Docs|Contribute|InstabotAiInstabotai is an instagram bot with face detection that uses the undocumented Web API. Instabotai can reupload photo to feed, reupload photo to stories, watch stories, comment, like and DM users if a face is detected on image.
Unlike other bots, Instabotai does not require Selenium or a WebDriver. Instead, it interacts with the API over simple HTTP Requests. It runs on most systems.Demo:https://www.instagram.com/japanheavenRequirementsPython 3.6+Min 20-30 Profiles to scrape or it will repost same image when no new image is posted in list.Installation with PIPInstallinstabotaiwith:pipinstall-UinstabotaiRuninstabotaiwith:instabotai-uyourusername-ppassword-ljosephineskriver,wolfiecindy-t"#like4like#follow4follow"Installation with Dockerdockerpullreliefs/instabotai

dockerrunreliefs/instabotai-uusername-ppassword-ljosephineskriver,wolfiecindy-t"#tag1#tag2"Face detection at work on a live webcamThis script scrapes images from users and then repost, like and comment their images if face is detected with your own tags.To install script on Windows:Install Cmakedownload link :https://github.com/Kitware/CMake/releases/download/v3.14.1/cmake-3.14.1.zipInstall DblibDownload dlib ‘.wheel’ file as ur system requirnment (use link bellow)
download link :https://pypi.python.org/simple/dlib/Open cmd navigate to dlib wheel file path and hit command
pip install dlib_file_name.wheelThen rungitclonehttps://github.com/instagrambot/instabotai.git--recursivecd instabotai/pip install -r requirements.txtpython example.py -u yourusername -p password -l josephineskriver,wolfiecindy -t "#like4like#follow4follow"And press Enter.To install script on Linux:Ubuntu:
apt-get install python-dev python3-dev
sudo apt install g++
sudo apt install cmake
sudo apt install python3-pip

Arch Linux:
sudo pacman -S cmake
sudo pacman -S python3-pipFirst, make sure you have dlib already installed with Python bindings:How to install dlib from source on macOS or UbuntuThen dogit clone https://github.com/instagrambot/instabotai.git

cd instabotai

sudo pip install -r requirements.txt

python example.py -u yourusername -p password -l josephineskriver,wolfiecindy -t "#like4like#follow4follow"TroubleshootIf you are getting Illegal Instruction with face_recognition follow this guide:https://github.com/ageitgey/face_recognition/issues/11#issuecomment-475482716AttributeError: 'module' object has no attribute 'face_recognition_model_v1'Solution: The version of dlib you have installed is too old. You need version 19.7 or newer. Upgrade dlib.For Dlib install error runpython3 setup.py install --no DLIB_USE_CUDA
Package: instabot-bot
# InstabotFree Instagram python bot, [private Instagram API emulator](https://github.com/instagrambot/instabot/tree/master/instabot/api) and a [huge amount of ready-to-use example scripts](https://github.com/instagrambot/instabot/tree/master/examples).We are the most used Instagram library on GitHub (according to “Used by” counter). 🎉 Join our [Large Telegram community](https://t.me/instabotproject) for more Instagram tricks. 🚀### ImportantRight now the usage of this library (as probably others too) may harm your Instagram’s profile because of new script-detection algorithms. You were warned.—
### [Read the Docs](https://instagrambot.github.io/docs/) | [Contribute](https://github.com/instagrambot/docs/blob/master/CONTRIBUTING.md)
—[![Telegram Chat](https://img.shields.io/badge/chat%20on-Telegram-blue.svg)](https://t.me/instabotproject)
[![paypal](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/okhlopkov/10)
![Python 2.7, 3.5, 3.6, 3.7](https://img.shields.io/badge/python-2.7%2C%203.5%2C%203.6%2C%203.7-blue.svg)
[![PyPI version](https://badge.fury.io/py/instabot.svg)](https://badge.fury.io/py/instabot)
[![Build Status](https://travis-ci.org/instagrambot/instabot.svg?branch=master)](https://travis-ci.org/instagrambot/instabot)
[![codecov](https://codecov.io/gh/instagrambot/instabot/branch/master/graph/badge.svg)](https://codecov.io/gh/instagrambot/instabot)### Installation
Installinstabotwith:` bash pip install-Uinstabot `#### or check [this](https://instagrambot.github.io/docs/en/#installation) for more details.### Quickstart<img src=”https://user-images.githubusercontent.com/5613295/62396780-b6441c80-b57c-11e9-89b0-931c159f0cab.png” width=”400”>Instabot has a lot of predefined filters (like skipping very popular accounts because they will not notice you) which maximizes the overall impact. But you can remove them if you like or even set your parameters: (full list [here](https://github.com/instagrambot/instabot/blob/master/instabot/bot/bot.py#L86))<img src=”https://user-images.githubusercontent.com/5613295/62396777-b5ab8600-b57c-11e9-90a7-56b7294a9a6a.png” width=”400”>If this library solved some of your problems, please consider [buying](https://www.buymeacoffee.com/okhlopkov) a coffee, sending some bucks to [PayPal](https://paypal.me/okhlopkov/10) or become our [patron](https://patreon.com/join/morejust). :wink:<a href=”https://www.buymeacoffee.com/okhlopkov” target=”_blank”><img src=”https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png” alt=”Buy Me A Coffee” style=”height: auto !important;width: auto !important;” ></a># Terms and conditions
* You will NOT use this API for marketing purposes (spam, botting, harassment, massive bulk messaging…).
* We do NOT give support to anyone who wants to use this API to send spam or commit other crimes.
* We reserve the right to block any user of this repository that does not meet these conditions.# Legal
This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by Instagram, Facebook inc. or any of its affiliates or subsidiaries. This is an independent and unofficial API. Use it at your own risk.
Package: instabotClub
instabotClubLooking for Instagram automation? I'm proud to present you aInstabotClub Instagram Bot.. This bot will allow you to grow your following and engagement by liking, following, commenting and sending PM automatically with your Android phone/tablet/emulator.No root required.Cool! What can I do with this bot?Works without rootingWorks with both emulators and physical devicesCan be used stand-alone (without the use of a computer)Includes realistic random human-like delays and actionsCan watch stories while interactingComment post with emojis and [spintax logic]Send PMType like a human (letter by letter by faking using suggestions. For example you won't typeH - e - l - l - oletter by letter but something likeH - He - Hello)Browse carousels and watch their contentsWatch videos for a specific amount of timeSchedulerGetting tasty telegram reportsSupports multiple actions in one sessionLots of customizable limits to keep your account safe from soft bansAvailable interactionsinteract with a user's followers or followinginteract with a top or recent hashtag's post likersinteract with a top or recent hashtag postinteract with a top or recent place's post likersinteract with a top or recent place postinteract with user's post likersinteract with a single bloggerinteract with your feedinteract with users from a list (*.txt)interact with posts from links inside a list (*.txt)unfollow any followersunfollow any followers, followed by botunfollow any followers, followed by bot, who don't follow you backunfollow from a list (*.txt)scrape mode for collecting usernames instead of interacting with them (you will find more information about that in the doc)Lots of available filters to customize who you interact withyou can blacklist people to avoid interacting with themyou can whitelist people to not remove them when you unfollow peoplebiography main characters and languageprofile name main charactersprivate / public / business / non business accountnumber of posts / followers / following
... and more!You can BUY this very cool Instagram Tool here:https://www.instabot.club.
Package: instabotpy
Instagram_BotThisinstabotpyis a module that is used tologin, like, unlike, follow, unfollow, logout, open post in your profile and in explore sectionof the instagram in your web.Make sure that your system hasChormedriveror install it by clickinghereNote: This module uses selenium webdriver. Based on your  chrome version select the chromedriver installation options and make sure that chromedriver is installed in pathC:\Program Files\chromedriver.exe.If you don't have selenium webdriver pre-installed on your computer, then or clickhereor install usingpip install seleniumModule UsageTo use this module clone into your python scripts orpip install instabotpyIn-order to make sure that instabotpy works properly after installation type on python shell as>>>importinstabotpyNow you should see a Chrome browser open with instagram login pageLogin into instagramfrominstabotpyimport*# Used to login without accepting to turn on notifications or save informations#User is recommended to login with this option alwayslogin_no_info(username,password)#used to open and user is allowed to select the options for saving info and for notificationsopens(username,password)#opens with post notfications while you're surfing in Instagram# Not recommended unless user is less active on Instgramlogin_info(username,password)Logout of Instagram#logs out by clearing all cookies in your test browserlogout()Basic functionslike()#to like postunlike()#to unlike post. Works only when you like post or it perfoms like functionscreentime(intvalue)# Adjust the time you are on instagramexplore()# Opens explorefirst_post()# Opens first post in explore. Must be used after explorefollow()# Follows the account opened using first_post()unfollow()# Musyt follow to unfollow the account. Used after first_post() and follow() commandsexit_post()# Closes the post opened by using first_post()profile()# Opens profileclose_all()# Closes the chrome window by deleting cookiesaccount()# Opens an account. Use after first_post()ref()# Refreshes chromeend_scroll()# End scrollinit_scroll()# Home scrollpd()# Page downpu()# Page uphome()# Opens homeExample Codefrominstabotpyimport*x=login_no_info(username,password)explore()home()pofile()home()logout()Email ID can also be given instead of your usernameNote: This module is for just demo purpose of how you can use instagram via python. Use it carefully. The developer of this module is not responsible for any of users mistake or for any loss of data
Package: instabrade
Selenium based Instagram scraperNote that is project is currently in alpha: APIs can and will change without warning.Currently support functionality:Log into InstagramHandle the mobile app related popupsPlanned functionality in upcoming release(s):Return all posts from Home pageExample usage:fromseleniumimportwebdriverfrominstabradeimportInstagrammy_username="my username"my_password="my password"driver=webdriver.Chrome()try:# Instantiate the object# - This also loads instagram's URLig=Instagram(driver)# Click the "Log in" link to display the login fieldsig.log_in_page.log_in_link_click()# Fill in the username and password fieldsig.log_in_page.log_in_username=my_usernameig.log_in_page.log_in_password=my_password# Click the Log In buttonig.log_in_page.log_in_button_click()finally:driver.quit()Instabrade is page-aware. If you attempt to interact with a property or method
for a page that isn’t currently loaded, a WrongPageError exception will get
thrown:In[1]:fromseleniumimportwebdriverIn[2]:frominstabradeimportInstagramIn[3]:driver=webdriver.Chrome()In[4]:ig=Instagram(driver)In[5]:ig.log_in_page.log_in_link_click()In[6]:ig.log_in_page.log_in_username=my_usernameIn[7]:ig.log_in_page.log_in_password=my_passwordIn[8]:ig.log_in_page.log_in_button_click()In[9]:ig.log_in_page.log_in_username=my_username---------------------------------------------------------------------------WrongPageErrorTraceback(mostrecentcalllast)<ipython-input-9-eb1e96eabcf5>in<module>()---->1ig.log_in_page.log_in_username=my_username/Users/levi/workspace/instabrade/instabrade/decorators.pyininner(obj,*args,**kwargs)7@wraps(func)8definner(obj,*args,**kwargs):---->9obj.assert_on_page()1011returnfunc(obj,*args,**kwargs)/Users/levi/workspace/instabrade/instabrade/base.pyinassert_on_page(self)64exc_msg="Wrong page loaded. Expected {0} but found {1}"65raiseWrongPageError(exc_msg.format(self.PAGE_IDENTIFIER,--->66current_page_identifier))6768@propertyWrongPageError:Wrongpageloaded.ExpectedPageID(name='Log In Page Identifier',css_path='h1.coreSpriteLoggedOutWordmark',attr='class',attr_value='coreSpriteLoggedOutWordmark')butfoundPageID(name='Home Page Identifier',css_path='main[role="main"] > section a[href$="explore/"]',attr='href',attr_value='/explore/')In[10]:
Package: insta_browser
Build StatusPyPI💻 Library for instagram.com automation.♥️ Like instagram feed, username profile, location, tag.🤝 Auto-follow unknown users, during liking, from locations or tags.📊 Get statistic of any public account.RequirementsPython 3ChromeDriverfor headless web-surfingExamplesExample of using package for liking specific user:importosfrominsta_browserimportbrowserbr=browser.Browser(debug=True,cookie_path=os.path.join('var','cookies'),log_path=os.path.join('var','logs'),db_path=os.path.join('var','db'),exclude=os.path.join('var','exclude.txt'),auto_follow=True)try:br.auth('YOUR_INSTA_LOGIN','YOUR_INSTA_PASSWORD')br.process_user('al_kricha')print(br.get_summary())finally:br.close_all()Other examples can be seen in my repository:insta_bot
Package: instacache
Python script to back up clean text and full html versions of Instapaper bookmarks. Tested on ArchLinux, should work on other distros/OSX.## RequirementsPython 2.xwget (available through every Linux dist package manager, or [homebrew](http://mxcl.github.com/homebrew/) on Mac.Instapaper [subscription](http://www.instapaper.com/subscription) for access to full API## InstallationThe recommended method of installation is via pip:pip install instacacheThis will place instacache.py in your bin folder for easy access.## Usage
To use Instacache, you need an Instapaper subscription, which gives access to the full developer API as well as a consumer key and secret for OAuth. While I could conceivably ship mine with Instacache as this is an “app”, I don’t know how to keep that information secret in an open python script.Create the file~/.instacache/.credentialswith the following contents:[keys]
consumer_key = <your consumer key>
consumer_secret = <your consumer secret>Then you can use the application as follows. After runninginstacache.py loginonce, you should be fine to runbackupin a crontab.usage: instacache [-h] [-f FILE] {login,user,backup} …Cache Instapaper articlesoptional arguments:-h,--helpshow this help message and exit-fFILE,--fileFILEFile in which to store instacache informationcommand:{login,user,backup}   command to issuelogin               login and create an oauth token
user                show the currently authed user
backup              back up instapaper articles## TODOInstacache was a pretty quick hack job. There’s a lot of things that could be better about it:
* make code cleaner, follow Python naming conventions
* (test and) handle error cases
* allow backup of entire instapaper list in addition to single folder
* remove wget dependency
* migrate to Python 3These are all “do them if they cause problems” TODOs for me, so if they are causing you problems, create an issue or shoot me an [email](mailto:filipkrynicki@gmail.com).
Package: insta-captions
insta-captionsinsta-captions is a tool that will allow for the instant transcription and translation of audio files to and from different languages.View more on ourdocumentation pageInstallation"pip install insta-captions"Overviewinsta-captionsis a library that deals with the conversion of audio into "captions". I have been learning Mandarin, my third language. Part of my learning process, as well as maintenance for Spanish, is to watch videos, shows, and movies in the language I am trying to deepen. Sometimes, however, I need to watch content in English but want to read it in another language, and there is no easy way to do this if captions are not provided by the video maker, which is the crux of this issue.The main feature that I envision for this project would be for audio to be converted into text of any (supported) language regardless of the language of the input audio. This involves two, albeit involved, steps:given an audio file, convert that audio into text of language it is ingiven text of one language, translate into anotherInstallation and Runninginsta-captions transcriptions are possible withDeepSpeech. For installation of DeepSpeech, refer to theirdocumentation. I use theirpre-trained modelson english and mandarin. These models are included in this repository via Git LFS due to large file size.Additional libraries used are numpy to convert the buffer of the .wav files into int16 numpy arrays as this is what DeepSpeech speech-to-text accepts.Example UsageUsing a .wav file from the data folder,from insta-captions import Transcribe as Trans
    t = Trans()
    print(t.transcribe('./8455-210777-0068.wav'))
    >>> [('./2830-3980-0043.wav', 'experience proves this')]make commandsmake develop: install and build this library and its dependencies usingpipmake build: build the library usingsetuptoolsmake format: autoformat this library usingblackmake lint: perform static analysis of this library withflake8andblackmake test: run automated tests withunittestmake coverage: run automated tests withunittestand collect coverage information
Package: instacart-log-generator
Instacart Log Generatorinstallpip install instacart-log-generatorCodefrominstacart_log_generator.my_gen_logimportInstacartLogGeneratorLOGGING_FILE_PATH='file_path_where_you_want.log'LOG_PER_SECOND=1InstacartLogGenerator().logging(LOGGING_FILE_PATH,LOG_PER_SECOND)Result162.232.228.1--[17/Jan/2022:17:11:16+0900]"POST /order HTTP/1.1"400"-""Mozilla/5.0 (iPhone; CPU iPhone OS 8_4 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) GSA/7.0.55539 Mobile/12H143 Safari/600.1.4"162.232.228.1--[17/Jan/2022:17:11:16+0900]{"order_id":3375775,"product_id":21903,"add_to_cart_order":2,"reordered":1,"aisle_id":123,"department_id":4,"order_number":4,"order_dow":4,"order_hour_of_day":11,"days_since_prior_order":17}51.117.186.246--[17/Jan/2022:17:11:17+0900]"GET /order HTTP/1.1"200"-""Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36"What's NewJan 19, 2022Add department category. It can generate more various urlAdd request_type and url to body log. It looks more real on nowLog the body value only when the order url and response code is 200.Logs are generally chronological, but there are logs that are not chronological to implement log out of the same ip user.
Package: instachatbot
instachatbotSimple framework for building Instagram chat bots with menu driven interfaceInstallationpip3 install instachatbotTo install development version:pip3 install git+https://github.com/art-vasilyev/instachatbot.gitHow to useCreate sample scriptmain.py:frominstachatbot.botimportInstagramChatBotfrominstachatbot.nodesimport(MenuNode,MenuItem,MessageNode,QuestionnaireNode,NotifyAdminNode)menu=MenuNode('💡Choose menu:\n',[MenuItem('text message',MessageNode('This is a message😀')),MenuItem('questionnaire',QuestionnaireNode(['What is your favourite book? 📚','What is your favourite fruit? 🍐 🍊 🍋'],header='Please answer the following questions',admin_username='<user to send results to>',response='Thank your for your answers')),MenuItem('send notification to admin',NotifyAdminNode('Thank you',notification='Sample notification from bot user',admin_username='<username to send notification to>')),],error_message='Failed to select menu.')chatbot=InstagramChatBot(menu=menu)chatbot.login(username='<instagram-username>',password='<instagram-password>')chatbot.start()Run the script:python3 main.pyPersistent conversation stateBy default conversation state is discarded on bot restart, to make it persistent you should provide persistent storage on bot initialization:chatbot=InstagramChatBot(menu=menu,storage=FileStorage())Menu triggersBy default a bot sends the menu on any message it receives. If you want menu to appear only if bot receives special message, settriggerargument on bot initialization:chatbot=InstagramChatBot(menu=menu,trigger='/menu')