An open API service providing repository metadata for many open source software ecosystems.

Package Usage: go: rsc.io/pdf

Package pdf implements reading of PDF files. PDF is Adobe's Portable Document Format, ubiquitous on the internet. A PDF document is a complex data format built on a fairly simple structure. This package exposes the simple structure along with some wrappers to extract basic information. If more complex information is needed, it is possible to extract that information by interpreting the structure exposed by this package. Specifically, a PDF is a data structure built from Values, each of which has one of the following Kinds: The accessors on Value—Int64, Float64, Bool, Name, and so on—return a view of the data as the given type. When there is no appropriate view, the accessor returns a zero result. For example, the Name accessor returns the empty string if called on a Value v for which v.Kind() != Name. Returning zero values this way, especially from the Dict and Array accessors, which themselves return Values, makes it possible to traverse a PDF quickly without writing any error checking. On the other hand, it means that mistakes can go unreported. The basic structure of the PDF file is exposed as the graph of Values. Most richer data structures in a PDF file are dictionaries with specific interpretations of the name-value pairs. The Font and Page wrappers make the interpretation of a specific Value as the corresponding type easier. They are only helpers, though: they are implemented only in terms of the Value API and could be moved outside the package. Equally important, traversal of other PDF data structures can be implemented in other packages as needed.
2 versions
Latest release: about 7 years ago
73 dependent packages

View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/rsc.io/pdf

Dependent Repos 7

snps-public/rest-samba-config
Rest API used to view (and maybe at some point edit) Samba configuration

Last synced: 7 months ago - Pushed: 11 months ago

cea-hpc/fabricmon Fork of dswarbrick/fabricmon
InfiniBand fabric monitoring daemon written in Go

Size: 404 KB - Last synced: 1 day ago - Pushed: 6 months ago

signaux-faibles/datapi
datAPI - API des applications web signaux-faibles

Size: 43.1 MB - Last synced: about 18 hours ago - Pushed: about 23 hours ago

radiofrance/helm-chart-sonarqube Fork of SonarSource/helm-chart-sonarqube

Size: 2.99 MB - Last synced: 7 months ago - Pushed: 9 months ago

avirm/analysis-go

Last synced: 7 months ago - Pushed: 11 months ago

gonum/plot
A repository for plotting and visualizing data

Last synced: 7 months ago

go-hep/hep
hep is the mono repository holding all of go-hep.org/x/hep packages and tools

Last synced: 7 months ago

InseeFrLab/gonyxia-api

Size: 98.6 KB - Last synced: about 13 hours ago - Pushed: 10 days ago

COSAE-FR/ripacb
RIP ACB Server and client

Size: 91.8 KB - Last synced: 15 days ago - Pushed: 7 months ago

COSAE-FR/riputils
Common utilities for RIP projects

Size: 105 KB - Last synced: 15 days ago - Pushed: over 1 year ago

CEREMA/k3s-snapshots

Size: 6.12 MB - Last synced: 3 days ago - Pushed: almost 3 years ago

CEREMA/k3-utils

Size: 6.15 MB - Last synced: 3 days ago - Pushed: almost 3 years ago