semvec/pypi-packages huggingface dataset:
wyp 0.1.3
What You Write Is What You Plot
Requires Python: >=3.8

wyp
===

Simple text-based webapp for plotting timeseries from wandb.
The philosophy behind WYWIWYP (What You Write Is What You Plot) or in short WYP (Write Your Plot) is to define the plots with a simple text-based interface.


### Get Started

Install the package

```
pip install wyp
```

Check that you are logged in wandb and lunch the webapp:

```
wandb login
wyp
```

You can connect to [http://localhost:5000/](http://localhost:5000/).

### Development

Clone this repository and run `python wyp/serve.py`.

To work on the frontend:

```bash
npm install
npm run dev
```

### Deploy

Check the `Makefile` to make the python package and upload it. 
We build the svelte app and copy the static files served to the clients (HTML, JS, ...) into the python package. 


### TODO

- [ ] Improve autocompletion for available plot keys
- [ ] Improve autocompletion for available metrics in the wandb runs
- [ ] Add CI for building the pip package at every release
- [ ] Add `columns`, `rows`, `hue`, `linestyle` to make facet plots
- [ ] Support multiple metrics `y` in a plot
- [ ] Add a table with the runs and the config keys
- [ ] Export to PNG
- [ ] Export to HTML with the data inlined (read only)
- [ ] Save exported HTML to gs:// for sharing quickly
py-postgresql 1.3.0
PostgreSQL driver and tools library.
Requires Python: >=3.8


.. warning::
	In v1.3, `postgresql.driver.dbapi20.connect` will now raise `ClientCannotConnectError` directly.
	Exception traps around connect should still function, but the `__context__` attribute
	on the error instance will be `None` in the usual failure case as it is no longer
	incorrectly chained. Trapping `ClientCannotConnectError` ahead of `Error` should
	allow both cases to co-exist in the event that data is being extracted from
	the `ClientCannotConnectError`.

py-postgresql is a set of Python modules providing interfaces to various parts
of PostgreSQL. Primarily, it provides a pure-Python driver with some C optimizations for
querying a PostgreSQL database.

http://github.com/python-postgres/fe

Features:

 * Prepared Statement driven interfaces.
 * Cluster tools for creating and controlling a cluster.
 * Support for most PostgreSQL types: composites, arrays, numeric, lots more.
 * COPY support.

Sample PG-API Code::

	>>> import postgresql
	>>> db = postgresql.open('pq://user:password@host:port/database')
	>>> db.execute("CREATE TABLE emp (emp_first_name text, emp_last_name text, emp_salary numeric)")
	>>> make_emp = db.prepare("INSERT INTO emp VALUES ($1, $2, $3)")
	>>> make_emp("John", "Doe", "75,322")
	>>> with db.xact():
	...  make_emp("Jane", "Doe", "75,322")
	...  make_emp("Edward", "Johnson", "82,744")
	...

There is a DB-API 2.0 module as well::

	postgresql.driver.dbapi20

However, PG-API is recommended as it provides greater utility.

Once installed, try out the ``pg_python`` console script::

	$ python3 -m postgresql.bin.pg_python -h localhost -p port -U theuser -d database_name

If a successful connection is made to the remote host, it will provide a Python
console with the database connection bound to the `db` name.