Saravanan666/pypi-org huggingface dataset:
Package: twcrawl
twcrawl - Twitter Network CrawlerStarts at any given Twitter accounts (for examplerealDonaldTrumpandelonmusk) and follows their relationships to download the profiles of all
Twitter users into a local database for later batch processing (like
analyzing the social sentiment).Note:This crawler has been designed to prioritize crawling of accounts with
the most followers. Depending on your use case you might need to first tweak
the parameters a bit.SetupAll required dependencies are defined in therequirements.txtfile. Runpip install -r requirements.txtto install all of them if needed. Then copy
theconfig.example.jsoninto aconfig.jsonand fill in your Twitter
API credentials.UsageSimply runsrc/main.py --users users.txt.users.txtshould be
a list of twitter handles to use as entry points of the crawling process, one
per each line of the text file.This will launch an endless running process, which crawls as many users as
possible (and as fast as allowed by the Twitter API limits). You can pause the
process by simply killing it and continue the crawling process by starting it
again by executingsrc/main.pyagain (no more need for the-iparameter).The crawled database will be stored intodata/twitter.sqlite3(or anywhere
else if you override the default values in your config file).
Package: twd
TWDA Python library for Three Way Decision and Rough Set Theory.Citation@inproceedings{ribeiro2019toward,
  title={Toward a three-way image classification model: A case study on corn grain images},
  author={Ribeiro, Sergio Silva and Yao, JingTao},
  booktitle={2019 IEEE International Symposium on Multimedia (ISM)},
  pages={177--1776},
  year={2019},
  organization={IEEE}
}Getting StartedDependenciesThere is not dependecy for this libraryInstallationpip install twdSample UsageFor this example we will assume the following Decision System/Table (DS):HeadacheMuscle PainTemperatureFlunyhighyynhighyyyvery highynynormalnynhighnnyvery highyThe sample usage considering the mentioned DS is:fromtwdimportTWDdt=[["n","y","high","y"],["y","n","high","y"],["y","y","very high","y"],["n","y","normal","n"],["y","n","high","n"],["n","y","very high","y"]]o3wd=TWD(dt,["Headache","Muscle Pain","Temperature"])print("U => ",o3wd.getU())print("X={x| Flu(x)=y} =>",o3wd.getX("y"))print("Va(Headache)",o3wd.getVa("Headache"))print("Va(Muscle Pain)",o3wd.getVa("Muscle Pain"))print("Va(Temperature)",o3wd.getVa("Temperature"))print("Vd",o3wd.getVd())print("Va",o3wd.getVa())print("IND(A)",o3wd.getIND())print("IND(Headache)",o3wd.getIND(["Headache"]))print("IND(Headache,Muscle Pain)",o3wd.getIND(["Headache","Muscle Pain"]))print("IND(Muscle Pain)",o3wd.getIND(["Muscle Pain"]))print("IND(Temperature)",o3wd.getIND(["Temperature"]))print("IND(Headache,Temperature)",o3wd.getIND(["Headache","Temperature"]))print("lowerXA =>",o3wd.getLowerAX(o3wd.getX("y"),o3wd.getIND()))print("upperXA =>",o3wd.getUpperAX(o3wd.getX("y"),o3wd.getIND()))print("POS(X)",o3wd.getPOSX(o3wd.getX("y"),o3wd.getIND()))print("BND(X)",o3wd.getBNDX(o3wd.getX("y"),o3wd.getIND()))print("NEG(X)",o3wd.getNEGX(o3wd.getX("y"),o3wd.getIND()))print("Precision of Approximation: ",o3wd.precision(o3wd.getX("y"),o3wd.getIND()))print("Quality of Approximation: ",o3wd.quality(o3wd.getX("y"),o3wd.getIND()))print("Roughness: ",o3wd.roughness(o3wd.getX("y"),o3wd.getIND()))print("")print("Rules")print(o3wd.getRules(o3wd.getPOSX(o3wd.getX("y"),o3wd.getIND())))print("")print("Reduction:",o3wd.getReduct())FeaturesIndiscernibilitySet ApproximationPrecision of ApproximationQuality of ApproximationRoughnessRulesReductsLicenseMIT
Package: twder
twder- 新台幣匯率擷取 (New Taiwan Dollar Exchange Rate)擷取台灣銀行新台幣匯率報價Quick Start>>>importtwder>>>twder.currencies()['CNY','THB','SEK','USD','IDR','AUD','NZD','PHP','MYR','GBP','ZAR','CHF','VND','EUR','KRW','SGD','JPY','CAD','HKD']>>>twder.now_all()# 擷取目前所有幣別報價{'THB':('2017/01/06 16:00','0.7918','0.9348','0.8803','0.9203'),...}# {貨幣代碼: (時間, 現金買入, 現金賣出, 即期買入, 即期賣出), ...}>>>twder.now('JPY')# 擷取目前特定幣別報價('2017/01/06 16:00','0.2668','0.2778','0.2732','0.2772')# (時間, 現金買入, 現金賣出, 即期買入, 即期賣出)>>>twder.past_day('JPY')# 擷取昨天報價[('2017/01/06 09:02:04','0.2671','0.2781','0.2735','0.2775'),...]# [(時間, 現金買入, 現金賣出, 即期買入, 即期賣出), ...]>>>twder.past_six_month('JPY')# 擷取前六個月報價[('2017/01/06','0.2668','0.2778','0.2732','0.2772'),...]# [(時間, 現金買入, 現金賣出, 即期買入, 即期賣出), ...]>>>twder.specify_month('JPY',2016,12)# 擷取特定年月報價[('2016/12/30','0.2672','0.2782','0.2736','0.2776'),...]# [(時間, 現金買入, 現金賣出, 即期買入, 即期賣出), ...]APIscurrencies()currency_name_dict()now(currency)now_all()past_day(currency)past_six_month(currency)specify_month(currency,year,month)
Package: tweakers
TweakersA Python wrapper fortweakers.netInstallpip install tweakersUsageimport tweakersGatheringWith thetweakers.gatheringmodule you can access the forum.Active topicsfor topic in tweakers.gathering.active_topics():
    print(topic.title)Searchfor topic in tweakers.gathering.search('tweakers.net'):
    print(topic.title)TopicGet comments for a specific topictopic = Topic("https://gathering.tweakers.net/forum/list_messages/1551828")
