Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
|travis-img| # newslynx-core
NewsLynx Core is an expandable open-source toolkit for building modular
content analytics workflows. It provides a fully RESTful API as well as
a comprehensive python
client and command line interface.
NewsLynx Core was built to power ```newslynx-app`` http://github.com/newslynx/newslynx-app`__ but is capable of powering a diverse range of potential applications, as well, including:
python
jobs via API.For most applications, refer to our installation guide <http://newslynx.readthedocs.org/en/latest/install.html>
. If
you'd like to setup a development environment, following the
instructions below for MacOS X. If you'd like to spin up a Virtual
Machine, check out our automation guide <https://github.com/newslynx/automation>
.
Dependencies
Postgres
^^^^^^^^
**NOTE** We recommend using `Postgres APP <http://postgresapp.com/>`__.
However, if you prefer the ``brew`` distribution, make sure to install
it with plpythonu.
::
$ brew install postgresql --build-from-source --with-python
(Re)create a ``postgresql`` database
.. code:: shell
# If you already have a database called `newslynx`, delete it first
$ dropdb newslynx
$ createdb newslynx
Redis
^^^^^
Install ``redis``:
.. code:: shell
$ brew install redis
Open another tab in your shell and run:
::
$ redis-server
Installation / Initialization
NOTE we recommend that you install newslynx
in a virtual environment <http://docs.python-guide.org/en/latest/dev/virtualenvs/>
__.
First clone this repository and move into it's root directory
.. code:: shell
$ git clone https://github.com/newslynx/newslynx-core.git
$ cd newslynx-core
OPTIONAL Set your
configuration <http://newslynx.readthedocs.org/en/latest/config.html>
.
If you don't do this, we will fallback on the app's default configuration file <newslynx/app/config.yaml>
.
Initialize the database, super user, and install default sous chefs, tags, and recipes. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Run this command when working with newslynx-app
.. code:: shell
$ make app_install
Initialize a bare install. ^^^^^^^^^^^^^^^^^^^^^^^^^^
[Expert mode] don't install the app's default sous chefs, tags, or recipes.
::
$ make bare_install
Start the server ^^^^^^^^^^^^^^^^
newslynx debug
newslynx debug --raise-errors
gunicorn
server: bin/run
Start the task workers ^^^^^^^^^^^^^^^^^^^^^^
::
$ bin/start_workers
Stop the task workers ^^^^^^^^^^^^^^^^^^^^^
::
$ bin/stop_workers
Start the cron daemon ^^^^^^^^^^^^^^^^^^^^^
::
$ newslynx cron
newslynx
is a complicated applcation, to simplify testing...
This repository contains a Makefile
which provides access to the
following commands:
make clean
pip
.make clean_sc
pip
in ~/.newslynx/sous-chefs
make install
newslynx
newslynx
if a version already exists.make app_install
newslynx
, initializes the Super User, and adds the
Recipes, Tags, and Sous Chefs needed to run newslynx-app
make bare_install
newslynx
and initializes the Super Usermake test_install
~/.newslynx
make app_install
pip install -r test-requirements.txt
distribute
newslynx
on PyPIConfiguration <http://newslynx.readthedocs.org/en/latest/config.html>
__First steps <http://newslynx.readthedocs.org/en/latest/getting-started.html>
__Understanding Sous Chefs <http://newslynx.readthedocs.org/en/latest/sous-chefs.html>
__Understanding Recipes <http://newslynx.readthedocs.org/en/latest/recipes.html>
__Understanding Metrics <http://newslynx.readthedocs.org/en/latest/metrics.html>
__Understanding Tags <http://newslynx.readthedocs.org/en/latest/taxonomy.html>
__Understanding Content <http://newslynx.readthedocs.org/en/latest/content-items.html>
__Understanding Events <http://newslynx.readthedocs.org/en/latest/events.html>
__Full API Reference <http://newslynx.readthedocs.org/en/latest/api.html>
__Command Line Interface <http://newslynx.readthedocs.org/en/latest/cli.html>
__Write your own Sous Chef <http://newslynx.readthedocs.org/en/latest/writing-sous-chefs.html>
__This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
.. |travis-img| image:: https://travis-ci.org/newslynx/newslynx-core.svg :target: https://travis-ci.org/newslynx/newslynx-core
FAQs
A modular toolkit for analytics.
We found that newslynx demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.