semvec/pypi-packages huggingface dataset:
ScrapeTweets 1.0.0
ScrapeTweets is a Python package that scrapes all the tweets from the Twitter API by using Hashtags. This data can be used for various purposes like Education, Research, News, etc.
Requires Python: >=3.0

Scrape Twitter Tweets
===================


ScrapeTweets is a Python package that scrapes all the tweets from the Twitter API by using Hashtags. This data can be used for various purposes like Education, Research, News, etc.

----------


Installation
-------------
Install directly from my [PyPi](https://github.com/ManasweeA/ScrapeTweets-PyPi)

> pip install ScrapeTweets

Or Clone the [Repository](https://github.com/ManasweeA/ScrapeTweets-PyPi) and install

> python3 setup.py install

Parameters
-------------

## * Authorization 
-------------
The Authorization token when you visit Twitter.

## * x-guest-token
-------------
The x-guest-token when you visit Twitter.

## * hashtag
-------------
The hashtag to search on Twitter.

## * count
-------------
The number of tweets to fetch from Twitter.


Attributes
-------------

## * setAuthorization(authorization_token)
-------------
Set the Authorization Token.

## * setGuestToken(x-guest-token)
-------------
Set the x-guest-token.

## * fetchTweetByHashTagandCount(hashtag, count)
-------------
Fetch all the tweets using Hashtag and Count.



<i class="icon-file"></i> Documentation
-------------

### 1.  Install the package
>  pip install ScrapeTweets

### 2. Import the library
>  from ScrapeTweets import ScrapeTweets

### 3. Create an object for ScrapeTweets class
> st = ScrapeTweets()

### 4. Set The Authorization Token
> st.setAuthorization(authorization_token)

### 5. Set The x-guest-token
> st.setGuestToken(x-guest-token)

### 5. Predict your Test Set results
> all_tweets_fetched = st.fetchTweetByHashTagandCount(hashtag, count)

----------



Example Code
-------------

```
from ScrapeTweets import ScrapeTweets

st = ScrapeTweets()
st.setAuthorization('Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA')
st.setGuestToken('1333095583104462848')
all_tweets_fetched = st.fetchTweetByHashTagandCount('lamborghini', 25)

# print(all_tweets_fetched)

for no, tweet in enumerate(all_tweets_fetched):
    print("Tweet No : ", no+1)
    print("Tweet text : ", all_tweets_fetched[tweet]['full_text'])
    # break

```


----------



Footnotes
-------------

You can find the code at my [Github](https://github.com/ManasweeA/ScrapeTweets-PyPi).



Connect with me on Social Media
-------------

* [www.github.com/ManasweeA](www.github.com/ManasweeA)
* [https://www.linkedin.com/in/manaswee0612/](https://www.linkedin.com/in/manaswee0612/)
treedensitycalculator 1.5.7
The Tree Density Calculator is a QGIS plugin and command line interface package designed to calculate tree densities based on brightness images, using the local maximum in a sliding window.
Keywords: forestry,tree density,remote sensing,sliding window,local maxima

#################################
About the Tree Density Calculator
#################################

The *Tree Density Calculator* is a QGIS plugin and command line interface package designed to calculate tree densities
based on brightness images, using the local maximum of a sliding window.

The original Tree Density Calculator was written in C++ and ported to PyQGIS in 2018/2019. It has been developed in an
open source environment to encourage further development of the tool.

The **instruction pages** can be found at <https://treedensitycalculator.readthedocs.io>.

The code **repository** can be found at https://bitbucket.org/kul-reseco/localmaxfilter.

**PLEASE GIVE US CREDIT**

When using the Tree Density Calculator, please use the following citation:

*Crabbé, A. H., Cahy, T., Somers, B., Verbeke, L.P., Van Coillie, F. (2020). Tree Density Calculator Software*
*(Version x.x) [Software]. Available from https://bitbucket.org/kul-reseco/localmaxfilter.*

**ACKNOWLEDGEMENTS**

The software and user guide are based on the Local Maximum Filter [C++ software]:
Ghent University, Laboratory of Forest Management and Spatial Information Techniques, Lieven P.C. Verbeke

The revision into a QGIS plugin is funded primarily through BELSPO (the Belgian Science Policy Office) in the framework
of the STEREO III Programme – Project LUMOS - SR/01/321.

The LUMOS logo was created for free at https://logomakr.com.

**SOFTWARE LICENSE**

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License (COPYING.txt). If not see www.gnu.org/licenses.