for comment in topic.comments(page=1):
    print(comment.user.name, comment.text)Generate new comments as they are addedfor comment in topic.comment_stream():
    print(comment.user.name, comment.text)Logintweakers.login("YOUR_USERNAME", "YOUR_PASSWORD")Now you can access pages that are unavailable for logged out users:for topic in tweakers.gathering.bookmarks():
    print(topic.name)
Package: tweakpane
(ipy)tweakpaneIPython/Jupyter notebooks module forTweakpane UI.installationpipinstalltweakpaneexampleimporttweakpanepane=tweakpane.Pane()pane.add_input("checkbox",True)pane.add_input("number",10.00)pane.add_input("slider",10,min=0,max=200)withpane.folder(title="Folder")asf:f.add_input("color",dict(r=255,g=200,b=100))f.add_input("text","Tweakpane")paneInputs are dynamically added to thepaneas namedtraitletsand can be subscribed
to or updated like any otheripywidget.# subscribe to changespane.observe(lambdachange:...,names=["checkbox","number","slider","color","text",])# update pane programaticallypane.checkbox=Falsepane.text="Some other text"releasegittag-avX.X.X-m"X.X.X"gitpush--follow-tags
Package: tweakstream
tweakstreamStream topics fromgathering.tweakers.netin your terminal.InstallNote:tweakstreamrequires Python >= 3.6.pip install tweakstreamUsageList active topics$ tweakstream list

   #  Titel                                                         Laatste reactie
---  ------------------------------------------------------------  -----------------
  1  Lucht/Water warmtepomp om mee te verwarmen en koelen #6       19:50
  2  Het Hardstyle-topic - deel 2                                  19:50
  3  Panasonic Monoblock [H versie ] ervaringen - settings - help  19:50
  4  [Slowchat] Het grote cryptocurrency slowchat topic #5         19:50
  5  Is de LG 49" 49SK7 een goeie televisie?                       19:49
  6  Welke wielmoeren voor stalen velgen?                          19:49
  7  [Google Assistent] Ervaringen & Discussie                     19:49
  8  Het grote Ford topic                                          19:49
  9  [Verzamel] Long exposure fotografie (ND... filters)           19:48
 10  De gasdiscussie : wanneer stap jij van het gas af?            19:48Stream a specific topic$ tweakstream stream https://gathering.tweakers.net/forum/list_messages/1852751
