semvec/pypi-packages huggingface dataset:
bettermysql 0.0.5
A simple and lightweight ORM that facilitate some operations on MySQL using of pymysql.
Requires Python: >=3.9
Keywords: better, better mysql, bettermysql

# **About**

A simple and lightweight ORM that facilitate some operations on MySQL using of pymysql.

# How to use

## **Preparation**

```python
# Single call it once to setup the inner settings
BetterMYSQL.setup("name of the database", "db user", "db password", "host", 1234) #port

# Creating a DB Model
class Fruits():
  _table = "fruit_table_name"

class People():
  _table = "people_table_name"
```

## **Select**

```python
# Select the first fruit ordered by name and retrieve the first row
Fruits().select("name").order("name").row()  # returns one row

# Select all data from the top 15 fruits
Fruits().select("*").limit("15").run() # returns a row list

# Select all data from the top 15 fruits
Fruits().select("*").limit("15").run() # returns a row list

# Select the name of the first person with 34 years old
People().select("name").where("age = ?").cell(34) # returns the first cell of the first row
```

## **Insert**

```python
# Inserting a person given its name and age
People().insert("name, age").run(["Matt", 34])
```

## **Update**

```python
# Updating all ages to 16 where the name is Matt
People().update("age = ?").where("name = ?").run([16, "Matt"])
```

## **Delete**

```python
# Delete all people
People().delete()
```
bettermssql 0.0.2
A simple and lightweight ORM that facilitate some operations on SQL Server using of pyodbc.
Requires Python: >=3.9
Keywords: better, better mssql, bettermssql

# **About**

A simple and lightweight ORM that facilitate some operations on SQL Server using of pyodbc.

# How to use

## **Preparation**

```python
# Single call it once to setup the inner settings
BetterMSSQL.setup("name of the database", "db user", "db password", "host", 1234) #port

# Creating a DB Model
class Fruits():
  _table = "fruit_table_name"

class People():
  _table = "people_table_name"
```

## **Select**

```python
# Select the first fruit ordered by name and retrieve the first row
Fruits().select("name").order("name").row()  # returns one row

# Select all data from the top 15 fruits
Fruits().select("*").top("15").run() # returns a row list

# Select all data from the top 15 fruits
Fruits().select("*").top("15").run() # returns a row list

# Select the name of the first person with 34 years old
People().select("name").where("age = ?").cell(34) # returns the first cell of the first row
```

## **Insert**

```python
# Inserting a person given its name and age
People().insert("name, age").run(["Matt", 34])
```

## **Update**

```python
# Updating all ages to 16 where the name is Matt
People().update("age = ?").where("name = ?").run([16, "Matt"])
```

## **Delete**

```python
# Delete all people
People().delete()
```
hyperthought 1.2.2
Wrappers for HyperThought® API
Requires Python: >=3.6

============
hyperthought
============


Modules that encapsulate HyperThought API calls and make
operations like authentication and file transfer (upload
or download) easier to accomplish.

Description
===========

Example usage:

Here is the code needed to upload a file to a HyperThought workspace.

.. code-block:: python

    from getpass import getpass
    import hyperthought as ht

    auth_info = getpass("Enter encoded auth info from your HyperThought profile page: ")
    auth = ht.auth.Authorization(auth_info)
    files_api = ht.api.files.FilesAPI(auth)

    # space_id can be found in the url for the workspace
    # e.g. https://www.hyperthought.io/workspace/<space_id>/detail
    space_id = input("Enter destination project id (in url of project): ")

    # Create a folder.
    # Use default (root) path and don't specify any metadata for the folder.
    # (See method docstring for info on unused parameters.)
    folder_id = files_api.create_folder(
        name="Tests",
        space_id=space_id,
    )

    # Get a path for the file.
    # Paths consist of comma-separated parent folder ids.
    path = f",{folder_id},"

    local_file_path = input("Enter path to local file: ")
    files_api.upload(
        local_path=local_file_path,
        space_id=space_id,
        path=path,
    )
    # Look in the HyperThought UI to see the uploaded file.
pyFEMSolver 0.0.1
The finite element method to solve differential equations
Requires Python: >=3.10.9

# finite-element
This repository implements the Finite Element Method (FEM) to numerically approximate solutions to certain elliptic Partial Differential Equations, following the methodology defined in Professor Iain Smears' course, MATH0092: Variational Methods for Partial Differential Equations.

To familiarise yourself with how to method works and the core ideas on how it has been implemented, please refer to [**Finite_Element_Method_Tutorial.ipynb**](Finite_Element_Method_Tutorial.ipynb)
</br>
</br>
To use the application, please use [**script.py**](script.py) and adjust the parameters according to your equation and boundary conditions.

_Note: The current implementation handles the one-dimensional case (Ordinary Differential Equations) and supports Dirichlet, Robin, and mixed boundary conditions. The basis functions are implemented up to piecewise quadratic functions (P2)._
ecmind-blue-client-objdef 0.1.2
Helper modules for the `ecmind_blue_client` to ease the work with object definition APIs.
Requires Python: >=3.9

# ECMind blue client: Object Definition (objdef)

Helper modules for the `ecmind_blue_client` to ease the work with object definition APIs. See discussion here: https://hub.ecmind.ch/t/119

## Installation

`pip install ecmind_blue_client_objdef`

## Usage

```python
from ecmind_blue_client.tcp_client import TcpClient as Client
from ecmind_blue_client_objdef import object_definition

client = Client(hostname='localhost', port=4000, appname='test', username='root', password='optimal')
asobjdef = object_definition.load_object_definition(client)
for cabinet in asobjdef.cabinets:
    print(cabinet)
```

## Changes

### Version `0.0.3`

- Workaround and warn message for pages without internal name.

### Version `0.0.4`

- Workaround and warn message for tables without columns.

### Version `0.0.5`

- Workaround and warn message for tab pages without controls.

### Version `0.0.9`

- Add list addon support
- Add missing field types YES_NO, LETTERS_ONLY and ALPHA_DIGITS

### Version `0.1.0`

- Fix parsing of `dbfield`
- (Re-) add table_name to `Fields` & `TableFields`
- Fix/Remove redefining built-in `type` by renaming function parameter to `_type`

### Version `0.1.1`

- Deactivate automatic number and bool parsing in xml to dict function.
- Manually convert id/type/cotype/length fields to int. 

### Version `0.1.2`

- Add `row` to list of xml tags that are marked as list.
- Fix int casting for index elements of dropdown icon lists.