This release is a pre-release and may not be stable for production use.
Prints dots to stdout to log the progress of a loop without knowing the total loops.
## Usage
```python
from ddlogger import ddlogger
def a_finite_generator():
# ...
# yield something
with ddlogger() as dl:
for item in a_finite_generator():
# do something that does not contain "print" statement/function
dl.update() # prints a dot
```
Suppose in the above example the `a_finite_generator` returns an iterable of length 100, then it produces
...............................................................................
.....................
where each row contains at most 79 dots. To change the number of dots in a row or the shape of the dots, see `help(ddlogger.DotDotLogger)`.
## Installation
```bash
pip install ddlogger
```
or
```bash
pip3 install ddlogger
```
Metadata
Release files for ddlogger 0.9b5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ddlogger-0.9b5.tar.gz | 2.1 kB | Without provenance | Details for ddlogger-0.9b5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ddlogger-0.9b5-py2-none-any.whl | Python 2 | none | any | Details for ddlogger-0.9b5-py2-none-any.whl |
Total release size: 5.9 kB
Release files / ddlogger-0.9b5.tar.gz
| Download URL | ddlogger-0.9b5.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e10e5195cf44cc1e068f51475de79200ca661d7f7b7724be7bde128938fa8aec
|
|
BLAKE2b-256 checksum How to use checksums |
1eef18653f5a2ac132218d3003e714ef4d62ac1e9b9f6fecf5ad5f6651c3a878
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.12
|
Release files / ddlogger-0.9b5-py2-none-any.whl
| Download URL | ddlogger-0.9b5-py2-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
e6646d7020f4bfdebb778683591725ec824ff17a6d03aa325f1795051bc9722a
|
|
BLAKE2b-256 checksum How to use checksums |
b7fc8516d041aed35b414d28d3270ee0e273a28a28d71fe73b98f253bb4b9efd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.12
|
Security for ddlogger 0.9b5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.