A summary of data about the Ruby ecosystem.

https://github.com/ruby/psych

A libyaml wrapper for Ruby
https://github.com/ruby/psych

Keywords

c hacktoberfest java libyaml psych ruby yaml-parser

Keywords from Contributors

rubygem activerecord activejob mvc rack ruby-gem documentation-tool json-parser sinatra rspec

Last synced: about 22 hours ago
JSON representation

Repository metadata

A libyaml wrapper for Ruby

README.md

Psych

Description

Psych is a YAML parser and emitter. Psych leverages
libyaml for its YAML parsing and emitting
capabilities. In addition to wrapping libyaml, Psych also knows how to
serialize and de-serialize most Ruby objects to and from the YAML format.

Examples

# Safely load YAML in to a Ruby object
Psych.safe_load('--- foo') # => 'foo'

# Emit YAML from a Ruby object
Psych.dump("foo")     # => "--- foo\n...\n"

Dependencies

  • libyaml

Installation

Psych has been included with MRI since 1.9.2, and has been the default YAML parser
since 1.9.3.

If you want a newer gem release of Psych, you can use RubyGems:

gem install psych

Psych supported the static build with specific version of libyaml sources. You can build psych with libyaml-0.2.5 like this.

gem install psych -- --with-libyaml-source-dir=/path/to/libyaml-0.2.5

In order to use the gem release in your app, and not the stdlib version,
you'll need the following:

gem 'psych'
require 'psych'

Or if you use Bundler add this to your Gemfile:

gem 'psych'

JRuby ships with a pure Java implementation of Psych.

Release

We used the trusted publisher and rubygems/release-gem workflow.

We can release the new version with:

git tag vXXX && git push origin vXXX

License

Copyright 2009 Aaron Patterson, et al.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the 'Software'), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 3 days ago

Total Commits: 1,178
Total Committers: 123
Avg Commits per committer: 9.577
Development Distribution Score (DDS): 0.633

Commits in past year: 77
Committers in past year: 20
Avg Commits per committer in past year: 3.85
Development Distribution Score (DDS) in past year: 0.779

Name Email Commits
Aaron Patterson a****n@g****m 432
SHIBATA Hiroshi h****t@r****g 311
Charles Oliver Nutter h****s@h****m 72
Nobuyoshi Nakada n****u@r****g 47
Jean Boussier j****r@g****m 22
dependabot[bot] 4****] 20
Marcus Stollsteimer s****r@w****e 14
Alexander Momchilov a****v@s****m 12
Yusuke Endoh m****e@r****g 11
Zachary Scott z****y@z****t 10
MSP-Greg M****g 8
John Barnette j****e@g****m 8
Benoit Daloze e****p@g****m 8
David Rodríguez d****z@r****t 7
Peter Zhu p****r@p****a 7
OrenGitHub t****u@g****m 6
Marc-Andre Lafortune g****b@m****a 6
Leonard Chin l****n@g****m 6
nick evans n****k@r****v 5
Greg Houle g****e@s****m 5
kazu k****u@b****e 5
kares s****f@k****g 5
Jakub Jirutka j****b@j****z 5
Kevin Menard n****m@g****m 5
Alexandr Opak o****r@g****m 4
Takashi Kokubun t****n@g****m 4
Eric Hodel d****n@s****t 4
Jun Aruga j****a@r****m 3
Olle Jonsson o****n@g****m 3
S.H g****7@g****m 3
and 93 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 16 days ago

Total issues: 115
Total pull requests: 164
Average time to close issues: almost 2 years
Average time to close pull requests: about 2 months
Total issue authors: 102
Total pull request authors: 48
Average comments per issue: 4.3
Average comments per pull request: 1.4
Merged pull request: 135
Bot issues: 1
Bot pull requests: 26

Past year issues: 10
Past year pull requests: 69
Past year average time to close issues: 5 days
Past year average time to close pull requests: 3 days
Past year issue authors: 10
Past year pull request authors: 21
Past year average comments per issue: 1.1
Past year average comments per pull request: 0.77
Past year merged pull request: 53
Past year bot issues: 0
Past year bot pull requests: 22

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/ruby/psych

