{"id":25758001,"url":"https://github.com/aj-rom/elem_info","last_synced_at":"2026-05-10T23:45:44.791Z","repository":{"id":40007674,"uuid":"335390515","full_name":"aj-rom/elem_info","owner":"aj-rom","description":"A ruby gem and CLI for calculating mass percentage and exploring information on all of the known elements.","archived":false,"fork":false,"pushed_at":"2023-04-12T06:03:59.000Z","size":53,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-05-21T03:19:45.480Z","etag":null,"topics":["chemical-compound","chemistry","elements","percent-mass","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aj-rom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-02T18:48:14.000Z","updated_at":"2024-05-21T03:19:45.481Z","dependencies_parsed_at":"2022-07-27T04:17:28.245Z","dependency_job_id":null,"html_url":"https://github.com/aj-rom/elem_info","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aj-rom%2Felem_info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aj-rom%2Felem_info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aj-rom%2Felem_info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aj-rom%2Felem_info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aj-rom","download_url":"https://codeload.github.com/aj-rom/elem_info/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240891639,"owners_count":19874223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chemical-compound","chemistry","elements","percent-mass","ruby"],"created_at":"2025-02-26T16:36:22.666Z","updated_at":"2026-05-10T23:45:44.746Z","avatar_url":"https://github.com/aj-rom.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ElemInfo\n\nWelcome to ElemInfo! ( a.k.a Element Information )\nA scraping library that is used to gather information on all known elements and let you explore details on them or even build brand new chemical compounds! Also calculates the mass percentage of the chemical compound and gets basic history on any element you choose to inspect.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'elem_info'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install elem_info\n\n## Usage\n\nTo use the CLI, simply run `bin/elem_info` and follow the prompts to explore or create new chemical compounds.\n\nTo use the API, ensure that you load all of the elements by calling `ElemInfo::Scraper.load_elements` to load the list of elements.\nTo get deeper information on an element call `ElemInfo::Scraper.add_description(element)` to load some basic summary on the element.\nThe `ElemInfo::Element` class has many filtering and grouping methods to get elements by, or to sort them feel free to experiment with them.\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/elem_info` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/'coachluck'/elem_info. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the ElemInfo project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/'coachluck'/elem_info/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faj-rom%2Felem_info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faj-rom%2Felem_info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faj-rom%2Felem_info/lists"}