citymind-engine 1.0.0__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.
Files changed (51) hide show
  1. citymind_engine-1.0.0/.env.example +42 -0
  2. citymind_engine-1.0.0/AUTHORS.md +32 -0
  3. citymind_engine-1.0.0/CHANGELOG.md +18 -0
  4. citymind_engine-1.0.0/CITATION.cff +25 -0
  5. citymind_engine-1.0.0/LICENSE +21 -0
  6. citymind_engine-1.0.0/MANIFEST.in +14 -0
  7. citymind_engine-1.0.0/PKG-INFO +725 -0
  8. citymind_engine-1.0.0/README.md +687 -0
  9. citymind_engine-1.0.0/VERSION +1 -0
  10. citymind_engine-1.0.0/citymind/__init__.py +16 -0
  11. citymind_engine-1.0.0/citymind/ai_enhancement/__init__.py +17 -0
  12. citymind_engine-1.0.0/citymind/ai_enhancement/anomaly_detector.py +71 -0
  13. citymind_engine-1.0.0/citymind/ai_enhancement/weight_optimizer.py +90 -0
  14. citymind_engine-1.0.0/citymind/archival/__init__.py +6 -0
  15. citymind_engine-1.0.0/citymind/archival/checksum.py +20 -0
  16. citymind_engine-1.0.0/citymind/archival/writer.py +31 -0
  17. citymind_engine-1.0.0/citymind/monitoring/__init__.py +5 -0
  18. citymind_engine-1.0.0/citymind/monitoring/app.py +185 -0
  19. citymind_engine-1.0.0/citymind/monitoring/dashboard.py +45 -0
  20. citymind_engine-1.0.0/citymind/pipeline.py +107 -0
  21. citymind_engine-1.0.0/citymind/sensors/__init__.py +6 -0
  22. citymind_engine-1.0.0/citymind/sensors/energy_sensor.py +24 -0
  23. citymind_engine-1.0.0/citymind/sensors/traffic_sensor.py +24 -0
  24. citymind_engine-1.0.0/citymind/simulation/__init__.py +5 -0
  25. citymind_engine-1.0.0/citymind/simulation/benchmarks.py +31 -0
  26. citymind_engine-1.0.0/citymind/subsystems/__init__.py +15 -0
  27. citymind_engine-1.0.0/citymind/subsystems/energy.py +54 -0
  28. citymind_engine-1.0.0/citymind/subsystems/infrastructure.py +53 -0
  29. citymind_engine-1.0.0/citymind/subsystems/mobility.py +61 -0
  30. citymind_engine-1.0.0/citymind/subsystems/population.py +58 -0
  31. citymind_engine-1.0.0/citymind/subsystems/transport.py +71 -0
  32. citymind_engine-1.0.0/citymind/uhi.py +132 -0
  33. citymind_engine-1.0.0/citymind/utils/__init__.py +5 -0
  34. citymind_engine-1.0.0/citymind/utils/constants.py +42 -0
  35. citymind_engine-1.0.0/citymind_engine.egg-info/PKG-INFO +725 -0
  36. citymind_engine-1.0.0/citymind_engine.egg-info/SOURCES.txt +50 -0
  37. citymind_engine-1.0.0/citymind_engine.egg-info/dependency_links.txt +1 -0
  38. citymind_engine-1.0.0/citymind_engine.egg-info/entry_points.txt +3 -0
  39. citymind_engine-1.0.0/citymind_engine.egg-info/not-zip-safe +1 -0
  40. citymind_engine-1.0.0/citymind_engine.egg-info/requires.txt +9 -0
  41. citymind_engine-1.0.0/citymind_engine.egg-info/top_level.txt +1 -0
  42. citymind_engine-1.0.0/configs/default.yaml +34 -0
  43. citymind_engine-1.0.0/configs/megacity.yaml +30 -0
  44. citymind_engine-1.0.0/configs/smart_city.yaml +30 -0
  45. citymind_engine-1.0.0/pyproject.toml +60 -0
  46. citymind_engine-1.0.0/setup.cfg +31 -0
  47. citymind_engine-1.0.0/setup.py +33 -0
  48. citymind_engine-1.0.0/tests/test_pipeline.py +55 -0
  49. citymind_engine-1.0.0/tests/test_simple.py +232 -0
  50. citymind_engine-1.0.0/tests/test_subsystems.py +90 -0
  51. citymind_engine-1.0.0/tests/test_uhi.py +46 -0
