semvec/pypi-packages huggingface dataset:
f-string-lt-36-MENDELSSHOP 0.0.2
Python f-strings for before Python3.6
License: MIT

[![tests](https://github.com/mendelsshop/f-string_lt_36/actions/workflows/test.yml/badge.svg?branch=regex)](https://github.com/mendelsshop/f-string_lt_36/actions/workflows/test.yml)
[![flake8](https://github.com/mendelsshop/f-string_lt_36/actions/workflows/flake8.yml/badge.svg)](https://github.com/mendelsshop/f-string_lt_36/actions/workflows/flake8.yml)
# f-string_lt_36 Regex Edition
## About: 
Python f-strings for before Python 3.6. using Regex
<br>
This package should try to emulate all f-string features <br>by using a class that inherits from str.
<br>
You can also use it to get newer f-string features in earlier versions of Python.
<br>
such as: `h = 'hello'; f'{h = }'`. the ; is just to denonote the end of a line.
<br>
This package requires the re (regular expressions, regex) module.
<br>
To my knowledge most versions of Python have re, if not you can use the non regex version
<br>
So it should be able to install on any Python version.
<br>
Although it's not been tested if thats true because it's not working yet.
<br>
Once I implement all the features I will test it across multiple python version and platforms.
<br>

## Features currently working:

### basic variable replacement

```python
>>> from f_string_lt_36 import f
>>> h = "Hello,"
>>> f("{h} world")
hello world
```
#### using the equal operator (I don't know a better name for this and I'm to lazy to look at the document)
```python
>>> from f_string_lt_36 import f
>>> h = "Hello,"
>>> # instead of doing print(f("h = {h}"))
>>> # you can do print(f("{h = }"))
>>> print(f("{h = }"))
h = 'Hello,'
```
#### note:
please note to not call `f().f_string_parse()` directly but use the `f()` class.
<br>
if you try to `f_string_parse()` to use directly it will ruin your output and fall back to:

```python
>>> value = 'error: variable ' + string + ' not found'
```

where value is the replacement string to whatever you put in `{}`.

```python
>>> from fstring_lt_36 import f
>>> var = 'foo'
>>> s = f("{var}")
>>> print(s)
foo
>>> t = s.f_string_parse()
>>> print(t)
error: variable value not found
>>> print(s)
error: variable value not found
# besides for messing up t it will also mess up s because it's a reference to the same object.

```
## Version: 
Version Number: 0.0.2
<br>
Version Stage: alpha
sap-rfc-data-collector 1.0.2
Collect data from SAP tables
License: MIT
Keywords: sap,data,rfc,read_table,ec3,hana

# sap-rfc-data-collector

Collect data from SAP tables directly.

## Install
```
pip install sap-rfc-data-collector
```

## Quick start
```python
from sap_rfc_data_collector.connection import SAPConnection
from sap_rfc_data_collector.sap_generic import SAP

conn = SAPConnection(host='host',
                     service='service',
                     group='group',
                     sysname='sysname',
                     client='client',
                     lang='lang',
                     user='user',
                     password='password')

runner = SAP(connection=conn)

# get iterator of dataframes (for each 1000 rows) from functional location table (IFLO)
data = runner.get_data_df(
  table='IFLO',
  columns=['TPLNR', 'ZFAMF'],
  where="IWERK = 'CMPN'",
  page_size=1000
)

for df in data:
    print(df.head())
```

Consult some site (like https://www.sapdatasheet.org) to identify tables and
columns names!

## Requirements
SAP NWRFC SDK 7.50 PL3 or later must be downloaded (SAP partner or customer account required) 
and locally installed.

This project depends on Cython. Some considerations:
* Linux: The GNU C Compiler (gcc) is usually present, or easily available through the package system. 
  On Ubuntu or Debian, for instance, the command sudo apt-get install build-essential will fetch 
  everything you need.
* Mac OS X: To retrieve gcc, one option is to install Apple’s XCode, which can be retrieved from the 
  Mac OS X’s install DVDs or from https://developer.apple.com/.
* Windows: A popular option is to use the open source MinGW (a Windows distribution of gcc). 
  See the appendix for instructions for setting up MinGW manually. Enthought Canopy and Python(x,y) 
  bundle MinGW, but some of the configuration steps in the appendix might still be necessary. 
  Another option is to use Microsoft’s Visual C. One must then use the same version which the installed 
  Python was compiled with.