semvec/pypi-packages huggingface dataset:
codextend 1.1.0.11
A Python module The encoding and the encoding format can be converted.
Requires Python: >=3.6
Keywords: code, extension, utility

# Codextend

[PyPI version]
Codextend is a transcoding tool that you can use to convert text and files into binary or hexadecimal, and to convert text and file encoding formats to and from each other at any time. Hex, binary and encrypt function.

##Should be ensured

download 'chardet cryptography' module,Only in this way can it run successfully.

## Installation

You can install Codextend via pip:

## Latest Version

Alpha Test Version: v1.1.0.10Alpha

```bash
pip install codextend
pip3 install --upgrade codextend
pandoc-run-postgres 0.1.0
Execute SQL queries inside a markdown document
Requires Python: >=3.7

# pandoc-run-postgres

Execute SQL queries inside a markdown document

## Example

1. Write a SQL query in a code block

~~~ markdown
    ``` run-postgres
    SELECT oid, 'hello ' || rolname || '!' AS greetings from pg_roles
      Limit 2;
    ```
~~~

2. Call pandoc

```
export PGHOST=localhost
export PGDATABASE=foo
export PGUSER=bob
export PGPASSWORD=xxxxxxxx
pandoc --filter pandoc-run-postgres hello.md -o result.md
```

3. The output will contain the SQL query inside a SQL codeblock and
   the result in a table:


~~~ markdown

  ```sql
  SELECT oid,
         'hello ' || rolname || '!' AS greetings
  FROM pg_roles
  LIMIT 2;

  ```

    oid    greetings
    ------ -----------------------------
    33731  hello bob!
    33748  hello alice!
~~~



## Install

```
pip install pandoc-run-postgres
```

## Configuration

See examples in `sample.md`.


## Similar projects

* [pandoc-filter-runsql] for MySQL
* Jupyter's [ipython-sql]


[ipython-sql]: https://github.com/catherinedevlin/ipython-sql
[pandoc-filter-runsql]: https://github.com/barskern/pandoc-filter-runsql