19:46 burnebie https://gathering.tweakers.net/forum/list_message/56741767#56741767
Je weet het allemaal nogal 

19:50 freestyler2 https://gathering.tweakers.net/forum/list_message/56741793#56741793
Graag wil ik iedereen erop wijzen dat er een Masternodes topic is. Discussies hieromtrent graag hier bespreken:
freestyler2 in "[Masternodes] Het grote Masternodes topic deel 1" 

19:51 Jaapio https://gathering.tweakers.net/forum/list_message/56741815#56741815
Bartvandelaar schreef op donderdag 11 oktober 2018 @ 19:24:
[...]


Ik moet toch altijd smakelijk lachen om jou reacties. Voor dat we beide miljonair zijn gaan wij nog eens samen een biertje doen in de kroeg. Een avondje hard lachen.
Dat moet een keertje goed komen. En dan tegen random mensen aan de bar zeggen: 'tis toch wat met die shitcoins, dikke pump en dumps man. Hopen dat de uitbraak van de triangle gigantisch naar boven is, anders geen lambo dit jaar ben ik bang...' en weglopen.

Altijd leuk.Search for topics$ tweakstream search "F1"

   #  Titel                                                Laatste reactie
---  ---------------------------------------------------  -----------------
  1  [Pocophone F1] Levertijden & Prijzen                 19:43
  2  [F1] Seizoen 2018 - deel 2                           19:48
  3  [F1 2018] Race 17 - GP van Japan                     09-10
  4  [Multi] F1 2018                                      09:45
  5  [PC] F1 2018 race buddies                            01-09
  6  [Pocophone F1] Accessiores                           30-09
  7  Oneplus 6T vs Pocophone F1                           02-10
  8  [F1] Racemanagers/pools 2017                         13-02
  9  Koppeling f1 2017                                    09-03
 10  [Xiaomi Pocophone F1] Stock Android installeren      25-09
 
Choose a topic to stream (1-10):
Package: tweebo-parser-python-api
Tweebo Parser Python APIThis is a Python 3 API to theTweeboParserusing the TweeboParser API server which is servered using the Docker image which can be foundhere.Installation and setupRequires Python 3.6pip install tweebo-parser-python-apiInstalldockerStart the TweeboParser API server running locally on port 8000:docker run -p 8000:8000 -d --rm mooreap/tweeboparserdockerNOTEThis will run the server using as many threads as you have CPU cores on your machine. If you would like to specify the number of threads use the--threadsflag e.g.:docker run -p 8000:8000 -d --rm mooreap/tweeboparserdocker --threads 4Also to stop the docker server running:Find the name assigned to the docker image using:docker psThen stop the relevant docker image:docker stop name_of_imageExamplefrom tweebo_parser import API, ServerError
# Assumes server is running locally at 0.0.0.0:8000
tweebo_api = API()
text_data = ['Guangdong University of Foreign Studies is located in Guangzhou.',
             'Lucy is in the sky with diamonds.']
try:
    result_stanford = tweebo_api.parse_stanford(text_data)
    result_conll = tweebo_api.parse_conll(text_data)
except ServerError as e:
    print(f'{e}\n{e.message}')For a more detailed example see the followingjupyter notebook
