Local news delivered straight to your terminal
Project description
Newz
Local news straight to your terminal.
Newz utilizes wego for weather visualizations, and Yahoo for financial and headline data.
Installation
pip install newz
Dependencies
- Python 2.7 or later
- utf-8 terminal with 256 colors
- An API key with openweathermap.
Usage
To run newz, simply execute python3 -m newz
or newz
in your terminal/command line tool.
In order to accurately pull weather information, after signing up with openweathermap, you can either create an environment variable, replace the WEATHER_KEY value in the newzconfig.py file.
Newz uses the geocoder library to obtain your geolocation to provide the data. If you wish to obtain different location's news, just apply the -c
or --city
flags along with the name of the city.
Under the Headlines section you can click on the link (CTRL + Click depending on the terminal) which will take you to the news article in your default browser.
Contributing
- Fork it (https://github.com/msleone90/newz/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
License
© Michael S Leone
Licensed under the MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file newz-1.0.2.tar.gz
.
File metadata
- Download URL: newz-1.0.2.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4417c49e6583a109884ef7f243193fcd0ec1a231b98c4ddf8bd04b0c40522ca |
|
MD5 | dfe9a1bc2fefaf03f563205453d7e213 |
|
BLAKE2b-256 | 76c8fbe15094ffbb4ee0f50a063b7a2b30a30fb4c1ba56462182304893722f9d |
File details
Details for the file newz-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: newz-1.0.2-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8c9762114ea46fb7ac1f1d82869042e203740518ae8308e44c0bc37fdd718a0 |
|
MD5 | 91e158f0e0b7f44e7b39083ce93dd79e |
|
BLAKE2b-256 | 18d5e6ec95abeb64b9fc466fa5601dbf05253ffce93bcf1525ca59517923c5e7 |