py10x-universe 0.1.3__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.
- py10x_universe-0.1.3/.coveragerc +6 -0
- py10x_universe-0.1.3/.github/workflows/build.yml +31 -0
- py10x_universe-0.1.3/.gitignore +5 -0
- py10x_universe-0.1.3/.idea/.gitignore +4 -0
- py10x_universe-0.1.3/.idea/inspectionProfiles/profiles_settings.xml +7 -0
- py10x_universe-0.1.3/.idea/misc.xml +10 -0
- py10x_universe-0.1.3/.idea/modules.xml +8 -0
- py10x_universe-0.1.3/.idea/py10x.iml +18 -0
- py10x_universe-0.1.3/.idea/ruff.xml +7 -0
- py10x_universe-0.1.3/.idea/runConfigurations/collection_editor__rio_.xml +25 -0
- py10x_universe-0.1.3/.idea/ryecharm-overrides.xml +11 -0
- py10x_universe-0.1.3/.idea/ryecharm.xml +6 -0
- py10x_universe-0.1.3/.idea/vcs.xml +6 -0
- py10x_universe-0.1.3/AGENTS.md +99 -0
- py10x_universe-0.1.3/CHANGELOG.md +89 -0
- py10x_universe-0.1.3/CODE_OF_CONDUCT.md +94 -0
- py10x_universe-0.1.3/CONTRIBUTING.md +250 -0
- py10x_universe-0.1.3/GETTING_STARTED.md +1383 -0
- py10x_universe-0.1.3/INSTALLATION.md +322 -0
- py10x_universe-0.1.3/LICENSE +21 -0
- py10x_universe-0.1.3/PKG-INFO +406 -0
- py10x_universe-0.1.3/README.md +350 -0
- py10x_universe-0.1.3/SECURITY.md +129 -0
- py10x_universe-0.1.3/conftest.py +10 -0
- py10x_universe-0.1.3/core_10x/__init__.py +42 -0
- py10x_universe-0.1.3/core_10x/backbone/__init__.py +0 -0
- py10x_universe-0.1.3/core_10x/backbone/backbone_store.py +59 -0
- py10x_universe-0.1.3/core_10x/backbone/backbone_traitable.py +30 -0
- py10x_universe-0.1.3/core_10x/backbone/backbone_user.py +66 -0
- py10x_universe-0.1.3/core_10x/backbone/bound_data_domain.py +49 -0
- py10x_universe-0.1.3/core_10x/backbone/namespace.py +101 -0
- py10x_universe-0.1.3/core_10x/backbone/vault.py +38 -0
- py10x_universe-0.1.3/core_10x/code_samples/__init__.py +0 -0
- py10x_universe-0.1.3/core_10x/code_samples/_package_manifest.py +3 -0
- py10x_universe-0.1.3/core_10x/code_samples/directories.py +181 -0
- py10x_universe-0.1.3/core_10x/code_samples/person.py +76 -0
- py10x_universe-0.1.3/core_10x/concrete_traits.py +356 -0
- py10x_universe-0.1.3/core_10x/conftest.py +12 -0
- py10x_universe-0.1.3/core_10x/curve.py +321 -0
- py10x_universe-0.1.3/core_10x/data_domain.py +48 -0
- py10x_universe-0.1.3/core_10x/data_domain_binder.py +45 -0
- py10x_universe-0.1.3/core_10x/directory.py +250 -0
- py10x_universe-0.1.3/core_10x/entity.py +8 -0
- py10x_universe-0.1.3/core_10x/entity_filter.py +5 -0
- py10x_universe-0.1.3/core_10x/environment_variables.py +147 -0
- py10x_universe-0.1.3/core_10x/exec_control.py +84 -0
- py10x_universe-0.1.3/core_10x/experimental/__init__.py +0 -0
- py10x_universe-0.1.3/core_10x/experimental/data_protocol_ex.py +34 -0
- py10x_universe-0.1.3/core_10x/global_cache.py +121 -0
- py10x_universe-0.1.3/core_10x/manual_tests/__init__.py +0 -0
- py10x_universe-0.1.3/core_10x/manual_tests/calendar_test.py +35 -0
- py10x_universe-0.1.3/core_10x/manual_tests/ctor_update_bug.py +58 -0
- py10x_universe-0.1.3/core_10x/manual_tests/debug_graph_on.py +17 -0
- py10x_universe-0.1.3/core_10x/manual_tests/debug_graphoff_inside_graph_on.py +28 -0
- py10x_universe-0.1.3/core_10x/manual_tests/enum_bits_test.py +17 -0
- py10x_universe-0.1.3/core_10x/manual_tests/env_vars_trivial_test.py +12 -0
- py10x_universe-0.1.3/core_10x/manual_tests/existing_traitable.py +33 -0
- py10x_universe-0.1.3/core_10x/manual_tests/k10x_test1.py +13 -0
- py10x_universe-0.1.3/core_10x/manual_tests/named_constant_test.py +121 -0
- py10x_universe-0.1.3/core_10x/manual_tests/nucleus_trivial_test.py +42 -0
- py10x_universe-0.1.3/core_10x/manual_tests/polars_test.py +14 -0
- py10x_universe-0.1.3/core_10x/manual_tests/py_class_test.py +4 -0
- py10x_universe-0.1.3/core_10x/manual_tests/rc_test.py +42 -0
- py10x_universe-0.1.3/core_10x/manual_tests/rdate_test.py +12 -0
- py10x_universe-0.1.3/core_10x/manual_tests/reference_serialization_bug.py +19 -0
- py10x_universe-0.1.3/core_10x/manual_tests/resource_trivial_test.py +10 -0
- py10x_universe-0.1.3/core_10x/manual_tests/store_uri_test.py +6 -0
- py10x_universe-0.1.3/core_10x/manual_tests/trait_definition_test.py +19 -0
- py10x_universe-0.1.3/core_10x/manual_tests/trait_filter_test.py +15 -0
- py10x_universe-0.1.3/core_10x/manual_tests/trait_flag_modification_test.py +42 -0
- py10x_universe-0.1.3/core_10x/manual_tests/trait_modification_bug.py +26 -0
- py10x_universe-0.1.3/core_10x/manual_tests/traitable_as_of_test.py +82 -0
- py10x_universe-0.1.3/core_10x/manual_tests/traitable_heir_test.py +39 -0
- py10x_universe-0.1.3/core_10x/manual_tests/traitable_history_test.py +41 -0
- py10x_universe-0.1.3/core_10x/manual_tests/traitable_serialization_test.py +54 -0
- py10x_universe-0.1.3/core_10x/manual_tests/traitable_trivial_test.py +71 -0
- py10x_universe-0.1.3/core_10x/manual_tests/trivial_graph_test.py +16 -0
- py10x_universe-0.1.3/core_10x/manual_tests/ts_class_association_test.py +64 -0
- py10x_universe-0.1.3/core_10x/manual_tests/ts_trivial_test.py +35 -0
- py10x_universe-0.1.3/core_10x/named_constant.py +425 -0
- py10x_universe-0.1.3/core_10x/nucleus.py +81 -0
- py10x_universe-0.1.3/core_10x/package_manifest.py +85 -0
- py10x_universe-0.1.3/core_10x/package_refactoring.py +153 -0
- py10x_universe-0.1.3/core_10x/py_class.py +431 -0
- py10x_universe-0.1.3/core_10x/rc.py +155 -0
- py10x_universe-0.1.3/core_10x/rdate.py +339 -0
- py10x_universe-0.1.3/core_10x/resource.py +189 -0
- py10x_universe-0.1.3/core_10x/roman_number.py +67 -0
- py10x_universe-0.1.3/core_10x/testlib/__init__.py +0 -0
- py10x_universe-0.1.3/core_10x/testlib/test_store.py +240 -0
- py10x_universe-0.1.3/core_10x/testlib/traitable_history_tests.py +787 -0
- py10x_universe-0.1.3/core_10x/testlib/ts_tests.py +280 -0
- py10x_universe-0.1.3/core_10x/trait.py +377 -0
- py10x_universe-0.1.3/core_10x/trait_definition.py +176 -0
- py10x_universe-0.1.3/core_10x/trait_filter.py +205 -0
- py10x_universe-0.1.3/core_10x/trait_method_error.py +36 -0
- py10x_universe-0.1.3/core_10x/traitable.py +1082 -0
- py10x_universe-0.1.3/core_10x/traitable_cli.py +153 -0
- py10x_universe-0.1.3/core_10x/traitable_heir.py +33 -0
- py10x_universe-0.1.3/core_10x/traitable_id.py +31 -0
- py10x_universe-0.1.3/core_10x/ts_store.py +172 -0
- py10x_universe-0.1.3/core_10x/ts_store_type.py +26 -0
- py10x_universe-0.1.3/core_10x/ts_union.py +147 -0
- py10x_universe-0.1.3/core_10x/ui_hint.py +153 -0
- py10x_universe-0.1.3/core_10x/unit_tests/test_concrete_traits.py +156 -0
- py10x_universe-0.1.3/core_10x/unit_tests/test_converters.py +51 -0
- py10x_universe-0.1.3/core_10x/unit_tests/test_curve.py +157 -0
- py10x_universe-0.1.3/core_10x/unit_tests/test_directory.py +54 -0
- py10x_universe-0.1.3/core_10x/unit_tests/test_documentation.py +172 -0
- py10x_universe-0.1.3/core_10x/unit_tests/test_environment_variables.py +15 -0
- py10x_universe-0.1.3/core_10x/unit_tests/test_filters.py +239 -0
- py10x_universe-0.1.3/core_10x/unit_tests/test_graph.py +348 -0
- py10x_universe-0.1.3/core_10x/unit_tests/test_named_constant.py +98 -0
- py10x_universe-0.1.3/core_10x/unit_tests/test_rc.py +11 -0
- py10x_universe-0.1.3/core_10x/unit_tests/test_rdate.py +484 -0
- py10x_universe-0.1.3/core_10x/unit_tests/test_trait_method_error.py +80 -0
- py10x_universe-0.1.3/core_10x/unit_tests/test_trait_modification.py +19 -0
- py10x_universe-0.1.3/core_10x/unit_tests/test_traitable.py +959 -0
- py10x_universe-0.1.3/core_10x/unit_tests/test_traitable_history.py +1 -0
- py10x_universe-0.1.3/core_10x/unit_tests/test_ts_store.py +1 -0
- py10x_universe-0.1.3/core_10x/unit_tests/test_ts_union.py +369 -0
- py10x_universe-0.1.3/core_10x/unit_tests/test_ui_nodes.py +81 -0
- py10x_universe-0.1.3/core_10x/unit_tests/test_xxcalendar.py +471 -0
- py10x_universe-0.1.3/core_10x/vault/__init__.py +0 -0
- py10x_universe-0.1.3/core_10x/vault/sec_keys.py +133 -0
- py10x_universe-0.1.3/core_10x/vault/security_keys_old.py +168 -0
- py10x_universe-0.1.3/core_10x/vault/vault.py +56 -0
- py10x_universe-0.1.3/core_10x/vault/vault_traitable.py +56 -0
- py10x_universe-0.1.3/core_10x/vault/vault_user.py +70 -0
- py10x_universe-0.1.3/core_10x/xdate_time.py +136 -0
- py10x_universe-0.1.3/core_10x/xnone.py +71 -0
- py10x_universe-0.1.3/core_10x/xxcalendar.py +228 -0
- py10x_universe-0.1.3/infra_10x/__init__.py +0 -0
- py10x_universe-0.1.3/infra_10x/manual_tests/__init__.py +0 -0
- py10x_universe-0.1.3/infra_10x/manual_tests/test_misc.py +16 -0
- py10x_universe-0.1.3/infra_10x/manual_tests/test_prepare_filter_and_pipeline.py +25 -0
- py10x_universe-0.1.3/infra_10x/mongodb_admin.py +111 -0
- py10x_universe-0.1.3/infra_10x/mongodb_store.py +346 -0
- py10x_universe-0.1.3/infra_10x/mongodb_utils.py +129 -0
- py10x_universe-0.1.3/infra_10x/unit_tests/conftest.py +13 -0
- py10x_universe-0.1.3/infra_10x/unit_tests/test_mongo_db.py +36 -0
- py10x_universe-0.1.3/infra_10x/unit_tests/test_mongo_history.py +1 -0
- py10x_universe-0.1.3/pyproject.toml +84 -0
- py10x_universe-0.1.3/pytest.ini +10 -0
- py10x_universe-0.1.3/requirements.txt +51 -0
- py10x_universe-0.1.3/ruff.toml +60 -0
- py10x_universe-0.1.3/ui_10x/__init__.py +0 -0
- py10x_universe-0.1.3/ui_10x/apps/__init__.py +0 -0
- py10x_universe-0.1.3/ui_10x/apps/collection_editor_app.py +100 -0
- py10x_universe-0.1.3/ui_10x/choice.py +212 -0
- py10x_universe-0.1.3/ui_10x/collection_editor.py +135 -0
- py10x_universe-0.1.3/ui_10x/concrete_trait_widgets.py +220 -0
- py10x_universe-0.1.3/ui_10x/conftest.py +8 -0
- py10x_universe-0.1.3/ui_10x/entity_stocker.py +173 -0
- py10x_universe-0.1.3/ui_10x/examples/__init__.py +0 -0
- py10x_universe-0.1.3/ui_10x/examples/_guess_word_data.py +14076 -0
- py10x_universe-0.1.3/ui_10x/examples/collection_editor.py +17 -0
- py10x_universe-0.1.3/ui_10x/examples/date_selector.py +14 -0
- py10x_universe-0.1.3/ui_10x/examples/entity_stocker.py +18 -0
- py10x_universe-0.1.3/ui_10x/examples/guess_word.py +392 -0
- py10x_universe-0.1.3/ui_10x/examples/message_box.py +20 -0
- py10x_universe-0.1.3/ui_10x/examples/multi_choice.py +17 -0
- py10x_universe-0.1.3/ui_10x/examples/py_data_browser.py +66 -0
- py10x_universe-0.1.3/ui_10x/examples/radiobox.py +29 -0
- py10x_universe-0.1.3/ui_10x/examples/single_choice.py +31 -0
- py10x_universe-0.1.3/ui_10x/examples/style_sheet.py +47 -0
- py10x_universe-0.1.3/ui_10x/examples/trivial_entity_editor.py +18 -0
- py10x_universe-0.1.3/ui_10x/platform.py +20 -0
- py10x_universe-0.1.3/ui_10x/platform_interface.py +517 -0
- py10x_universe-0.1.3/ui_10x/py_data_browser.py +249 -0
- py10x_universe-0.1.3/ui_10x/qt6/__init__.py +0 -0
- py10x_universe-0.1.3/ui_10x/qt6/conftest.py +8 -0
- py10x_universe-0.1.3/ui_10x/qt6/manual_tests/__init__.py +0 -0
- py10x_universe-0.1.3/ui_10x/qt6/manual_tests/basic_test.py +35 -0
- py10x_universe-0.1.3/ui_10x/qt6/platform_implementation.py +275 -0
- py10x_universe-0.1.3/ui_10x/qt6/utils.py +665 -0
- py10x_universe-0.1.3/ui_10x/rio/__init__.py +0 -0
- py10x_universe-0.1.3/ui_10x/rio/apps/examples/examples/__init__.py +22 -0
- py10x_universe-0.1.3/ui_10x/rio/apps/examples/examples/components/__init__.py +3 -0
- py10x_universe-0.1.3/ui_10x/rio/apps/examples/examples/components/collection_editor.py +15 -0
- py10x_universe-0.1.3/ui_10x/rio/apps/examples/examples/pages/collection_editor.py +21 -0
- py10x_universe-0.1.3/ui_10x/rio/apps/examples/examples/pages/login_page.py +88 -0
- py10x_universe-0.1.3/ui_10x/rio/apps/examples/examples/pages/style_sheet.py +21 -0
- py10x_universe-0.1.3/ui_10x/rio/apps/examples/rio.toml +14 -0
- py10x_universe-0.1.3/ui_10x/rio/component_builder.py +497 -0
- py10x_universe-0.1.3/ui_10x/rio/components/__init__.py +9 -0
- py10x_universe-0.1.3/ui_10x/rio/components/group_box.py +31 -0
- py10x_universe-0.1.3/ui_10x/rio/components/labeled_checkbox.py +18 -0
- py10x_universe-0.1.3/ui_10x/rio/components/line_edit.py +37 -0
- py10x_universe-0.1.3/ui_10x/rio/components/radio_button.py +32 -0
- py10x_universe-0.1.3/ui_10x/rio/components/separator.py +24 -0
- py10x_universe-0.1.3/ui_10x/rio/components/splitter.py +121 -0
- py10x_universe-0.1.3/ui_10x/rio/components/tree_view.py +75 -0
- py10x_universe-0.1.3/ui_10x/rio/conftest.py +35 -0
- py10x_universe-0.1.3/ui_10x/rio/internals/__init__.py +0 -0
- py10x_universe-0.1.3/ui_10x/rio/internals/app.py +192 -0
- py10x_universe-0.1.3/ui_10x/rio/manual_tests/__init__.py +0 -0
- py10x_universe-0.1.3/ui_10x/rio/manual_tests/basic_test.py +24 -0
- py10x_universe-0.1.3/ui_10x/rio/manual_tests/splitter.py +27 -0
- py10x_universe-0.1.3/ui_10x/rio/platform_implementation.py +91 -0
- py10x_universe-0.1.3/ui_10x/rio/style_sheet.py +53 -0
- py10x_universe-0.1.3/ui_10x/rio/unit_tests/test_collection_editor.py +68 -0
- py10x_universe-0.1.3/ui_10x/rio/unit_tests/test_internals.py +630 -0
- py10x_universe-0.1.3/ui_10x/rio/unit_tests/test_style_sheet.py +37 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/__init__.py +46 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/application.py +109 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/button.py +48 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/button_group.py +60 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/calendar.py +23 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/checkbox.py +24 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/dialog.py +137 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/group_box.py +27 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/layout.py +34 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/line_edit.py +37 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/list.py +105 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/message_box.py +70 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/scroll_area.py +31 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/spacer.py +6 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/splitter.py +45 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/text_edit.py +28 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/tree.py +89 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/unit_tests/test_button.py +101 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/unit_tests/test_button_group.py +33 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/unit_tests/test_calendar.py +114 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/unit_tests/test_checkbox.py +109 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/unit_tests/test_group_box.py +158 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/unit_tests/test_label.py +43 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/unit_tests/test_line_edit.py +140 -0
- py10x_universe-0.1.3/ui_10x/rio/widgets/unit_tests/test_list.py +146 -0
- py10x_universe-0.1.3/ui_10x/table_header_view.py +305 -0
- py10x_universe-0.1.3/ui_10x/table_view.py +174 -0
- py10x_universe-0.1.3/ui_10x/trait_editor.py +189 -0
- py10x_universe-0.1.3/ui_10x/trait_widget.py +131 -0
- py10x_universe-0.1.3/ui_10x/traitable_editor.py +200 -0
- py10x_universe-0.1.3/ui_10x/traitable_view.py +131 -0
- py10x_universe-0.1.3/ui_10x/unit_tests/conftest.py +8 -0
- py10x_universe-0.1.3/ui_10x/unit_tests/test_platform.py +9 -0
- py10x_universe-0.1.3/ui_10x/utils.py +661 -0
- py10x_universe-0.1.3/uv.lock +2070 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
name: Publish py10x to PyPI (uv)
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
tags:
|
|
5
|
+
- "v*"
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
publish:
|
|
10
|
+
name: Build and publish
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
permissions:
|
|
13
|
+
id-token: write
|
|
14
|
+
contents: read
|
|
15
|
+
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v4
|
|
18
|
+
|
|
19
|
+
- name: Set up uv
|
|
20
|
+
uses: astral-sh/setup-uv@v5
|
|
21
|
+
with:
|
|
22
|
+
enable-cache: true
|
|
23
|
+
|
|
24
|
+
- name: Set up Python
|
|
25
|
+
run: uv python install 3.12
|
|
26
|
+
|
|
27
|
+
- name: Build distributions
|
|
28
|
+
run: uv build
|
|
29
|
+
|
|
30
|
+
- name: Publish to PyPI
|
|
31
|
+
run: uv publish
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="Black">
|
|
4
|
+
<option name="sdkName" value="Python 3.13 (py10x)" />
|
|
5
|
+
</component>
|
|
6
|
+
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.11 (py10x)" project-jdk-type="Python SDK" />
|
|
7
|
+
<component name="PythonCompatibilityInspectionAdvertiser">
|
|
8
|
+
<option name="version" value="3" />
|
|
9
|
+
</component>
|
|
10
|
+
</project>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="PYTHON_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$/../cxx10x/core_10x/cmake-build-debug" />
|
|
5
|
+
<content url="file://$MODULE_DIR$/../cxx10x/infra_10x/cmake-build-debug" />
|
|
6
|
+
<content url="file://$MODULE_DIR$">
|
|
7
|
+
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
|
8
|
+
</content>
|
|
9
|
+
<content url="file://$MODULE_DIR$/../rio">
|
|
10
|
+
<excludeFolder url="file://$MODULE_DIR$/../rio/.venv" />
|
|
11
|
+
</content>
|
|
12
|
+
<orderEntry type="jdk" jdkName="Python 3.11 (py10x)" jdkType="Python SDK" />
|
|
13
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
14
|
+
</component>
|
|
15
|
+
<component name="TestRunnerService">
|
|
16
|
+
<option name="PROJECT_TEST_RUNNER" value="py.test" />
|
|
17
|
+
</component>
|
|
18
|
+
</module>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<component name="ProjectRunConfigurationManager">
|
|
2
|
+
<configuration default="false" name="collection_editor (rio)" type="PythonConfigurationType" factoryName="Python">
|
|
3
|
+
<module name="py10x" />
|
|
4
|
+
<option name="ENV_FILES" value="" />
|
|
5
|
+
<option name="INTERPRETER_OPTIONS" value="" />
|
|
6
|
+
<option name="PARENT_ENVS" value="true" />
|
|
7
|
+
<envs>
|
|
8
|
+
<env name="PYTHONUNBUFFERED" value="1" />
|
|
9
|
+
<env name="UI_PLATFORM" value="Rio" />
|
|
10
|
+
</envs>
|
|
11
|
+
<option name="SDK_HOME" value="" />
|
|
12
|
+
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/ui_10x/examples" />
|
|
13
|
+
<option name="IS_MODULE_SDK" value="true" />
|
|
14
|
+
<option name="ADD_CONTENT_ROOTS" value="true" />
|
|
15
|
+
<option name="ADD_SOURCE_ROOTS" value="true" />
|
|
16
|
+
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/ui_10x/examples/collection_editor.py" />
|
|
17
|
+
<option name="PARAMETERS" value="" />
|
|
18
|
+
<option name="SHOW_COMMAND_LINE" value="false" />
|
|
19
|
+
<option name="EMULATE_TERMINAL" value="false" />
|
|
20
|
+
<option name="MODULE_MODE" value="false" />
|
|
21
|
+
<option name="REDIRECT_INPUT" value="false" />
|
|
22
|
+
<option name="INPUT_FILE" value="" />
|
|
23
|
+
<method v="2" />
|
|
24
|
+
</configuration>
|
|
25
|
+
</component>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="insyncwithfoo.ryecharm.configurations.ruff.Override">
|
|
4
|
+
<option name="names">
|
|
5
|
+
<map>
|
|
6
|
+
<entry key="crossPlatformExecutableResolution" value="true" />
|
|
7
|
+
<entry key="executable" value="true" />
|
|
8
|
+
</map>
|
|
9
|
+
</option>
|
|
10
|
+
</component>
|
|
11
|
+
</project>
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
## py10x – Guide for AI Agents
|
|
2
|
+
|
|
3
|
+
This file is a **meta-guide** for tools and AI agents working in this repo.
|
|
4
|
+
It points to canonical docs and records only the minimal, project-specific rules that agents must obey.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 1. Where canonical knowledge lives
|
|
9
|
+
|
|
10
|
+
- **High-level overview**: see `README.md`.
|
|
11
|
+
- **Installation / environment details**: see `INSTALLATION.md`.
|
|
12
|
+
- **Concepts, traitables, getters/setters, storage, execution modes**: see `GETTING_STARTED.md`.
|
|
13
|
+
- **Contribution workflow, code style, test layout**: see `CONTRIBUTING.md`.
|
|
14
|
+
- **Security, changelog, community**: see `SECURITY.md`, `CHANGELOG.md`, `CODE_OF_CONDUCT.md`.
|
|
15
|
+
- **Low-level traitable implementation details**: see `core_10x/traitable.py` and existing tests in `core_10x/unit_tests/`.
|
|
16
|
+
|
|
17
|
+
Agents should **link to and rely on those files**, not duplicate them here.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## 2. Environment & tooling rules for agents
|
|
22
|
+
|
|
23
|
+
- **Use UV and the project venv**
|
|
24
|
+
- Assume development happens via `uv` and a local `.venv`.
|
|
25
|
+
- When suggesting or running commands, prefer:
|
|
26
|
+
- `uv sync --all-extras` for dependency setup.
|
|
27
|
+
- `uv run ...` for Python tooling (`pytest`, `ruff`, etc.).
|
|
28
|
+
|
|
29
|
+
- **Respect C++ / cxx10x backend**
|
|
30
|
+
- Treat `py10x_core` / `py10x_infra` (from `cxx10x`) as **opaque C++ backends**.
|
|
31
|
+
- Do **not** try to reimplement or bypass them in Python; use the public Python APIs.
|
|
32
|
+
|
|
33
|
+
- **MongoDB & UI assumptions**
|
|
34
|
+
- Some tests require a local passwordless MongoDB on port 27017.
|
|
35
|
+
- UI work should assume Rio/Qt backends as configured in `INSTALLATION.md` / `pyproject.toml`.
|
|
36
|
+
|
|
37
|
+
For any environment ambiguity, favor the patterns and instructions in `INSTALLATION.md` and `CONTRIBUTING.md`.
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## 3. Traitable invariants agents must preserve
|
|
42
|
+
|
|
43
|
+
Most important invariants are around `core_10x.traitable.Traitable` and are documented in `GETTING_STARTED.md` and `core_10x/traitable.py`.
|
|
44
|
+
Agents must **not** violate the following:
|
|
45
|
+
|
|
46
|
+
- **Construction & initialization**
|
|
47
|
+
- **Never override `__init__`** on subclasses of `Traitable`; use `__post_init__` instead.
|
|
48
|
+
- Only use `_replace=True` in constructors when you intentionally want to update non-ID traits of an existing entity with the same ID.
|
|
49
|
+
|
|
50
|
+
- **Trait definitions**
|
|
51
|
+
- Always provide a **type annotation** for each trait, and use `T(...)` / `RT(...)` / `M(...)` as in the existing code.
|
|
52
|
+
- Do not change the meaning of ID vs ID_LIKE vs regular vs runtime traits; follow the patterns and explanations in `GETTING_STARTED.md` (“Core Concepts”, “Object Identification System”).
|
|
53
|
+
|
|
54
|
+
- **Getters / setters / converters**
|
|
55
|
+
- Follow the existing naming contracts (`*_get`, `*_set`, `*_from_str`, `*_from_any_xstr`).
|
|
56
|
+
- Keep getters side-effect free; put validation / cross-field updates into setters.
|
|
57
|
+
|
|
58
|
+
- **Storage & identity**
|
|
59
|
+
- Maintain the shared-by-ID semantics: instances with the same ID share trait values.
|
|
60
|
+
- Respect storage contexts (`CACHE_ONLY`, `MongoStore.instance(...)`) and do not introduce ad-hoc persistence mechanisms.
|
|
61
|
+
|
|
62
|
+
Before changing anything under `core_10x/traitable.py` or traitable-heavy code, agents should:
|
|
63
|
+
- Read the relevant sections of `GETTING_STARTED.md`.
|
|
64
|
+
- Scan the corresponding tests in `core_10x/unit_tests/` to mirror existing patterns.
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## 4. Testing & layout expectations
|
|
69
|
+
|
|
70
|
+
- **Test placement**
|
|
71
|
+
- Core logic tests belong in `core_10x/unit_tests/`.
|
|
72
|
+
- UI tests belong in `ui_10x/unit_tests/` or backend-specific test folders.
|
|
73
|
+
- Infra/storage tests belong in `infra_10x/unit_tests/`.
|
|
74
|
+
|
|
75
|
+
- **How to run tests / lints**
|
|
76
|
+
- Prefer:
|
|
77
|
+
- `uv run pytest` (or narrower paths) for tests.
|
|
78
|
+
- `uv run ruff check .` and `uv run ruff format .` for linting/formatting.
|
|
79
|
+
|
|
80
|
+
When adding new functionality, agents should **add or update tests** in the appropriate suite following nearby examples, rather than inventing new test patterns.
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## 5. Default agent behavior in this repo
|
|
85
|
+
|
|
86
|
+
- **Prefer existing patterns over new abstractions**
|
|
87
|
+
- When in doubt, copy the style and structure from nearby code and tests instead of inventing a new mini-framework.
|
|
88
|
+
|
|
89
|
+
- **Minimize duplication**
|
|
90
|
+
- If some behavior is already described in `README.md`, `GETTING_STARTED.md`, or tests, link or reference it rather than restating it.
|
|
91
|
+
|
|
92
|
+
- **Be conservative with Traitable changes**
|
|
93
|
+
- Any change that touches `core_10x/traitable.py`, history, or storage helpers is high impact.
|
|
94
|
+
- Such changes should:
|
|
95
|
+
- Be as small/local as possible.
|
|
96
|
+
- Include focused tests.
|
|
97
|
+
- Keep public semantics consistent with existing docs unless the change is explicitly a breaking redesign.
|
|
98
|
+
|
|
99
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [0.1.2] - 2024-12-19
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- Initial pre-release of py10x (10x Universe Ecosystem Core)
|
|
12
|
+
- Core data modeling with `Traitable` framework
|
|
13
|
+
- Trait-based traitable definitions with type safety
|
|
14
|
+
- Object identification system (endogenous/exogenous traitables)
|
|
15
|
+
- Serialization and deserialization framework
|
|
16
|
+
- Storage integration with MongoDB store
|
|
17
|
+
- Cross-platform UI components focused on traitable editing (Rio and Qt6 backends)
|
|
18
|
+
- MongoDB integration via `infra_10x`
|
|
19
|
+
- Built-in caching system for trait values and entity state
|
|
20
|
+
- Manual resource management using context managers
|
|
21
|
+
- Comprehensive test suite
|
|
22
|
+
|
|
23
|
+
### Core Features
|
|
24
|
+
- **Traitable Framework**: Traitable modeling with traits, validation, and persistence
|
|
25
|
+
- **Object Identification**: Endogenous traitables (with ID traits) share trait values globally by ID, exogenous traitables get auto-generated UUIDs
|
|
26
|
+
- **Dependency Graph**: Automatic computation of trait values and dependency tracking
|
|
27
|
+
- **Seamless UI Framework**: Cross-platform components with automatic framework selection
|
|
28
|
+
- **Storage Integration**: MongoDB store with revision tracking and flexible data persistence
|
|
29
|
+
- **Infrastructure**: Manual resource management (enterprise resource management planned for future release)
|
|
30
|
+
|
|
31
|
+
### UI Components
|
|
32
|
+
- Focused on traitable editing and management
|
|
33
|
+
- CollectionEditor for traitable collections
|
|
34
|
+
- TraitableEditor for individual traitable editing
|
|
35
|
+
- LineEdit, TextEdit, PushButton, Label
|
|
36
|
+
- Layout components (VBoxLayout, HBoxLayout, FormLayout)
|
|
37
|
+
- Dialog, MessageBox, GroupBox
|
|
38
|
+
- ListWidget, TreeWidget, CalendarWidget
|
|
39
|
+
- ScrollArea, Splitter, Spacer
|
|
40
|
+
- RadioButton, CheckBox, Separator
|
|
41
|
+
|
|
42
|
+
### Infrastructure
|
|
43
|
+
- Storage integration with MongoDB store
|
|
44
|
+
- Collection operations (CRUD, querying, indexing)
|
|
45
|
+
- Revision-based conflict resolution
|
|
46
|
+
- Manual resource management using context managers
|
|
47
|
+
|
|
48
|
+
### Dependencies
|
|
49
|
+
- Python 3.10+ support
|
|
50
|
+
- Core dependencies: numpy, python-dateutil, cryptography
|
|
51
|
+
- C++ implementation: py10x_core, py10x_infra packages
|
|
52
|
+
- UI backends: Rio UI, PyQt6
|
|
53
|
+
- Infrastructure: pymongo
|
|
54
|
+
- Development: pytest, ruff, playwright
|
|
55
|
+
|
|
56
|
+
## [Unreleased]
|
|
57
|
+
|
|
58
|
+
### Planned
|
|
59
|
+
- Enhanced tests, documentation and examples
|
|
60
|
+
- Trait validation (automatic verification methods)
|
|
61
|
+
- Automatic resource management via enterprise backbone
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## Version History
|
|
66
|
+
|
|
67
|
+
- **0.1.2**: Pre-release development version
|
|
68
|
+
- **0.1.1**: Pre-release development version
|
|
69
|
+
- **0.1.0**: Initial development version
|
|
70
|
+
|
|
71
|
+
## Migration Guide
|
|
72
|
+
|
|
73
|
+
### From Development Versions
|
|
74
|
+
|
|
75
|
+
No migration from previous versions is necessary - package versions will automatically be updated when installing.
|
|
76
|
+
|
|
77
|
+
### Breaking Changes
|
|
78
|
+
|
|
79
|
+
This is the initial pre-release, so no breaking changes from previous versions.
|
|
80
|
+
|
|
81
|
+
## Contributors
|
|
82
|
+
|
|
83
|
+
- Sasha Davidovich <sasha.davidovich@10x-software.com>
|
|
84
|
+
- Ilya Pevzner <ilya.pevzner@10x-software.com>
|
|
85
|
+
|
|
86
|
+
## Acknowledgments
|
|
87
|
+
|
|
88
|
+
- Relies on py10x_core and py10x_infra packages containing the underlying C++ implementation
|
|
89
|
+
- UI components based on Rio and Qt6 frameworks, focused on traitable editing and management
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
|
|
6
|
+
|
|
7
|
+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
|
|
8
|
+
|
|
9
|
+
## Our Standards
|
|
10
|
+
|
|
11
|
+
Examples of behavior that contributes to a positive environment for our community include:
|
|
12
|
+
|
|
13
|
+
* Using welcoming and inclusive language
|
|
14
|
+
* Being respectful of differing viewpoints and experiences
|
|
15
|
+
* Gracefully accepting constructive criticism
|
|
16
|
+
* Focusing on what is best for the community
|
|
17
|
+
* Showing empathy towards other community members
|
|
18
|
+
|
|
19
|
+
Examples of unacceptable behavior include:
|
|
20
|
+
|
|
21
|
+
* The use of sexualized language or imagery, and sexual attention or advances of any kind
|
|
22
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
23
|
+
* Public or private harassment
|
|
24
|
+
* Publishing others' private information, such as a physical or email address, without their explicit permission
|
|
25
|
+
* Other conduct which could reasonably be considered inappropriate in a professional setting
|
|
26
|
+
|
|
27
|
+
## Enforcement Responsibilities
|
|
28
|
+
|
|
29
|
+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
|
|
30
|
+
|
|
31
|
+
## Reporting
|
|
32
|
+
|
|
33
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [Discord](https://discord.gg/m7AQSXfFwf). All complaints will be reviewed and investigated promptly and fairly.
|
|
34
|
+
|
|
35
|
+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
|
|
36
|
+
|
|
37
|
+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
|
|
38
|
+
|
|
39
|
+
## Scope
|
|
40
|
+
|
|
41
|
+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
|
|
42
|
+
|
|
43
|
+
## Enforcement
|
|
44
|
+
|
|
45
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at:
|
|
46
|
+
|
|
47
|
+
- **Email**: conduct@10x-software.com
|
|
48
|
+
- **Project Maintainers**: sasha.davidovich@10x-software.com, ilya.pevzner@10x-software.com
|
|
49
|
+
|
|
50
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
|
51
|
+
|
|
52
|
+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
|
|
53
|
+
|
|
54
|
+
## Enforcement Guidelines
|
|
55
|
+
|
|
56
|
+
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
|
|
57
|
+
|
|
58
|
+
### 1. Correction
|
|
59
|
+
|
|
60
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
|
|
61
|
+
|
|
62
|
+
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
|
|
63
|
+
|
|
64
|
+
### 2. Warning
|
|
65
|
+
|
|
66
|
+
**Community Impact**: A violation through a single incident or series of actions.
|
|
67
|
+
|
|
68
|
+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
|
|
69
|
+
|
|
70
|
+
### 3. Temporary Ban
|
|
71
|
+
|
|
72
|
+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
|
|
73
|
+
|
|
74
|
+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
|
|
75
|
+
|
|
76
|
+
### 4. Permanent Ban
|
|
77
|
+
|
|
78
|
+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
|
|
79
|
+
|
|
80
|
+
**Consequence**: A permanent ban from any sort of public interaction within the community.
|
|
81
|
+
|
|
82
|
+
## Attribution
|
|
83
|
+
|
|
84
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
|
85
|
+
|
|
86
|
+
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
|
87
|
+
|
|
88
|
+
For answers to common questions about this code of conduct, see the FAQ at [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at [https://www.contributor-covenant.org/translations][translations].
|
|
89
|
+
|
|
90
|
+
[homepage]: https://www.contributor-covenant.org
|
|
91
|
+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
|
92
|
+
[Mozilla CoC]: https://github.com/mozilla/diversity
|
|
93
|
+
[FAQ]: https://www.contributor-covenant.org/faq
|
|
94
|
+
[translations]: https://www.contributor-covenant.org/translations
|