Package: tweebot
tweebotA twitter bot client, written in Python. This can be used as either a
command-line tool, or as a library imported into your Python
applications.RequirementsPython 3.3+A twitter accountInstallationTo install:make installDevelopmentTo build the dev environment:make venv
. venv/bin/activate
python main.pyConfigurationThe application will only try to tweet if you provide a key file, which
is formatted like:CONSUMER_KEY: dsafsafafsd
CONSUMER_SECRET: iuhbfusdfiu44
ACCESS_KEY: vjhbv99889
ACCESS_SECRET: ivfjslfiguhg98ORthe equivalent JSON.The filename must be provided using the--keyscommand-line
argument.Command-line usageTweetingTo tweet a simple status update:tweebot --keys {twitter-key-file} tweet "Hello world, this is my Tweebot status update!" -vvYou can control verbosity with the number ofvs.More command-line options are possible, try--helpto see them all.If you use-for the tweet text, the application will use standard
input, which can be handy for piping info from your bots – ie, use an
arbitrary application to pipe to tweebot which can tweet it out.FollowingTo automatically follow new followers, and unfollow unfollowers:tweebot --keys {twitter-key-file} follow --autoLibrary usageThere are two basic ways you can use this in a library: you can either
import theTwitterClientclass and control that from your
application, or you can import tweebot’smainfunction and provide
it with a callback that will generate your status updates.tweebot.mainIf you provide a callable totweebot.main, then tweebot will use it
as a callback when the main function is called. The main method
implements all the command-line tweebot arguments, the difference is
that if the program is asked to tweet an empty status, it will instead
tweet the results of your method, called with no arguments. If you tweet
a non-empty status, that string will be handed to your method, and the
result will be tweeted:mytweebot --keys {twitter-key-file} tweet -vvThus, this provides a simple way to define new twitter-bots: define a
method of the form:def my_tweet_builder(status, directives):
    new_status = do_something()
    return new_status
    # or
    return new_status, new_directivesThis can either ignore the status it’s given, or use it in any way you
wish. If you have multiple bots that modify the status when given, then
you could run them independently, or pipe them together in novel ways
without recompiling – your choice.Direct client useIf you want your application to be in control, you can simply importtweebot.TwitterClientand use its methods directly. This includes
direct API access (via tweepy) to twitter, and few custom, convenience
methods.
Package: tweedekamer
tweedekamerA pypi package for retrieving Dutch parliamentary debate data.Using this package you can download Dutch parliament debates and subtitles. It is based on the websitehttps://debatgemist.tweedekamer.nl. This package is not affiliated with the Dutch parliament. It is not allowed to use this package for commercial purposes.This package is no longer in beta, but you still might expect bugs and missing features as the testing library is not finished.InstallationInstall this package through pip.
The package requires Python >=3.7.9pipinstalltweedekamerUsage/ExamplesRetrieving subtitlesfromtweedekamerimportSearchresults=Search("belasting 2022",limit=1).resultresults[0].subtitle.textRetrieving video linkfromtweedekamerimportSearchresults=Search("belasting 2022",limit=1).resultresults[0].video.urlRetrieving speaker informationFor each debate there is a list of speakersfromtweedekamerimportSearchresults=Search("belasting 2022",limit=1).resultresults[0].speakers[0].nameresults[0].speakers[0].partyresults[0].speakers[0].speach.textresults[0].speakers[0].speach.subtitleresults[0].speakers[0].speach.tokenizedRetrieve from list of URLsIt's also possible to retrieve data from a list of URLs.
These URLs can be retrieved from the websitehttps://debatgemist.tweedekamer.nl.
Every URL should be a string in a list and should start withhttps://debatgemist.tweedekamer.nl/debatten/.fromtweedekamerimportSearchSearch(urls=["https://debatgemist.tweedekamer.nl/debatten/vreemdelingen-en-asielbeleid-10"]).resultExport to CSVExport the results of your query to CSV, separate the data by speaker or keep the entire debate per rowfromtweedekamerimportSearchSearch("belasting 2022",limit=1).to_csv("entire_debate")Search("belasting 2022",limit=1).to_csv("debate_per_speaker",separate_speakers=True)FeaturesRetrieve date and info on debateSearch debates by query, date range, and debate typeRetrieve subtitle dataRetrieve video dataRun LocallyUse these instructions if you want to edit the package locally.Clone the projectgitclonehttps://github.com/micheldore/tweedekamerGo to the project directorycdtweedekamerCreate the virtual environment (using Python 3)python-mvenvenvsourceenv/bin/activateInstall dependenciespipinstall-rrequirements.txtIf you want to install the local version of the packagepython-mpipinstall-e.
Package: tweedie
tweedie is a Python library implementing scipy’srv_continuousclass
for the Tweedie family. The Tweedie family is a member of the exponential
dispersion model family and is commonly used in the insurance indsutry
to model claim amounts for insurance policies (exposure).The main focus of this package is the compound-Poisson behavior,
specifically where1 < p < 2. However, it should be possible to
calculate the distribution for all the possible values of p.Documentation:Some of the functions are well documented. Others, not so well. In future
versions, I might try to publish.Downloads:https://github.com/thequackdaddy/tweedieDependencies:Python (2.7, or 3.4+)numpyscipyOptional dependencies:pytest: needed to run teststox: needed to run tests against multiple python/scipy versionsInstall:To run tests against multiple python/scipy versions, install the package usingpip install-e.[dev].Running the tests:To test against the current python version and scipypytest ./tweedieTo test against multiple python versions and scipy versionstox-pall.
If you run in to issues with performance, just usetox.Code and bug tracker:https://github.com/thequackdaddy/tweedieLicense:2-clause BSD, see LICENSE.txt for details.
Package: tweedle
TweedleConfigs manager and controllerWARNING::warning: Now,DON'T USEthis tool in important workspace directories, because:This project is still in thedevelopment, and some usages may change in the future.It has somedestructiveandunrecoverableoperations.Install (Dev)For Developer:At first, you need to installpoetryYou can fork or just clone my repo to modify something:gitclonehttps://github.com/StrayDragon/tweedle.git# master repocdtweedle
poetryinstall
poetryshell# use it directly and editablepipinstall--editable.# or unit testpytestFor User:Coming soonUsages:TODO
Package: tweeds
“Scrape tweets from any Twitter user profile. Twitter API alternative to scrape Twitter hashtags, threads, images, videos, statistics,
and Twitter history. Export data in JSON and CSV format. This project enables you to extract large amounts of data from Twitter.
It lets you do much more than the Twitter API, because it doesn’t have rate limits and you don’t even need to have aTwitter account, a registered app,
or Twitter API key.
Package: tweego
TweegoGenerate second order ego networks for users from Twitter. Create egocentric graphs with the twitter api. Tweego allows you to resume data collection over multiple sessions.UsageInstallationpip install tweegoCLItweego [OPTIONS]

