semvec/pypi-packages huggingface dataset:
osgpy 0.1.6
Python utilities of the Operating System Group
License: MIT
Requires Python: >=3.10

OSG Python Tools
======================

The Operating System Group: https://osg.tuhh.de

This repository has multiple targets. It is

1. An opinionated selection of Python packages that we want to use for
   managing our experiments and data.

2. An collection of small functions that we use for looking at said
   data.

Installation
------------

## Just install without local checkout and code editing possibility
     pip3 install git+https://github.com/tuhhosg/osgpy

## With local code checkout and code changes have immediate effects
	git clone git@github.com:tuhhosg/osgpy.git
	cd osgpy
	pip3 install -e .
sqlalchemy-mimer 1.0.4
SQLAlchemy dialect for Mimer SQL (via MimerPy/PEP 249)
License: MIT
Requires Python: >=3.8
Keywords: sqlalchemy, mimer, mimer sql, database, dialect, dbapi

# sqlalchemy-mimer

A SQLAlchemy 2.x dialect for [**Mimer SQL**](https://developer.mimer.com), built on top of the PEP 249-compliant driver [**MimerPy**](https://pypi.org/project/mimerpy/).

## 🔧 Installation

### From source (editable mode)

```bash
python -m pip install -e .
```

## Install (PyPi)

```bash
python -m pip install sqlalchemy-mimer
```

## 🔗 Connection

### Supported URL forms

The dialect supports several URI variants:

- `mimer://user:password@database`
- `mimer://user:password@host:port/database`
- `mimer://user:password@host:port/?dsn=database`
- `mimer+mimerpy://user:password@database`
- `mimer+mimerpy://user:password@host:port/database`
- `mimer+mimerpy://user:password@host:port/?dsn=database`
  
Example:

```python
from sqlalchemy import create_engine

engine = create_engine("mimer://SYSADM:SYSPASS@mimerdb")
engine = create_engine("mimer://SYSADM:SYSPASS@localhost:1360/mimerdb")
engine = create_engine("mimer+mimerpy://SYSADM:SYSPASS@localhost:1360/?dsn=mimerdb")

```

> **Note:** Until the Mimer SQL C API and MimerPy support host and port parameters,
> those parts of the URI are parsed but ignored.

## ▶️ Examples

Run basic demo programs:

```bash
python examples/demo_test.py -u <database username> -d <database>
```

```bash
python examples/demo_create_table.py
```

Run a bit more complete demo that show some of the ORM capabilities:

```bash
python examples/demo_orm.py -u <database username> -d <database>
```

## 🧪 Running Tests

Before running the tests a Mimer SQL database ident with
databank and ident privileges is needed. If no suitable ident exists it can
be created with:

```sql
create ident TST_MASTER as user using 'TST_MASTER_PWD';
grant ident to TST_MASTER;
grant databank to TST_MASTER with grant option;
````

To tell the unittests what ident and password to use, set them as
environment variables. On Linux and macOS you can do:

```bash
export MIMER_TEST_USER=TST_MASTER
export MIMER_TEST_PASSWORD=TST_MASTER_PWD
````

To run all unittests:

```bash
python -m unittest discover tests
```

Run a specific test file for detailed output:

```bash
python tests/test_basic_dml.py
python tests/test_constraints.py
python tests/test_orm.py
.
.
.
```

## Documentation

To build the documentation you have to install `mkdocs`:

```bash
python -m pip install mkdocs mkdocs-material
```

Build documentation:

```bash
mkdocs build
```

View the generated documentation, run:

```bash
mkdocs serve
```

Alternatively build the docs without flat structure that can be viewed in the browser directly without relying on `mkdocs serve`:

```bash
mkdocs build -f mkdir-nodir.yml
```
datalad-deprecated 1.0.0
DataLad extension package for deprecated functionality that was phased out in the core package
License: MIT
Requires Python: >=3.10

# DataLad extension for functionality that was phased out of the core package

[![GitHub release](https://img.shields.io/github/release/datalad/datalad-deprecated.svg)](https://GitHub.com/datalad/datalad-deprecated/releases/) [![PyPI version fury.io](https://badge.fury.io/py/datalad-deprecated.svg)](https://pypi.python.org/pypi/datalad-deprecated/) [![Build status](https://ci.appveyor.com/api/projects/status/ulbsyym6ih102gm2/branch/master?svg=true)](https://ci.appveyor.com/project/mih/datalad-deprecated/branch/master) [![codecov.io](https://codecov.io/github/datalad/datalad-deprecated/coverage.svg?branch=master)](https://codecov.io/github/datalad/datalad-deprecated?branch=master) [![crippled-filesystems](https://github.com/datalad/datalad-deprecated/workflows/crippled-filesystems/badge.svg)](https://github.com/datalad/datalad-deprecated/actions?query=workflow%3Acrippled-filesystems) [![Documentation](https://readthedocs.org/projects/datalad-deprecated/badge/?version=latest)](http://docs.datalad.org/projects/deprecated/en/latest/?badge=latest)

Commands provided by this extension

- `annotate-paths` -- analyze and act upon input paths
- `diff` -- old'ish implementation for differences between two states 
- `ls` -- list summary information about URLs and datasets
   of a dataset (hierarchy)
- `publish` -- original implementation, replaced by `push` in core
- metadata commands `search`, `metadata`, `extract-metadata` and
  `aggregate-metadata`; moved out of core in favor of the `datalad-metalad`
  extension

Procedures provided by this extension

- `cfg_metadatatypes`


In addition, this extension provides the `AutomagicIO` feature that patches Python's
`open()` function to automatically obtain file content, if needed.

It also provides the web user interface that is used at http://datasets.datalad.org
(yet to be migrated to https://github.com/datalad/datalad-webui fully).


## Acknowledgements

This work was performed by a US-German collaboration in computational
neuroscience (CRCNS) co-funded by the US National Science Foundation (NSF
1429999) and the German Federal Ministry of Education and Research (BMBF
01GQ1411).