semvec/pypi-packages huggingface dataset:
automation-report 1.2.1
Generate HTML report for your test cases / Automation cases with its steps specifying its valid status.
License: MIT
Keywords: automation report,report,automation

# automation-report

Python package to generate HTML report of your automation or test cases with:

- Supports multiple test cases and its steps with valid status
- Well displayed chart according to the test results
- Dynamic HTML Report contents, user allowed to modify accordingly


### Installation
```
$ pip install automation-report
```

### Code Example

###### Importing package :
#
```
from automation_report.report import AutomationReport
```
###### Passing optional 'options' dictionary as parament with following keys
- **LogoImage** : Provide URL of the image
- **MainHeader**: When header text is to be used instead of logo
- **FooterContent**: Provide HTML content to add on the footer section
```
options = {}
#options["LogoImage"] = "logo.png"
options["MainHeader"] = "Automation Report"
options["FooterContent"] = "<a href='#'> Footer link </a>" 
```
 
##### Create new object for your first test with Report name and optional "options" dictionary
#
```
new_report = AutomationReport("Login Test", options)
```
##### Use **starttest()** method to start a new case with its name given as parameter
#
```
new_report.starttest("CASE 0001: Login to the system")
```

##### Populate the various steps status with info(), success(), fail() methods for particular case
#
```
new_report.info("Entered email in email field")
new_report.success("Login Successfully:")
```

##### End above started case
#
```
new_report.endtest()
```

##### Create yet another case as following
#
```
new_report.starttest("CASE 0002: Logout User")
new_report.info("User is logged in")
new_report.success("Logout link is present")
new_report.fail("User not logged out")
new_report.endtest()
```
##### Use close method to finally complete whole report generation
#
```
new_report.close()
```
### Screenshots of report of above code:
![Automation Report](https://user-images.githubusercontent.com/12621555/78378665-06362000-75f1-11ea-86aa-7f3ff063cfcf.png)

![Automation report](https://user-images.githubusercontent.com/12621555/78378679-0b936a80-75f1-11ea-84ee-8d5c490a46b9.png)
tfjeeves 0.2.6
Utilities to help train models with tensorflow2 and keras
License: MIT
Requires Python: ==3.7.6

# tfjeeves

`poetry run python train.py --config=configs/cifar10.py --data=/home/soumendra/data-zoo/classification/cifar10`

https://flynn.gg/blog/software-best-practices-python-2019/

```bash
poetry run python train.py --config=configs/cifar10.py --data=~/data-zoo/classification/cifar10
```

Getting triplet list (df)

```
DATABASE_URL=postgresql://vista_api_live:4jzjS3USGnjLvXZrHrR4cyNh@vista-postgres.coaffiez9jim.ap-southeast-1.rds.amazonaws.com:5432/vista_api_live
ETL_DATABASE_URL=postgresql://etl_user:eCwTqY6h9DJeFwFyuyX4LcSF@etl-server-postgres.coaffiez9jim.ap-southeast-1.rds.amazonaws.com:5432/etldb

```

```
psql -h etl-server-postgres.coaffiez9jim.ap-southeast-1.rds.amazonaws.com -p 5432 -U etl_user -d etldb

\copy (SELECT tot.catalog_id, tot.product_id, tot.master_name, tot.subcategory_name, tot.category_name, tot.image_id, sync.s3_path, sync.is_sizechart, sync.is_discarded  FROM (SELECT fc.catalog_id, fc.product_id, fc.master_name, fc.subcategory_name, fc.category_name, fvi.image_id FROM (SELECT catalog_id, UNNEST(product_ids) as product_id, master_name, subcategory_name, category_name FROM fact_catalogs AS fc WHERE catalog_product_count > 3) AS fc JOIN fact_visible_images AS fvi ON fvi.product_id = fc.product_id) AS tot JOIN synced_images AS sync ON sync.image_id = tot.image_id ORDER BY tot.catalog_id) to 'temp.csv' delimiter ',' csv header;
```