Python tool to write PIKA marker files
Project description
PIKA Marker Python
Python package to write PIKA marker files with timestamps.
Installation
pip install pika-marker
Usage
In your Python code you can use the static function appendPikaMarker or create a PikaMarker object
to write into a marker file
from pika_marker import PikaMarker, appendPikaMarker
appendPikaMarker(
"marker_file.csv",
"my_marker",
additional="additional info",
icon="🔥",
timestamp=None
)
marker = PikaMarker("marker_file.csv")
marker.appendMarker(
"marker 2",
additional="first marker from object",
icon="🔥"
)
marker.close()
It also provides a CLI tool append-pika-marker
append-pika-marker --help
usage: append-pika-marker [-h] [-a ADDITIONAL] [-i ICON] [-t TIMESTAMP] file name
Append a PIKA marker to a marker file.
positional arguments:
file Path to the marker file
name Name of the marker
options:
-h, --help show this help message and exit
-a, --additional ADDITIONAL
Additional text
-i, --icon ICON Icon or emoji
-t, --timestamp TIMESTAMP
Unix timestamp (defaults to current time)
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
pika_marker-0.1.1.tar.gz
(4.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 pika_marker-0.1.1.tar.gz.
File metadata
- Download URL: pika_marker-0.1.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.24
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d596682fc9e39fc30e19530d0fb8fbcb4f31bcd596e8bff51ea0018fa90c7ffa
|
|
| MD5 |
4eb533b3438de487572c9eb8a503879a
|
|
| BLAKE2b-256 |
e8134b606c2d8c0928a985ee8df8f4537c94028b2bfcc1891dd81ed9ccb8914d
|
File details
Details for the file pika_marker-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pika_marker-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.24
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
745ba64117fc988505120f8ac375a41d8b44d9fe4a89792d0f98b7b56f0e6bed
|
|
| MD5 |
30c8e37177afad5d3d58cebacfedda0e
|
|
| BLAKE2b-256 |
c8be6d6dbdd26c02bb702970720a606a9661ac205170d200d86a33ace8a33d78
|