Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
A command-line client for Uptycs that has auto-completion and syntax highlighting. This tool is based on dbcli frame work. We have used Uptycs restcall in the tool
If you already know how to install python packages, then you can install it via pip:
You might need sudo on linux.
if you want to install usql, using pip, you can use following command:
$ sudo pip install usql
if you want to install from source you can use following command:
$ git pull usql
$ cd usql
$ python setup.py install
$ usql --help
Usage: usql -k <uptycs key file> [DATABASE]
Examples:
- usql -k mykeyfile [global|realtime|timemachine]
A config file is automatically created at ~/.config/usql/config
at first launch. See the file itself for a description of all available options.
Following are the options available through the tool
+-------------+----------------------------+------------------------------------------------------------+
| Command | Shortcut | Description |
+-------------+----------------------------+------------------------------------------------------------+
| .databases | .databases | List databases. |
| .open | .open | Change to a new database. |
| .schema | .schema[+] [table] | The complete schema for the database or a single table |
| .status | \s | Show current settings. |
| .tables | \dt[+] [table] | List or describe tables. |
| \G | \G | Display current query results vertically. |
| \e | \e | Edit command with editor (uses $EDITOR). |
| \f | \f [name [args..]] | List or execute favorite queries. |
| \fd | \fd [name] | Delete a favorite query. |
| \fs | \fs name query | Save a favorite query. |
| \once | \o [-o] filename | Append next result to an output file (overwrite using -o). |
| exit | \q | Exit. |
| help | \? | Show this help. |
| nopager | \n | Disable pager, print to stdout. |
| notee | notee | Stop writing results to an output file. |
| pager | \P [command] | Set PAGER. Print the query results via PAGER. |
| prompt | \R | Change prompt format. |
| quit | \q | Quit. |
| rehash | \# | Refresh auto-completions. |
| source | \. filename | Execute commands from file. |
| system | system [command] | Execute a system shell commmand. |
| tableformat | \T | Change the table format used to output results. |
| tee | tee [-o] filename | Append all results to an output file (overwrite using -o). |
| watch | watch [seconds] [-c] query | Executes the query every [seconds] seconds (by default 5). |
+-------------+----------------------------+------------------------------------------------------------+
FAQs
CLI for Uptycs platform with auto-completion and syntax highlighting.
We found that usql demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.