labelyst.jl

Make PDF with labels for experiments from Julia DataFrame using Typst

https://github.com/emanuel-kopp/labelyst.jl

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.8%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Make PDF with labels for experiments from Julia DataFrame using Typst

Basic Info
  • Host: GitHub
  • Owner: emanuel-kopp
  • License: mit
  • Language: Julia
  • Default Branch: main
  • Size: 1.75 MB
Statistics
  • Stars: 4
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created over 2 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

Labelyst

Build Status Stable

Create labels containing QR-codes and human-readable codes for your experiments!

The package exports one function only, labelyst(), which takes a Julia DataFrame and some additional parameters as inputs and translates it into a Typst file which is then, if desired, compiled into a PDF.

Basic usage

The package is registered at the General registry and can be installed with add Labelyst. The input DataFrame needs to have one column named ID and one column named label. The ID column will be used to make the QR-code, it is advisable not to use too long IDs (e.g. for 500 samples, just use s001-s500 or something similar). The column label will be used for the human-readable part of the label: here one can add information about treatments, blocks or similar. Depending on the input parameters provided, one of the defined methods of labelyst() will be called to flexibly produce labels for different situations (i.e. pot labels, adhesive labels, ...)

Examples

Create labels to print on adhesive paper

```julia

Create example data

testdf = DataFrame( ID=["p001", "p002", "p003", "p004", "p005", "p006", "p007", "p008", "p009", "p010", "p011", "p012", "p013", "p014", "p015", "p016"], label=["label-1", "label-2", "label-3", "label-4", "label-5", "label-6", "label-7", "label-8", "label-9", "label-10", "label-11", "label-12", "label-13", "label-14", "label-15", "label-16"]) julia

Create labels (in this example: 16 labels arranged as 8 rows and 2 columns on a DIN A4 paper)

labelyst(testdf,"example1", "a4", [8, 2]; fontsize = "20pt") ```

Create labels for pot experiments

```julia

Here: one page of size 90mm x 17mm (i.e. a typical size for a pot label) per label

labelyst(testdf,"example2", ["90mm", "17mm"]; fontsize = "10pt") ```

Multi-line labels

Long label texts will print on multiple lines, and line-breaks can be forced with a double backslash (\\).

julia testdf = DataFrame( ID=["p001", "p002"], label=["Treatment: red \\ Block: 2 \\ Contact: S. Omeone", "Treatment: blue \\ Block: 1 \\ Contact: S. Omeone"]) ```julia

Create labels

labelyst(testdf,"example3", "a4", [8, 2]) ``` <img src="docs/assets/example3.jpg" width="600">

Owner

  • Login: emanuel-kopp
  • Kind: user

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: Labelyst.jl
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Emanuel B.
    family-names: Kopp
    orcid: 'https://orcid.org/0009-0005-0240-3668'
repository-code: 'https://github.com/emanuel-kopp/Labelyst.jl'
abstract: >-
  Create labels containing QR-codes and human-readable codes
  for your experiments!
license: MIT

GitHub Events

Total
  • Watch event: 1
  • Issue comment event: 1
  • Push event: 6
  • Pull request event: 1
Last Year
  • Watch event: 1
  • Issue comment event: 1
  • Push event: 6
  • Pull request event: 1

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: 8 months
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • Seelengrab (1)
  • JuliaTagBot (1)
Pull Request Authors
  • jakobjpeters (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
juliahub.com: Labelyst

Make PDF with labels for experiments from Julia DataFrame using Typst

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 0 Total
Rankings
Dependent repos count: 9.7%
Average: 24.5%
Dependent packages count: 39.3%
Last synced: 10 months ago

Dependencies

.github/workflows/CI.yml actions
  • actions/checkout v4 composite
  • julia-actions/cache v1 composite
  • julia-actions/julia-buildpkg v1 composite
  • julia-actions/julia-runtest v1 composite
  • julia-actions/setup-julia v1 composite
.github/workflows/CompatHelper.yml actions
.github/workflows/TagBot.yml actions
  • JuliaRegistries/TagBot v1 composite
.github/workflows/clean_pages.yml actions
  • actions/checkout v4 composite