https://github.com/rsc/pdf
Last synced: about 1 month ago
Repository metadata:
PDF reader
- Host: GitHub
- URL: https://github.com/rsc/pdf
- Owner: rsc
- License: bsd-3-clause
- Archived: true
- Created: 2014-02-25T05:17:06.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-03-06T07:32:09.000Z (10 months ago)
- Last Synced: 2024-10-15T11:30:59.422Z (2 months ago)
- Language: Go
- Size: 54.7 KB
- Stars: 511
- Watchers: 24
- Forks: 327
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Owner metadata:
- Name: Russ Cox
- Login: rsc
- Email:
- Kind: user
- Description: Go Hacker. Mistake maker. (he/him)
- Website: http://research.swtch.com/
- Location: Cambridge, MA
- Twitter: _rsc
- Company: Google
- Icon url: https://avatars.githubusercontent.com/u/104030?u=7776f9d68ea1bc349af0227c03fca30350a05477&v=4
- Repositories: 141
- Last Synced at: 2024-04-19T20:56:05.753Z
- Profile URL: https://github.com/rsc
- Sponsor URL:
Committers metadata
Last synced: about 1 month ago
Total Commits: 13
Total Committers: 4
Avg Commits per committer: 3.25
Development Distribution Score (DDS): 0.308
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
Name | Commits | |
---|---|---|
Russ Cox | r****c@g****g | 9 |
Leigh McCulloch | l****h@m****m | 2 |
Emmanuel Odeke | e****e@g****m | 1 |
Functionary Robot | f****t@g****m | 1 |
Issue and Pull Request metadata
Last synced: about 1 month ago
Package metadata
- Total packages: 2
- Total downloads: unknown
- Total docker downloads: 1,690,196
- Total dependent packages: 73 (may contain duplicates)
- Total dependent repositories: 28,789 (may contain duplicates)
- Total versions: 4
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.
- Homepage: https://github.com/rsc/pdf
- Documentation: https://pkg.go.dev/rsc.io/pdf#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v0.1.1 (published over 6 years ago)
- Last Synced: 2024-11-10T07:32:21.973Z (about 1 month ago)
- Versions: 2
- Dependent Packages: 73
- Dependent Repositories: 28,789
- Docker Downloads: 1,690,196
-
Rankings:
- Dependent repos count: 0.034%
- Docker downloads count: 0.512%
- Dependent packages count: 0.549%
- Average: 1.107%
- Forks count: 1.734%
- Stargazers count: 2.704%
go: github.com/rsc/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.
- Homepage: https://github.com/rsc/pdf
- Documentation: https://pkg.go.dev/github.com/rsc/pdf#section-documentation
- Licenses: BSD-3-Clause
- Latest release: v0.1.1 (published over 6 years ago)
- Last Synced: 2024-11-11T01:12:41.049Z (about 1 month ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Forks count: 1.097%
- Stargazers count: 1.634%
- Average: 4.769%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%