
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
NeonRAW is an API wrapper for Reddit written in Ruby.
Add this line to your application's Gemfile:
gem 'NeonRAW'
And then execute:
$ bundle
Or install it yourself as:
$ gem install NeonRAW
Just require the gem at the top of your file.
require 'NeonRAW'
# Make a web app.
client = NeonRAW.web('client_id', 'secret', 'redirect_uri', user_agent: 'test')
url = client.auth_url('state', ['identity', 'read'], 'permanent')
puts "Go to #{url} and enter the code below: "
code = gets.chomp
client.authorize! code
# Make a script app. Script apps automatically authorize themselves for you.
client = NeonRAW.script('username', 'password', 'client_id',
'secret', user_agent: 'test')
# Fetch some submissions from /r/programming's hot queue.
subreddit = client.subreddit 'programming'
submissions = subreddit.hot limit: 10
submissions.each_with_index do |submission, i|
puts "#{i + 1}: #{submission.title}"
end
# Fetch a user and message them if they're a friend.
user = client.user 'SirNeon'
user.message 'Hi.', "How's it going?" if user.friend?
# Fetch yourself and check your orangereds if you have mail.
myself = client.me
new_messages = myself.inbox limit: myself.inbox_count if myself.mail?
FAQs
Unknown package
We found that NeonRAW demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.