F-strings are fabulous, why can't we make the same with Tuple and lists ?
Project description
F-strings are fabulous, why can’t we make the same with Tuple and lists ?
Now you can:
In [1]: from ftuple import f
In [2]: h = "Hello"
In [3]: w = "World"
In [4]: f"{h} {w}"
Out[4]: 'Hello World'
In [5]: f({h}, {w})
Out[5]: ('Hello', 'World')
In [6]: f[{h}, {w}]
Out[6]: ['Hello', 'World']
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ftuple-1.0.0.tar.gz
(1.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ftuple-1.0.0.tar.gz.
File metadata
- Download URL: ftuple-1.0.0.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
792e7d70df4a5723cb688f8f44fbc6658a6e158de1c21d314af5528f678f019f
|
|
| MD5 |
cb045b0d99a69a58e3c2b95590f2d834
|
|
| BLAKE2b-256 |
47c04bf6396bbc2e26207a6f1237179335225ea457213ae78804e4f2a027f6af
|
File details
Details for the file ftuple-1.0.0-py2.py3-none-any.whl.
File metadata
- Download URL: ftuple-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 26.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd104600756c9f5f08c75e9873eb7a18c5e707199f592b3e4de02eb49048ef43
|
|
| MD5 |
c20205b651437871d94eed4715933a34
|
|
| BLAKE2b-256 |
86d60e4c431db63889513efcb39482e6adcf5076c74652c4ad23ad08ed6acdd5
|