{"repo":"bframe-work/bframelib","free":true,"listed":false,"github":"https://github.com/bframe-work/bframelib","clone":"git clone https://github.com/bframe-work/bframelib.git","description":"Open source billing library based in SQL. Generate, view and diff invoices locally or in the cloud.","language":"Python","stars":10,"topics":["duckdb","python","sql"],"license":"AGPL-3.0","category":"databases-storage","readme_excerpt":"bframe bframe is a library to generate, view and diff invoices locally. Key technical features: Pure SQL - bframe's business logic is entirely written in customizable SQL views. No infrastructure - The library is fully in process with no hosting or docker required. Choose your source - Utilizing duckdb extensions, many sources of data are supported (Postgres, S3 compatible, etc). Key billing use cases supported: Complex pricing and packaging - Supports pricing usage, subscriptions or custom user defined views. Branching - Create git-like branches to test isolated changes using production data and then compare the results to the main branch Edits and amendments - Easily make edits or amendments to pricing and packaging. Time travel - Rewind the system time of the business model to audit, debug and reconcile historical changes. Installation Open a terminal and run (Requires Python 3.9+): Usage bframelib is a client that sits on top of a duckdb connection. Within the client is an interpreter that injects SQL based on the specified bframe views that are referenced (e.g. bframe.invoices ). Additional options are set within the library config and can control branching, system time and more. Below is a short example to show the most direct usage of bframelib . API The bframelib is composed of a Client and Interpreter . The Client is the primary interface for library users and the Interpreter is the engine that powers the business logic. Both are exposed through the library but only ","default_branch":null,"files":null,"tree":[],"storefront":"/r/bframe-work","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bframe-work/bframelib/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}