Skip to content
usagerailPublic

About

UsageRail SDKs for Node.js and Python: API keys, rate limits, quotas and usage metering inside your API server

Topics

Resources

Code of conduct

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

UsageRail SDKs

Source for the UsageRail SDKs. They check API keys, apply rate limits and quotas, and count usage per customer inside your own API server, then report the counts to UsageRail in the background. Requests never pass through us.

SDK Install Frameworks Source
Node.js 22+ npm install @usagerail/node Express, Hono, Fastify, Next.js node/
Python 3.10+ pip install usagerail FastAPI, Starlette, Flask, Django python/

Setup guides and the API reference are at usagerail.com/docs.

If you use a coding agent, skills/add-usagerail/SKILL.md is an agent skill that walks it through adding the SDK to an existing API.

Issues and pull requests

Both are welcome here. The SDKs are developed in UsageRail's main codebase, next to the service they talk to, and this repository is published from there. An accepted pull request is applied upstream and comes back here with the next sync, credited to you.

Releases

From 0.1.1 on, every version on npm and PyPI is built and published by the release workflow from a tag in this repository (node-v0.1.1, python-v0.1.1). npm shows the commit each of those versions was built from.

License

MIT

About

UsageRail SDKs for Node.js and Python: API keys, rate limits, quotas and usage metering inside your API server

Topics

Resources

Code of conduct

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages