semvec/pypi-packages huggingface dataset:
sotrace 1.1.2
Get and open StackOverflow posts for your tracebacks.
License: MIT
Requires Python: >=3.5.0

# sotrace
This package opens up StackOverflow posts for your errors. It's the ultimate efficiency tool!

## Example Usage
```py
from sotrace import open_link


try:
    my_dict = {}
    print(my_dict[1])
except Exception as e:
    open_link(e)
```
```py
from sotrace import open_link


open_link("What does the yield keyword do?", tags=["python", "generator"], num_of_results=3)
```

`sotrace` can also be run from the command line as a wrapper of sorts.
```
❯ python3 -m sotrace example2.py
Traceback (most recent call last):
  File "example2.py", line 2, in <module>
    print(my_dict[1])
KeyError: 1
(Opens links)
```
More arguments can be found using `python3 -m sotrace -h`, which gives:
```
❯ python3 -m sotrace -h
usage: __main__.py [-h] [--results RESULTS] [--tags TAGS [TAGS ...]] [--not-pretty] file

positional arguments:
  file                  File to execute with sotrace.

optional arguments:
  -h, --help            show this help message and exit
  --results RESULTS     Number of results to open.
  --tags TAGS [TAGS ...]
                        Preferred tags.
  --not-pretty          Don't use prettier tracebacks from the rich library. (not recommended)
```

## Roadmap
- [ ] Documentation
- [ ] Default issue template
- [ ] Github Actions
py2sql-orm 0.1.2
Tool for fixing renamings, documentation in accordance with java code convention
License: MIT
Keywords: SQL,Python,ORM

<h2>Python->SQL object relationship mapper package</h2>

<h4>Description:</h4>
This package serves as top level for <b>Python to SQL object relationship mapping</b>.<br>
Among the most used objects are <i>Py2SQL, DbConfig, and Column, sql_types</i>.<br>
1. <i>Py2SQL</i> and <i>DbConfig</i> are used to instantiate ORM and connect it with the database;<br>
2. <i>Column</i>, <i>sql_types</i> are used to specify fields that are mapped to the database, and
the type used in the mapping - respectively;

<h4>Usage instructions:</h4>
<ol>
    <li>One must instantiate Py2SQL with a path to oracle client libraries, or set
        ORACLE_CLIENT environment variable.
        Then use database config to initialize the connection before using ORM,
        example:<br>
        <code>
        	from py2sql import Py2SQL, DbConfig<br>
        	conn_info = DbConfig(<br>
        	&ensp;&ensp;&ensp;&ensp;username = 'temp_user',<br>
        	&ensp;&ensp;&ensp;&ensp;password = 'temp_password',<br>
        	&ensp;&ensp;&ensp;&ensp;dns = 'localhost:1521/orclpdb'<br>
        	)<br>
        	<br>
        	oracle_client_dir = 'instantclient-basiclite-windows.x64-19.9.0.0.0dbru\instantclient_19_9'<br>
        	<br>
        	orm = Py2SQL(oracle_client_dir)<br>
        	orm.db_connect(conn_info)
        </code>
    </li>
    <li>
    	To save specified object in the database the user must define what fields are expected to be mapped with <i>Column(...)</i> class variable.<br>
		Example:<br>
        <code>
        	class Student:<br>
        	&ensp;&ensp;&ensp;&ensp;__table_name__ = "another_table"<br>
			<br>
        	&ensp;&ensp;&ensp;&ensp;id = Column(int)<br>
        	&ensp;&ensp;&ensp;&ensp;name = Column(str, default='Paul')<br>
        	&ensp;&ensp;&ensp;&ensp;age = Column(int, nullable=False)<br>
        	&ensp;&ensp;&ensp;&ensp;interests = Column(sql_types.Json())
        </code>
	</li>
    <li>Orm supports basic mapping methods like save_object, save_table, delete_table, delete_class as well as other db related methods specified in py2sql 					documentation;
    </li>
</ol>
pyrrha 0.2
pyrrha is a tool for helping in the developement and testing of Computational Mechanics methods.
License: MIT
Keywords: pyrrha

![pyrra](https://gitlab.com/dsklar/pyrrha/uploads/f6f763a9ce81995256a6de4809e898e2/image__24_.png)

pyrrha is a tool for helping in the developement and testing of
 Computational Mechanics methods.

This project is based in the Octave & C++ program called "Prometheus
", developed by Carlos Gentile, that allows to generate templates for
 programming Octave implementations of classical Computional Mechanics
  methods. Inspired in these ideas, this project offers the ability to
   generate python templates for the Finite Elements method, and tools for
    evaluating the intermediate steps of its implementation.

The name pyrrha comes from Pyrrha, the wife of Deucalion (the son of Prometheus
), who had a child out of wedlock with Zeus. She is basically the daughter
-in-law and niece of Prometheus (a link that is in some way preserved between
 the original Prometheus application and this package).

## Commands

### Generate template from a base class

```
pyrrha generate FiniteElement2D --output <file_name>
```

A `<file_name>` file will be created with the FiniteElement2D template.

### Test implementations

#### Test class
```
pyrrha validate <file_name>
```

will validate the class defined in `<file_name>` against the correct
 implementation.

#### Test class method
```
pyrrha validate <file_name> --method <method_name>
```

will test only the `<method_name>` method of the class defined in
 `<file_name>`, comparing it with the correct method implementation.
 

<div>Icons made by <a href="https://www.flaticon.com/authors/darius-dan" title="Darius Dan">Darius Dan</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a></div>