Loading qi packages
To load a package, use .qi.import:Feed handlers
The first time you try to run a feed handler on any given machine, it will likely complain~/.qi/qi.profile and suggest an alias qi, which will allow the feed handler to run smoothly the next time around. This extra step should only be required once per machine.
With a feed running, the function tcounts[] shows the count of each table.
If you run into issues with Github rate limiting, see here.
Other feeds
Some feeds require an account (free) and an API key. The following examples will use theqi alias instead of q qi.q.
Using stacks
q processes usually work together as a stack. The tickerplant (tp) is a router that takes data from feeds, and manages subscriptions. To start a tp as part of a stack, run:1 (or any suffix) tells qi that this is a process that lives in a stack. Because no stack has been created, qi will create an example stack dev1, and will place a JSON configuration file in a stacks folder in the current working directory.
Other useful commands:
Hub
The hub process provides a view of all other processes:procs table that lists the various processes. From within the hub, you can control processes and stacks:
License
qi.q and its packages are free to use, and distributed under the MIT license.Questions & Feedback
- Email: qi@alphakdb.com