Options:
  -fo, --first-order            Flag: Collect first order ego
  -u, --users                   Flag: Collect user data
  -so, --second-order           Flag: Collect second order ego
  -g, --graph                   Flag: Generate graph file
  -d, --dir PATH                Directory to store data
  -k, --keys-file PATH          Location of the api keys JSON file
  -n, --screen-name TEXT        The screen name of the ego center user
  -f, --follower-limit INTEGER  Number of followers for the second order ego
  --version                     Show the version and exit.
  --help                        Show this message and exit.ExampleCollect everything:tweego -d "dataset" -k "keys.json" -n "github" --fo --u --so -gCollect first order connections only:tweego -d "dataset" -k "keys.json" -n "github" --foCollect users and second order connections only:tweego -d "dataset" -k "keys.json" -n "github" --u --soAPI keys formatTweego supports multiple api keys to speed up the data collection process. The api keys should be in a JSON file with the following format.You can get these details from theTwitter developer websiteby creating a standalone app and then generating the keys and tokens.[...{"app_key":"<<app_key>>","app_secret":"<<app_secret>>","oauth_token":"<<oauth_token>>","oauth_token_secret":"<<oauth_token_secret>>"},{"app_key":"<<app_key>>","app_secret":"<<app_secret>>","oauth_token":"<<oauth_token>>","oauth_token_secret":"<<oauth_token_secret>>"},...]Folder StructureOnce Tweego is done, the folder structure should look like this:dir