@@ -0,0 +1,42 @@
1
+ # CITYMIND Environment Configuration
2
+ # Urban Human Systems Intelligence Framework
3
+
4
+ # Application Settings
5
+ APP_NAME=CITYMIND
6
+ APP_VERSION=1.0.0
7
+ ENVIRONMENT=production
8
+
9
+ # Five Independent Urban Subsystems
10
+ TRANSPORT_FLOW_ENABLED=true
11
+ POPULATION_DENSITY_ENABLED=true
12
+ ENERGY_CONSUMPTION_ENABLED=true
13
+ MOBILITY_BEHAVIOR_ENABLED=true
14
+ INFRASTRUCTURE_LOAD_ENABLED=true
15
+
16
+ # Subsystem Parameters
17
+ TRANSPORT_CAPACITY=10000
18
+ POPULATION_DENSITY_OPTIMAL=5000
19
+ ENERGY_SUPPLY_GRID=1000
20
+ MOBILITY_PUBLIC_RATIO=0.6
21
+ INFRASTRUCTURE_LOAD_LIMIT=0.8
22
+
23
+ # AI Enhancement Layer (Optimization Only)
24
+ AI_ENHANCEMENT_ENABLED=true
25
+ AI_WEIGHT_OPTIMIZATION=true
26
+ AI_ANOMALY_DETECTION=true
27
+ AI_FORECAST_HORIZON_HOURS=48
28
+
29
+ # Urban Health Index Thresholds
30
+ UHI_OPTIMIZED=0.85
31
+ UHI_STRESSED=0.70
32
+ UHI_MITIGATION=0.55
33
+
34
+ # API Configuration
35
+ API_HOST=0.0.0.0
36
+ API_PORT=8000
37
+
38
+ # Logging
39
+ LOG_LEVEL=INFO
40
+
41
+ # Security
42
+ SECRET_KEY=change-this-in-production
@@ -0,0 +1,32 @@
1
+ # CITYMIND Authors
2
+
3
+ ## Lead Author
4
+
5
+ **Samir Baladi**
6
+ - Email: gitdeeper@gmail.com
7
+ - ORCID: 0009-0003-8903-0029
8
+ - GitHub: https://github.com/gitdeeper13
9
+ - GitLab: https://gitlab.com/gitdeeper13
10
+
11
+ ## Author Biography
12
+
13
+ Samir Baladi is an interdisciplinary researcher at the intersection of urban systems intelligence, computational modeling, and AI-assisted optimization for urban infrastructure. Affiliated with the Ronin Institute and the Rite of Renaissance research program.
14
+
15
+ CITYMIND is the first project in the URBAN-INTEL series (URBAN-INTEL-01), applying independent subsystem governance principles to urban health assessment with AI strictly bounded to enhancement and optimization.
16
+
17
+ ## Role
18
+
19
+ - Principal Investigator
20
+ - Framework Architect
21
+ - Lead Developer
22
+
23
+ ## Contact
24
+
25
+ - 📧 Email: gitdeeper@gmail.com
26
+ - 🔗 ORCID: 0009-0003-8903-0029
27
+ - 🐙 GitHub: https://github.com/gitdeeper13
28
+ - 🦊 GitLab: https://gitlab.com/gitdeeper13
29
+
30
+ ---
31
+
32
+ *Last updated: May 2026*
@@ -0,0 +1,18 @@
1
+ # Changelog
2
+
3
+ ## [1.0.0] - 2026-05-29
4
+
5
+ ### Added
6
+ - Five independent urban subsystems (Transport, Population, Energy, Mobility, Infrastructure)
7
+ - Urban Health Index (UHI) composite metric
8
+ - AI enhancement layer for weight optimization
9
+ - Four-level governance thresholds
10
+ - Real-time monitoring dashboard
11
+ - Complete documentation
12
+
13
+ ### Validation
14
+ - Subsystem independence verified
15
+ - AI bounded to optimization only
16
+ - UHI accuracy within ±2.8%
17
+
18
+ [1.0.0]: https://github.com/gitdeeper13/CITYMIND/releases/tag/v1.0.0
@@ -0,0 +1,25 @@
1
+ cff-version: 1.2.0
2
+ message: "If you use CITYMIND in your research, please cite it using these metadata."
3
+ title: "CITYMIND: Urban Human Systems Intelligence Framework — Independent Subsystem Modeling with AI-Enhanced Aggregation"
4
+ version: 1.0.0
5
+ doi: 10.5281/zenodo.20444647
6
+ date-released: 2026-05-29
7
+ authors:
8
+ - family-names: Baladi
9
+ given-names: Samir
10
+ email: gitdeeper@gmail.com
11
+ orcid: https://orcid.org/0009-0003-8903-0029
12
+ repository-code: https://github.com/gitdeeper13/CITYMIND
13
+ url: https://citymind.netlify.app
14
+ abstract: "CITYMIND is an Urban Human Systems Intelligence framework for modeling five independent urban subsystems — Transport Flow, Population Density, Energy Consumption, Mobility Behavior, and Infrastructure Load — with AI serving strictly as an enhancement and optimization layer."
15
+ license: MIT
16
+ keywords:
17
+ - urban-systems
18
+ - human-intelligence
19
+ - transport-flow
20
+ - population-density
21
+ - energy-consumption
22
+ - mobility-behavior
23
+ - infrastructure-load
24
+ - urban-health-index
25
+ type: software
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Samir Baladi
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,14 @@
1
+ include README.md
2
+ include LICENSE
3
+ include VERSION
4
+ include CHANGELOG.md
5
+ include AUTHORS.md
6
+ include CITATION.cff
7
+ include .env.example
8
+
9
+ recursive-include citymind *.py
10
+ recursive-include configs *.yaml
11
+ recursive-include tests *.py
12
+
13
+ global-exclude __pycache__
14
+ global-exclude *.py[cod]