Skip to main content

News Signals

Check out this colab notebook to see some of the things you can do with the news-signals library.

Install news-signals in a new environment

Run conda create -n news-signals python=3.8 if you're using Anaconda, alternatively python3.8 -m venv news-signals

source activate news-signals
# then, 
pip install news-signals
# or, 
git clone https://github.com/AYLIEN/news-signals-datasets.git
cd news-signals-datasets
pip install -r requirements.txt
pip install .

Quickstart

Install news-signals in a new environment

conda create -n test-signals-pypi python=3.8
conda activate test-signals-pypi

pip install news-signals

Look at a sample dataset

from news_signals.signals_dataset import SignalsDataset

# nasdaq100 sample dataset
dataset_url = 'https://drive.google.com/drive/folders/1TBFcpzxKeXDczBXMePjb7kGuU0jj_GdM?usp=share_link'

dataset = SignalsDataset.load(dataset_url)

Now try:

import matplotlib.pyplot as plt


fig = dataset.plot()
plt.show()

Generating a new Dataset

python bin/generate_dataset.py \
    --start 2022/01/01 \
    --end 2022/02/01 \
    --input-csv resources/test/nasdaq100.small.csv \
    --id-field "Wikidata ID" \
    --name-field "Wikidata Label" \
    --output-dataset-dir sample_dataset_output

Metadata

Release files for news-signals 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for news-signals 0.1.4
File Size Uploaded Provenance Actions
news-signals-0.1.4.tar.gz 921.4 kB Without provenance Details for news-signals-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for news-signals 0.1.4
File Interpreter ABI Platform Actions
news_signals-0.1.4-py3-none-any.whl Python 3 none any Details for news_signals-0.1.4-py3-none-any.whl

Total release size: 969.2 kB

Release files / news-signals-0.1.4.tar.gz

Download URL news-signals-0.1.4.tar.gz
Size 921.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b3ae3f4b2a16b341750e473c6b649658759bd070260319329034296ba6cd0092
BLAKE2b-256 checksum
How to use checksums
42b2eb01f583b143ddcb79c3dde43c204e7f101247ecfe0f43ed5a11a957344d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / news_signals-0.1.4-py3-none-any.whl

Download URL news_signals-0.1.4-py3-none-any.whl
Size 47.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27527bb3072c4d3e94158d9a571faf31789125aa9a0f4ffe673237d8f5f7bdae
BLAKE2b-256 checksum
How to use checksums
a27254ee8263cf672bf2b0ad7139a23673e81b2c53635c1d5b9721414569032a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Security for news-signals 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page