{"id":22284850,"url":"https://github.com/getty104/csql","last_synced_at":"2025-07-28T22:31:02.801Z","repository":{"id":62556462,"uuid":"127532375","full_name":"getty104/CSQL","owner":"getty104","description":"this is a library of operating csv by SQL queries. you have to install https://github.com/harelba/q/","archived":false,"fork":false,"pushed_at":"2018-04-07T13:39:08.000Z","size":28,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-18T00:39:03.958Z","etag":null,"topics":["csql","csv","gem","ruby"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/csql","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/getty104.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":"2018-03-31T13:01:55.000Z","updated_at":"2023-12-06T02:10:50.000Z","dependencies_parsed_at":"2022-11-03T06:00:35.102Z","dependency_job_id":null,"html_url":"https://github.com/getty104/CSQL","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getty104%2FCSQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getty104%2FCSQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getty104%2FCSQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getty104%2FCSQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getty104","download_url":"https://codeload.github.com/getty104/CSQL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227961892,"owners_count":17847836,"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":["csql","csv","gem","ruby"],"created_at":"2024-12-03T16:49:56.382Z","updated_at":"2024-12-03T16:49:57.606Z","avatar_url":"https://github.com/getty104.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Csql\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'csql'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install csql\n\n## Important!\nBefore using, you have to install q ([https://github.com/harelba/q/](https://github.com/harelba/q/)) because it is neccesary to use this gem.\n\n## Usage\nsample of csv file\n\n|hoge1|hoge2|\n|---|---|\n|hoge|1|\n\n```ruby\nrequire 'csql'\n\nsql = CSQL::SQL.new('/your/csvfile/path')\np sql.execute(\"select * from csv\") #=\u003e [\"hoge1\" =\u003e \"hoge\", \"hoge2\" =\u003e \"1\"}]\n# 'from csv' is the template of query\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` 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/getty104/CSQL. 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 Csql project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/csql/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetty104%2Fcsql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetty104%2Fcsql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetty104%2Fcsql/lists"}