{"id":32184602,"url":"https://github.com/clojurewerkz/triennium","last_synced_at":"2025-10-21T23:54:09.888Z","repository":{"id":13947496,"uuid":"16647497","full_name":"clojurewerkz/triennium","owner":"clojurewerkz","description":"Small efficient MQTT topic routing library","archived":false,"fork":false,"pushed_at":"2025-05-08T14:44:57.000Z","size":38,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-21T23:53:47.090Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clojurewerkz.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-08T16:42:02.000Z","updated_at":"2025-05-11T18:24:54.000Z","dependencies_parsed_at":"2022-08-25T00:21:55.336Z","dependency_job_id":null,"html_url":"https://github.com/clojurewerkz/triennium","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/clojurewerkz/triennium","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clojurewerkz%2Ftriennium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clojurewerkz%2Ftriennium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clojurewerkz%2Ftriennium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clojurewerkz%2Ftriennium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clojurewerkz","download_url":"https://codeload.github.com/clojurewerkz/triennium/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clojurewerkz%2Ftriennium/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280354181,"owners_count":26316400,"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","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-10-21T23:54:05.988Z","updated_at":"2025-10-21T23:54:09.884Z","avatar_url":"https://github.com/clojurewerkz.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Triennium\n\nTriennium is a small library that strives to provide [efficient\ntopic routing](http://www.rabbitmq.com/blog/2010/09/14/very-fast-and-scalable-topic-routing-part-1/) implementations for MQTT topic schemes.\n\n\n## Project Goals\n\n * Be correct\n * Be efficient\n * Have solid test coverage\n\n\n## Project Maturity\n\nTriennium is *very* young and incomplete.\n\n\n## Artifacts\n\nTriennium artifacts are [released to\nClojars](https://clojars.org/clojurewerkz/triennium). If you are using\nMaven, add the following repository definition to your `pom.xml`:\n\n``` xml\n\u003crepository\u003e\n  \u003cid\u003eclojars.org\u003c/id\u003e\n  \u003curl\u003ehttp://clojars.org/repo\u003c/url\u003e\n\u003c/repository\u003e\n```\n\n### The Most Recent Release\n\nWith Leiningen:\n\n    [clojurewerkz/triennium \"1.0.0-beta3\"]\n\n\nWith Maven:\n\n    \u003cdependency\u003e\n      \u003cgroupId\u003eclojurewerkz\u003c/groupId\u003e\n      \u003cartifactId\u003etriennium\u003c/artifactId\u003e\n      \u003cversion\u003e1.0.0-beta3\u003c/version\u003e\n    \u003c/dependency\u003e\n\n\n## Documentation \u0026 Examples\n\n``` clojure\n(require '[clojurewerkz.triennium.mqtt :as tr])\n\n(-\u003e (tr/make-trie)\n    (tr/insert \"a/topic\" :a)\n    (tr/insert \"a/topic\" :b)\n    (tr/insert \"a/topic\" :c)\n    (tr/delete-matching \"a/topic\" (fn [val]\n                                    (#{:a :b} val))\n;= {\"a\" {\"topic\" {:values #{:c}}}}\n```\n\nFind subscribers for a particular subscription:\n```clojure\n(require '[clojurewerkz.triennium.mqtt :as tr])\n\n(-\u003e (tr/make-trie)\n    (tr/insert \"a/#\" :a)\n    (tr/matching-vals \"a/1\"))\n\n; #{:a}    \n```\n(def d (-\u003e (tr/make-trie)\n    (tr/insert \"a/#\" :a)))\n\n\n(tr/matching-vals {\"test\" {\"+\" {:values #{:a}}}} \"test/1\")\n\n## Community \u0026 Support\n\nFeel free to use GitHub issues to ask any questions you may have.\n\nTo subscribe for announcements of releases, important changes and so\non, please follow [@ClojureWerkz](https://twitter.com/clojurewerkz) on\nTwitter.\n\n\n\n## Supported Clojure versions\n\nTriennium is built from the ground up for Clojure 1.8 and up.\n\n\n## Continuous Integration Status\n\n[![Continuous Integration status](https://secure.travis-ci.org/clojurewerkz/triennium.png)](http://travis-ci.org/clojurewerkz/triennium)\n\n\n## Triennium Is a ClojureWerkz Project\n\nTriennium is part of the [group of Clojure libraries known as ClojureWerkz](http://clojurewerkz.org), together with\n\n * [Monger](http://clojuremongodb.info)\n * [Langohr](http://clojurerabbitmq.info)\n * [Elastisch](http://clojureelasticsearch.info)\n * [Cassaforte](http://clojurecassandra.info)\n * [Meltdown](https://github.com/clojurewerkz/meltdown)\n * [Neocons](http://clojureneo4j.info)\n * [EEP](https://github.com/clojurewerkz/eep)\n\nand several others.\n\n\n## Development\n\nTriennium uses [Leiningen\n2](https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md). Make\nsure you have it installed and then run tests against supported\nClojure versions using\n\n    lein all test\n\nThen create a branch and make your changes on it. Once you are done\nwith your changes and all tests pass, submit a pull request on GitHub.\n\n\n\n## License\n\nCopyright (C) 2014 Michael S. Klishin, Alex Petrov, and The ClojureWerkz Team.\n\nDouble licensed under the [Eclipse Public License](http://www.eclipse.org/legal/epl-v10.html) (the same as Clojure) or\nthe [Apache Public License 2.0](http://www.apache.org/licenses/LICENSE-2.0.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclojurewerkz%2Ftriennium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclojurewerkz%2Ftriennium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclojurewerkz%2Ftriennium/lists"}