Top Issue Authors

  • headius (7)
  • rubyFeedback (2)
  • abitrolly (2)
  • tdeo (2)
  • ciscolive (2)
  • poloka (2)
  • MSP-Greg (2)
  • dentarg (2)
  • wscourge (1)
  • jsvd (1)
  • shyouhei (1)
  • akunszt (1)
  • sramsden (1)
  • oliverbarnes (1)
  • neumayr (1)

Top Pull Request Authors

  • dependabot[bot] (26)
  • hsbt (23)
  • nobu (14)
  • peterzhu2118 (10)
  • headius (8)
  • casperisfine (8)
  • chadlwilson (5)
  • amomchilov (5)
  • tenderlove (4)
  • kares (3)
  • nevans (3)
  • etiennebarrie (3)
  • byroot (3)
  • runephilosof (3)
  • fnordfish (2)

Top Issue Labels

  • JRuby (4)
  • Documentation (2)
  • dependencies (1)

Top Pull Request Labels

  • dependencies (26)
  • github_actions (14)

Package metadata

gem.coop: psych

Psych is a YAML parser and emitter. Psych leverages libyaml[https://pyyaml.org/wiki/LibYAML] for its YAML parsing and emitting capabilities. In addition to wrapping libyaml, Psych also knows how to serialize and de-serialize most Ruby objects to and from the YAML format.

  • Homepage: https://github.com/ruby/psych
  • Documentation: http://www.rubydoc.info/gems/psych/
  • Licenses: MIT
  • Latest release: 5.3.1 (published 24 days ago)
  • Last Synced: 2026-01-07T06:36:31.312Z (3 days ago)
  • Versions: 153
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 172,579,866 Total
  • Docker Downloads: 4,906,070,042
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.052%
    • Downloads: 0.157%
  • Maintainers (3)
rubygems.org: psych

Psych is a YAML parser and emitter. Psych leverages libyaml[https://pyyaml.org/wiki/LibYAML] for its YAML parsing and emitting capabilities. In addition to wrapping libyaml, Psych also knows how to serialize and de-serialize most Ruby objects to and from the YAML format.

  • Homepage: https://github.com/ruby/psych
  • Documentation: http://www.rubydoc.info/gems/psych/
  • Licenses: MIT
  • Latest release: 5.3.1 (published 24 days ago)
  • Last Synced: 2026-01-07T01:15:05.901Z (3 days ago)
  • Versions: 156
  • Dependent Packages: 254
  • Dependent Repositories: 11,869
  • Downloads: 172,518,026 Total
  • Docker Downloads: 4,906,070,042
  • Rankings:
    • Docker downloads count: 0.001%
    • Dependent packages count: 0.158%
    • Dependent repos count: 0.315%
    • Downloads: 0.385%
    • Average: 0.856%
    • Forks count: 1.866%
    • Stargazers count: 2.412%
  • Maintainers (3)
proxy.golang.org: github.com/ruby/psych

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/ruby/psych#section-documentation
  • Licenses: mit
  • Latest release: v5.3.1+incompatible (published 24 days ago)
  • Last Synced: 2026-01-05T23:04:04.612Z (4 days ago)
  • Versions: 69
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Forks count: 1.895%
    • Stargazers count: 2.551%
    • Average: 6.206%
    • Dependent packages count: 9.576%
    • Dependent repos count: 10.802%

Dependencies

Gemfile rubygems
  • rake-compiler >= 0.4.1 development
  • ruby-maven >= 0 development
  • test-unit >= 0 development
psych.gemspec rubygems
  • jar-dependencies >= 0.1.7
  • stringio >= 0
.github/workflows/libyaml.yml actions
  • actions/checkout v3 composite
  • ruby/setup-ruby v1 composite
.github/workflows/test.yml actions
  • actions/checkout v3 composite
  • ruby/setup-ruby-pkgs v1 composite

Score: 34.371310340342845