dao-treasury 0.0.33__tar.gz → 0.0.34__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/PKG-INFO +1 -1
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/.grafana/provisioning/dashboards/transactions/Treasury Transactions.json +7 -7
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/.grafana/provisioning/dashboards/treasury/Cashflow (Including Unsorted).json +4 -3
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/.grafana/provisioning/dashboards/treasury/Operating Cashflow.json +1 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury.egg-info/PKG-INFO +1 -1
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/pyproject.toml +1 -1
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/MANIFEST.in +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/README.md +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/.grafana/provisioning/dashboards/dashboards.yaml +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/.grafana/provisioning/dashboards/streams/LlamaPay.json +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/.grafana/provisioning/dashboards/summary/Monthly.json +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/.grafana/provisioning/dashboards/treasury/Cashflow.json +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/.grafana/provisioning/dashboards/treasury/Treasury.json +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/.grafana/provisioning/datasources/datasources.yaml +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/ENVIRONMENT_VARIABLES.py +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/__init__.py +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/_docker.py +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/_nicknames.py +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/_wallet.py +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/constants.py +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/db.py +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/docker-compose.yaml +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/main.py +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/py.typed +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/sorting/__init__.py +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/sorting/_matchers.py +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/sorting/_rules.py +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/sorting/factory.py +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/sorting/rule.py +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/sorting/rules/__init__.py +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/sorting/rules/ignore/__init__.py +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/sorting/rules/ignore/llamapay.py +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/streams/__init__.py +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/streams/llamapay.py +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/treasury.py +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury/types.py +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury.egg-info/SOURCES.txt +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury.egg-info/dependency_links.txt +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury.egg-info/not-zip-safe +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury.egg-info/requires.txt +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/dao_treasury.egg-info/top_level.txt +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/setup.cfg +0 -0
- {dao_treasury-0.0.33 → dao_treasury-0.0.34}/setup.py +0 -0
@@ -244,7 +244,7 @@
|
|
244
244
|
"refresh": 2,
|
245
245
|
"regex": "",
|
246
246
|
"skipUrlSync": false,
|
247
|
-
"sort":
|
247
|
+
"sort": 5,
|
248
248
|
"type": "query"
|
249
249
|
},
|
250
250
|
{
|
@@ -265,7 +265,7 @@
|
|
265
265
|
"refresh": 2,
|
266
266
|
"regex": "",
|
267
267
|
"skipUrlSync": false,
|
268
|
-
"sort":
|
268
|
+
"sort": 5,
|
269
269
|
"type": "query"
|
270
270
|
},
|
271
271
|
{
|
@@ -285,7 +285,7 @@
|
|
285
285
|
"refresh": 2,
|
286
286
|
"regex": "",
|
287
287
|
"skipUrlSync": false,
|
288
|
-
"sort":
|
288
|
+
"sort": 5,
|
289
289
|
"type": "query"
|
290
290
|
},
|
291
291
|
{
|
@@ -306,7 +306,7 @@
|
|
306
306
|
"refresh": 2,
|
307
307
|
"regex": "",
|
308
308
|
"skipUrlSync": false,
|
309
|
-
"sort":
|
309
|
+
"sort": 5,
|
310
310
|
"type": "query"
|
311
311
|
},
|
312
312
|
{
|
@@ -327,7 +327,7 @@
|
|
327
327
|
"refresh": 2,
|
328
328
|
"regex": "",
|
329
329
|
"skipUrlSync": false,
|
330
|
-
"sort":
|
330
|
+
"sort": 5,
|
331
331
|
"type": "query"
|
332
332
|
},
|
333
333
|
{
|
@@ -348,7 +348,7 @@
|
|
348
348
|
"refresh": 2,
|
349
349
|
"regex": "",
|
350
350
|
"skipUrlSync": false,
|
351
|
-
"sort":
|
351
|
+
"sort": 5,
|
352
352
|
"type": "query"
|
353
353
|
},
|
354
354
|
{
|
@@ -369,7 +369,7 @@
|
|
369
369
|
"refresh": 2,
|
370
370
|
"regex": "",
|
371
371
|
"skipUrlSync": false,
|
372
|
-
"sort":
|
372
|
+
"sort": 5,
|
373
373
|
"type": "query"
|
374
374
|
}
|
375
375
|
]
|
@@ -497,9 +497,9 @@
|
|
497
497
|
"targets": [
|
498
498
|
{
|
499
499
|
"datasource": "SQLite",
|
500
|
-
"queryText": "SELECT t.timestamp
|
500
|
+
"queryText": "SELECT t.timestamp,\r\n SUM(CASE WHEN gh.top_category in ('Revenue', 'Other Income','Sort Me (Inbound)') THEN t.value_usd ELSE 0 END) AS \"Total Received\",\r\n SUM(CASE WHEN gh.top_category in ('Cost of Revenue','Expenses','Other Expenses','Sort Me (Outbound)') THEN t.value_usd ELSE 0 END) * -1 AS \"Total Sent\",\r\n SUM(CASE WHEN gh.top_category in ('Revenue', 'Other Income','Sort Me (Inbound)') THEN t.value_usd ELSE 0 END) - SUM(CASE WHEN gh.top_category in ('Cost of Revenue','Expenses','Other Expenses','Sort Me (Outbound)') THEN t.value_usd ELSE 0 END) AS \"Net\"\r\nFROM general_ledger AS t\r\nJOIN txgroup_hierarchy gh ON t.txgroup_id = gh.txgroup_id\r\nWHERE t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000\r\nGROUP BY timestamp\r\nORDER BY timestamp;",
|
501
501
|
"queryType": "table",
|
502
|
-
"rawQueryText": "SELECT t.timestamp
|
502
|
+
"rawQueryText": "SELECT t.timestamp,\r\n SUM(CASE WHEN gh.top_category in ('Revenue', 'Other Income','Sort Me (Inbound)') THEN t.value_usd ELSE 0 END) AS \"Total Received\",\r\n SUM(CASE WHEN gh.top_category in ('Cost of Revenue','Expenses','Other Expenses','Sort Me (Outbound)') THEN t.value_usd ELSE 0 END) * -1 AS \"Total Sent\",\r\n SUM(CASE WHEN gh.top_category in ('Revenue', 'Other Income','Sort Me (Inbound)') THEN t.value_usd ELSE 0 END) - SUM(CASE WHEN gh.top_category in ('Cost of Revenue','Expenses','Other Expenses','Sort Me (Outbound)') THEN t.value_usd ELSE 0 END) AS \"Net\"\r\nFROM general_ledger AS t\r\nJOIN txgroup_hierarchy gh ON t.txgroup_id = gh.txgroup_id\r\nWHERE t.timestamp >= $__from/1000 AND t.timestamp <= $__to/1000\r\nGROUP BY timestamp\r\nORDER BY timestamp;",
|
503
503
|
"refId": "A",
|
504
504
|
"timeColumns": [
|
505
505
|
"timestamp"
|
@@ -522,6 +522,7 @@
|
|
522
522
|
"options": {
|
523
523
|
"conversions": [
|
524
524
|
{
|
525
|
+
"dateFormat": "YYYY-WW",
|
525
526
|
"destinationType": "time",
|
526
527
|
"targetField": "timestamp"
|
527
528
|
}
|
@@ -815,7 +816,7 @@
|
|
815
816
|
"type": "stat"
|
816
817
|
}
|
817
818
|
],
|
818
|
-
"refresh":
|
819
|
+
"refresh": false,
|
819
820
|
"schemaVersion": 38,
|
820
821
|
"tags": [],
|
821
822
|
"templating": {
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|