├── users
│   ├── user_id_1.json
│   ├── user_id_2.json
│   └── ...
├── screen_name
│   ├── user_id_1
│   |   └── user_id_1.txt
│   ├── user_id_2
│   |   └── user_id_2.txt
│   └── ...
├── screen_name.txt
└── screen_name.gmlTheusersdirectory contains information about each user, thescreen_namedirectory contains the follower ids of users. Thescreen_name.gmlfile contains the ego network and an application likeGephican be used to analyze it.
Package: tweeli
# tweeli = twitter + cliA command line interface for Twitter with some cool features writing with python 3## QuickStartFirst, enable Twitter apps for your account with the following link [Twitter Account Manager](https://apps.twitter.com).Then, write all neccessary information into config file which is located insrc/config/config.iniInstall the required packages in requirements.txt:`sh $ pip3 install-rrequirements.txt `* Runmain.pyprogram and press ‘tab’ to show all available commands. Then run your ideal command and enjoy it!## ContributionBug reports and pull requests are welcome on GitHub athttps://github.com/smmtaheri/tweeli.Please fork it and raise a pull request for your contribution.## To-Do:Complete twitter core functions (list, direct, trends and …)Implement file system caching (handle twitter api limites and )Add unfollow track (DB is required!)
Package: tweepipe
TweepipeEasy data collection from Twitter and storage to MongoDB.Quick StartYou'll need python 3.8 to install installtweepipewith pip:pipinstalltweepipeContribution guidelinesStart a new feature branch from the main git branch. Give it a meaningful name.Write your code.Add unit tests.MaintainersSacha Lévy(sacha.levy@mail.mcgill.ca)
Package: tweeply
.. image logo.png..:height: 6em..:align: left=====================================`Tweeply <http://balkian.com/tweeply>`_=====================================.. image https://travis-ci.org/gsi-upm/tweeply?branch=master..:target: https://travis-ci.org/gsi-upm/tweeplyTO-DO-----* Instalation instructions* Improve documentation and generate via Sphinx* ReadTheDocs* Improve README
Package: tweepy
Tweepy: Twitter for Python!InstallationThe easiest way to install the latest version from PyPI is by usingpip:pip install tweepyTo use thetweepy.asynchronoussubpackage, be sure to install with theasyncextra:pip install tweepy[async]You can also use Git to clone the repository from GitHub to install the latest
development version:git clone https://github.com/tweepy/tweepy.git
cd tweepy
pip install .Alternatively, install directly from the GitHub repository:pip install git+https://github.com/tweepy/tweepy.gitPython 3.7 - 3.11 are supported.LinksDocumentationOfficial Discord ServerTwitter API Documentation
Package: tweepyauth
## tweepyAuth
have you ever wanted to easily get a tweepy api object without any hassle?
this is the project for you!
its this simple:`py import tweepyauth import tweepy api = tweepyauth.auto_authenticate()print(api.me())`you can install this great library using pip withpip3 install tweepyauth___
optional arguments for auto_authenticate() are as follows:tokenfile=(string) the file to read from or write twitter tokens to [defaults to‘twitter_tokens.txt’]keyfile=(string) the file to read from or write twitter (consumer) keys to [defaults to‘twitter_keys.txt’]silent=(bool) determines if console output should be printed [defaults toFalse]
Package: tweepymashup
Tweepy: Twitter for Python!Tweepy Mashup: Mutli-Auth Handling Tweepy for Python 3+This is a mashup of Tweepy 3.8.0 and NIRG’s fork of a python 2 Tweepy version. Nirg’s forked allowed for
automatic switching of Auth handlers as Ratelimit approached. That functionality has been mashed with the updated features
included with Tweepy’s latest version(3.8.0).
======[![Build Status](http://img.shields.io/travis/tweepy/tweepy/master.svg?style=flat)](https://travis-ci.org/tweepy/tweepy)
[![Documentation Status](http://img.shields.io/badge/docs-v3.8.0-brightgreen.svg?style=flat)](http://docs.tweepy.org)
[![Version](http://img.shields.io/pypi/v/tweepy.svg?style=flat)](https://pypi.org/project/tweepy/)
[![Coverage Status](https://img.shields.io/coveralls/tweepy/tweepy/master.svg?style=flat)](https://coveralls.io/github/tweepy/tweepy?branch=master)
[![Discord](https://img.shields.io/discord/432685901596852224.svg)](https://discord.gg/bJvqnhg)InstallationThe easiest way to install the latest version
is by using pip/easy_install to pull it from PyPI:pip install tweepymashupYou may also use Git to clone the repository from
GitHub and install it manually:git clonehttps://github.com/oblockton/tweepy_fixcd tweepy
python setup.py installPython 3.5, 3.6, & 3.7 are supported.Community[Discord Chat](https://discord.gg/bJvqnhg)