├── .devcontainer └── devcontainer.json ├── .coveragerc ├── .github ├── ISSUE_TEMPLATE │ └── bug-report.yml ├── actions │ └── setup_build_env │ │ └── action.yml ├── pull_request_template.md └── workflows │ ├── check_generated_pyi.yml │ ├── integration_app_harness.yml │ └── unit_tests.yml ├── .gitignore ├── LICENSE ├── MANIFESTO.md ├── README.md ├── ai-notebooks ├── .gitignore ├── agent_cli.py ├── agentbox.ipynb ├── autoscrum │ ├── __init__.py │ ├── __main__.py │ ├── autoscrum.py │ ├── data │ │ ├── acceptance.hbs │ │ ├── clarifier.hbs │ │ ├── featurizer.hbs │ │ ├── goalmaker.hbs │ │ ├── planner.hbs │ │ ├── requalizer.hbs │ │ ├── storylizer.hbs │ │ └── taskalizer.hbs │ └── test.json ├── chainlit │ └── chainlit_example.py ├── giftshop │ ├── app │ │ ├── __init__.py │ │ ├── config.py │ │ ├── query_data.py │ │ ├── serpapi.py │ │ ├── static │ │ │ ├── script.js │ │ │ └── style.css │ │ ├── templates │ │ │ ├── gifts copy.html │ │ │ ├── gifts.html │ │ │ └── index.html │ │ └── views.py │ ├── readme.md │ └── run.py ├── prd_agent │ ├── __init__.py │ ├── actions.py │ ├── prd.py │ └── prompts │ │ ├── prd.hbs │ │ └── prompt.hbs ├── salesGPT │ ├── Readme.md │ ├── __init__.py │ ├── agent.py │ └── prompt.hbs ├── streamlit │ └── streamlit_example.py ├── test_autoscrum.ipynb ├── test_chain_of_thought.ipynb ├── test_direct_llm.ipynb ├── test_prd.ipynb ├── test_salesgpt.ipynb └── tutorial.ipynb ├── app-examples ├── center-aligned-portfolio │ ├── .gitignore │ ├── README.md │ ├── assets │ │ ├── girl.png │ │ ├── quotes.png │ │ └── semicircle.svg │ ├── portfolio │ │ ├── __init__.py │ │ ├── portfolio.py │ │ ├── state.py │ │ └── styles.py │ ├── requirements.txt │ └── xtconfig.py ├── charting-examples │ ├── .gitignore │ ├── assets │ │ └── favicon.ico │ ├── charting_examples │ │ └── charting_examples.py │ └── xtconfig.py ├── dalle │ ├── .gitignore │ ├── assets │ │ ├── favicon.ico │ │ └── logo.svg │ ├── dalle screenshot.png │ ├── dalle │ │ ├── __init__.py │ │ └── dalle.py │ ├── requirements.txt │ └── xtconfig.py ├── gallery │ ├── .gitignore │ ├── assets │ │ ├── download.png │ │ ├── favicon.ico │ │ ├── image_urls.csv │ │ └── logo.svg │ ├── gallery │ │ ├── __init__.py │ │ ├── gallery.py │ │ ├── styles │ │ │ ├── __init__.py │ │ │ ├── colors.py │ │ │ ├── fonts.py │ │ │ └── styles.py │ │ └── templates │ │ │ ├── __init__.py │ │ │ └── template.py │ ├── requirements.txt │ └── xtconfig.py ├── gridx_portfolio │ ├── .gitignore │ ├── assets │ │ ├── camera.png │ │ ├── color-filter.png │ │ ├── design-pencil.png │ │ ├── dev-mode-phone.png │ │ ├── favicon.ico │ │ ├── gfonts.png │ │ ├── icon.svg │ │ ├── icon2.png │ │ ├── logo.svg │ │ ├── me.png │ │ ├── my-works.png │ │ ├── sign.png │ │ └── social.png │ ├── gridx app screenshot.png │ ├── gridx_portfolio │ │ ├── __init__.py │ │ ├── components │ │ │ ├── cards.py │ │ │ └── navbar.py │ │ └── gridx_portfolio.py │ ├── requirements.txt │ └── xtconfig.py ├── llm_eval_plotly │ ├── .gitignore │ ├── assets │ │ ├── arrow.png │ │ ├── close.png │ │ └── favicon.ico │ ├── llm_eval_plotly │ │ ├── __init__.py │ │ ├── components │ │ │ ├── __init__.py │ │ │ └── drawer.py │ │ ├── data │ │ │ ├── __init__.py │ │ │ └── data.py │ │ └── llm_eval_plotly.py │ ├── requirements.txt │ └── xtconfig.py ├── mapping │ ├── .gitignore │ ├── assets │ │ ├── favicon.ico │ │ ├── github.svg │ │ ├── gradient_underline.svg │ │ ├── icon.svg │ │ ├── logo_darkmode.svg │ │ ├── paneleft.svg │ │ └── text_logo_darkmode.svg │ ├── mapping │ │ ├── __init__.py │ │ └── mapping.py │ └── xtconfig.py ├── nextpy-chat │ ├── .gitignore │ ├── assets │ │ ├── Frame.svg │ │ ├── Vector.svg │ │ ├── avatar.png │ │ ├── avatar_smile.png │ │ ├── dislike.png │ │ ├── favicon.ico │ │ ├── github.svg │ │ ├── icon.svg │ │ ├── interview_prep.png │ │ ├── like.png │ │ ├── listen.png │ │ ├── logo.png │ │ ├── logo.svg │ │ ├── mike.png │ │ ├── paneleft.svg │ │ └── send.svg │ ├── nextpy_chat │ │ ├── State │ │ │ ├── __init__.py │ │ │ ├── interview.py │ │ │ ├── main.py │ │ │ └── state.py │ │ ├── __init__.py │ │ ├── components │ │ │ ├── __init__.py │ │ │ ├── chat.py │ │ │ ├── features.py │ │ │ ├── interview │ │ │ │ ├── __init__.py │ │ │ │ ├── chat.py │ │ │ │ └── navbar.py │ │ │ ├── loading_icon.py │ │ │ ├── modal.py │ │ │ ├── navbar.py │ │ │ └── sidebar.py │ │ ├── nextpy_chat.py │ │ ├── pages │ │ │ ├── __init__.py │ │ │ └── interview_prep.py │ │ ├── refactor.md │ │ ├── styles.py │ │ └── templates │ │ │ ├── __init__.py │ │ │ └── template.py │ ├── requirements.txt │ └── xtconfig.py ├── portfolio │ ├── .gitignore │ ├── assets │ │ ├── abstract.jpg │ │ ├── behance.svg │ │ ├── book.jpg │ │ ├── book2.jpg │ │ ├── book3.jpg │ │ ├── discord.svg │ │ ├── dribbble.svg │ │ ├── facebook.svg │ │ ├── favicon.ico │ │ ├── image.png │ │ ├── isalah.jpg │ │ ├── magzine.jpg │ │ └── nstagram.svg │ ├── portfolio │ │ ├── __init__.py │ │ ├── components │ │ │ ├── contact.py │ │ │ ├── hero.py │ │ │ └── navbar.py │ │ ├── portfolio.py │ │ └── styles.py │ └── xtconfig.py ├── rest_api_server │ ├── .gitignore │ ├── rest_api_server │ │ ├── __init__.py │ │ └── rest_api_server.py │ └── xtconfig.py ├── simple_animation │ ├── .gitignore │ ├── assets │ │ ├── favicon.ico │ │ ├── github.svg │ │ ├── gradient_underline.svg │ │ ├── icon.svg │ │ ├── logo_darkmode.svg │ │ ├── paneleft.svg │ │ └── text_logo_darkmode.svg │ ├── simple_animation │ │ ├── __init__.py │ │ └── simple_animation.py │ └── xtconfig.py ├── simple_chat │ ├── .gitignore │ ├── assets │ │ ├── Frame.svg │ │ ├── Vector.svg │ │ ├── avatar.png │ │ ├── avatar_smile.png │ │ ├── dislike.png │ │ ├── favicon.ico │ │ ├── github.svg │ │ ├── icon.svg │ │ ├── interview_prep.png │ │ ├── like.png │ │ ├── listen.png │ │ ├── logo.png │ │ ├── logo.svg │ │ ├── mike.png │ │ ├── paneleft.svg │ │ └── send.svg │ ├── requirements.txt │ ├── simple_chat │ │ ├── State │ │ │ ├── __init__.py │ │ │ ├── main.py │ │ │ └── state.py │ │ ├── __init__.py │ │ ├── components │ │ │ ├── __init__.py │ │ │ ├── chat.py │ │ │ ├── features.py │ │ │ ├── loading_icon.py │ │ │ ├── navbar.py │ │ │ └── sidebar.py │ │ ├── pages │ │ │ ├── __init__.py │ │ │ └── nextpy_gpt.py │ │ ├── simple_chat.py │ │ ├── styles.py │ │ └── templates │ │ │ ├── __init__.py │ │ │ └── template.py │ └── xtconfig.py └── simple_crud │ ├── .gitignore │ ├── README.md │ ├── alembic.ini │ ├── alembic │ ├── README │ ├── env.py │ ├── script.py.mako │ └── versions │ │ └── 583ceaad5af7_.py │ ├── assets │ └── favicon.ico │ ├── requirements.txt │ ├── simple crud screenshot.png │ ├── simple_crud │ ├── __init__.py │ ├── api.py │ ├── error.txt │ ├── model.py │ ├── simple_crud.py │ └── test.http │ └── xtconfig.py ├── docker-example ├── .dockerignore ├── Caddy.Dockerfile ├── Caddyfile ├── Dockerfile ├── README.md ├── compose.yaml └── requirements.txt ├── docs ├── ai │ ├── 01_engine.md │ └── 02_chain_of_thought.md ├── backend │ ├── 1_state_intro.md │ ├── 2_state_basics.md │ ├── 3_client_side_state.md │ ├── 4_substates.md │ ├── 5_event.md │ ├── 6_var.md │ ├── 7_var_operations.md │ ├── 8_state_object.md │ └── 9.rest_api.md ├── data │ ├── 01_intro.md │ ├── 02_tables.md │ ├── 03_keys.md │ ├── 04_advaced_data_types.md │ ├── 05_queries.md │ ├── 06_relationships.md │ └── 07_jsonDB.md ├── frontend │ ├── 01_components.md │ ├── 02_style_basics.md │ ├── 03_advanced_styling.md │ ├── 04_dark_mode.md │ ├── 05_pages.md │ └── 06_assets.md ├── get_started │ └── 01_nextpy_quickstart.md ├── learn_by_building_apps │ ├── 01_nextpy_with_codespaces.md │ └── 02_state_with_mood_app.md ├── references │ ├── README.md │ ├── backend │ │ └── vars_reference.md │ ├── build │ │ └── config_reference.md │ └── frontend │ │ ├── components │ │ ├── base │ │ │ ├── app_wrap_reference.md │ │ │ ├── body_reference.md │ │ │ ├── document_reference.md │ │ │ ├── fragment_reference.md │ │ │ ├── head_reference.md │ │ │ ├── link_reference.md │ │ │ ├── meta_reference.md │ │ │ └── script_reference.md │ │ ├── chakra │ │ │ ├── base_reference.md │ │ │ ├── datadisplay │ │ │ │ ├── badge_reference.md │ │ │ │ ├── code_reference.md │ │ │ │ ├── divider_reference.md │ │ │ │ ├── keyboard_key_reference.md │ │ │ │ ├── list_reference.md │ │ │ │ ├── stat_reference.md │ │ │ │ ├── table_reference.md │ │ │ │ └── tag_reference.md │ │ │ ├── disclosure │ │ │ │ ├── accordion_reference.md │ │ │ │ ├── tabs_reference.md │ │ │ │ ├── transition_reference.md │ │ │ │ └── visuallyhidden_reference.md │ │ │ ├── feedback │ │ │ │ ├── alert_reference.md │ │ │ │ ├── circularprogress_reference.md │ │ │ │ ├── progress_reference.md │ │ │ │ ├── skeleton_reference.md │ │ │ │ └── spinner_reference.md │ │ │ ├── forms │ │ │ │ ├── button_reference.md │ │ │ │ ├── checkbox_reference.md │ │ │ │ ├── colormodeswitch_reference.md │ │ │ │ ├── date_picker_reference.md │ │ │ │ ├── date_time_picker_reference.md │ │ │ │ ├── editable_reference.md │ │ │ │ ├── email_reference.md │ │ │ │ ├── form_reference.md │ │ │ │ ├── iconbutton_reference.md │ │ │ │ ├── input_reference.md │ │ │ │ ├── numberinput_reference.md │ │ │ │ ├── password_reference.md │ │ │ │ ├── pininput_reference.md │ │ │ │ ├── radio_reference.md │ │ │ │ ├── rangeslider_reference.md │ │ │ │ ├── select_reference.md │ │ │ │ ├── slider_reference.md │ │ │ │ ├── switch_reference.md │ │ │ │ └── textarea_reference.md │ │ │ ├── layout │ │ │ │ ├── aspect_ratio_reference.md │ │ │ │ ├── box_reference.md │ │ │ │ ├── card_reference.md │ │ │ │ ├── center_reference.md │ │ │ │ ├── container_reference.md │ │ │ │ ├── flex_reference.md │ │ │ │ ├── grid_reference.md │ │ │ │ ├── html_reference.md │ │ │ │ ├── spacer_reference.md │ │ │ │ ├── stack_reference.md │ │ │ │ └── wrap_reference.md │ │ │ ├── media │ │ │ │ ├── avatar_reference.md │ │ │ │ ├── icon_reference.md │ │ │ │ └── image_reference.md │ │ │ ├── navigation │ │ │ │ ├── breadcrumb_reference.md │ │ │ │ ├── link_reference.md │ │ │ │ ├── linkoverlay_reference.md │ │ │ │ └── stepper_reference.md │ │ │ ├── overlay │ │ │ │ ├── alertdialog_reference.md │ │ │ │ ├── drawer_reference.md │ │ │ │ ├── menu_reference.md │ │ │ │ ├── modal_reference.md │ │ │ │ ├── popover_reference.md │ │ │ │ └── tooltip_reference.md │ │ │ └── typography │ │ │ │ ├── heading_reference.md │ │ │ │ ├── highlight_reference.md │ │ │ │ ├── span_reference.md │ │ │ │ └── text_reference.md │ │ ├── core │ │ │ ├── banner_reference.md │ │ │ ├── client_side_routing_reference.md │ │ │ ├── debounce_reference.md │ │ │ ├── layout │ │ │ │ ├── center_reference.md │ │ │ │ ├── spacer_reference.md │ │ │ │ └── stack_reference.md │ │ │ └── upload_reference.md │ │ ├── el │ │ │ ├── element_reference.md │ │ │ └── elements │ │ │ │ ├── base_reference.md │ │ │ │ ├── forms_reference.md │ │ │ │ ├── inline_reference.md │ │ │ │ ├── media_reference.md │ │ │ │ ├── metadata_reference.md │ │ │ │ ├── other_reference.md │ │ │ │ ├── scripts_reference.md │ │ │ │ ├── sectioning_reference.md │ │ │ │ ├── tables_reference.md │ │ │ │ └── typography_reference.md │ │ ├── glide_datagrid │ │ │ └── dataeditor_reference.md │ │ ├── gridjs │ │ │ └── datatable_reference.md │ │ ├── markdown │ │ │ └── markdown_reference.md │ │ ├── moment │ │ │ └── moment_reference.md │ │ ├── next │ │ │ ├── base_reference.md │ │ │ ├── image_reference.md │ │ │ ├── link_reference.md │ │ │ └── video_reference.md │ │ ├── plotly │ │ │ └── plotly_reference.md │ │ ├── radix │ │ │ ├── primitives │ │ │ │ ├── accordion_reference.md │ │ │ │ ├── base_reference.md │ │ │ │ ├── form_reference.md │ │ │ │ ├── progress_reference.md │ │ │ │ └── slider_reference.md │ │ │ └── themes │ │ │ │ ├── base_reference.md │ │ │ │ ├── components │ │ │ │ ├── alertdialog_reference.md │ │ │ │ ├── aspectratio_reference.md │ │ │ │ ├── avatar_reference.md │ │ │ │ ├── badge_reference.md │ │ │ │ ├── button_reference.md │ │ │ │ ├── callout_reference.md │ │ │ │ ├── card_reference.md │ │ │ │ ├── checkbox_reference.md │ │ │ │ ├── contextmenu_reference.md │ │ │ │ ├── dialog_reference.md │ │ │ │ ├── dropdownmenu_reference.md │ │ │ │ ├── hovercard_reference.md │ │ │ │ ├── iconbutton_reference.md │ │ │ │ ├── icons_reference.md │ │ │ │ ├── inset_reference.md │ │ │ │ ├── popover_reference.md │ │ │ │ ├── radiogroup_reference.md │ │ │ │ ├── scrollarea_reference.md │ │ │ │ ├── select_reference.md │ │ │ │ ├── separator_reference.md │ │ │ │ ├── slider_reference.md │ │ │ │ ├── switch_reference.md │ │ │ │ ├── table_reference.md │ │ │ │ ├── tabs_reference.md │ │ │ │ ├── textarea_reference.md │ │ │ │ ├── textfield_reference.md │ │ │ │ └── tooltip_reference.md │ │ │ │ ├── layout │ │ │ │ ├── base_reference.md │ │ │ │ ├── box_reference.md │ │ │ │ ├── container_reference.md │ │ │ │ ├── flex_reference.md │ │ │ │ ├── grid_reference.md │ │ │ │ └── section_reference.md │ │ │ │ └── typography │ │ │ │ ├── blockquote_reference.md │ │ │ │ ├── code_reference.md │ │ │ │ ├── em_reference.md │ │ │ │ ├── heading_reference.md │ │ │ │ ├── kbd_reference.md │ │ │ │ ├── link_reference.md │ │ │ │ ├── quote_reference.md │ │ │ │ ├── strong_reference.md │ │ │ │ └── text_reference.md │ │ ├── react_player │ │ │ ├── audio_reference.md │ │ │ ├── react_player_reference.md │ │ │ └── video_reference.md │ │ ├── recharts │ │ │ ├── cartesian_reference.md │ │ │ ├── charts_reference.md │ │ │ ├── general_reference.md │ │ │ ├── polar_reference.md │ │ │ └── recharts_reference.md │ │ └── suneditor │ │ │ └── editor_reference.md │ │ └── page_reference.md └── 🌎 │ ├── Español │ └── README.md │ ├── Français │ └── README.md │ ├── German │ └── README.md │ ├── Italiano │ └── README.md │ ├── Português │ └── README.md │ ├── Tamil │ └── README.md │ ├── Türkçe │ └── README.md │ ├── Ukrainian │ └── README.md │ ├── русский │ └── README.md │ ├── عربي │ └── README.md │ ├── हिंदी │ └── README.md │ ├── 简体中文 │ └── README.md │ ├── 繁體中文 │ └── README.md │ └── 한국어 │ └── README.md ├── integration ├── __init__.py ├── benchmarks │ ├── benchmarks.py │ ├── helpers.py │ └── test_compile_benchmark.py ├── conftest.py ├── init-test │ ├── Dockerfile │ └── in_docker_test_script.sh ├── test_background_task.py ├── test_call_script.py ├── test_client_storage.py ├── test_connection_banner.py ├── test_dynamic_routes.py ├── test_event_actions.py ├── test_event_chain.py ├── test_form_submit.py ├── test_input.py ├── test_login_flow.py ├── test_server_side_event.py ├── test_table.py ├── test_upload.py ├── test_var_operations.py └── utils.py ├── nextpy ├── __init__.py ├── __init__.pyi ├── __main__.py ├── ai │ ├── __init__.py │ ├── agent │ │ ├── __init__.py │ │ ├── agentbox │ │ │ ├── Readme.md │ │ │ ├── __init__.py │ │ │ ├── _utils.py │ │ │ ├── agentbox.py │ │ │ ├── basebox.py │ │ │ └── tinybox.py │ │ ├── base_agent.py │ │ ├── chat.py │ │ └── completion.py │ ├── config.py │ ├── config.🤖 │ ├── engine │ │ ├── __init__.py │ │ ├── _grammar.py │ │ ├── _program.py │ │ ├── _program_executor.py │ │ ├── _utils.py │ │ ├── _variable_stack.py │ │ ├── library │ │ │ ├── __init__.py │ │ │ ├── _add.py │ │ │ ├── _assistant.py │ │ │ ├── _await.py │ │ │ ├── _block.py │ │ │ ├── _break.py │ │ │ ├── _callable.py │ │ │ ├── _contains.py │ │ │ ├── _context.py │ │ │ ├── _each.py │ │ │ ├── _equal.py │ │ │ ├── _example.py │ │ │ ├── _function.py │ │ │ ├── _gen.py │ │ │ ├── _geneach.py │ │ │ ├── _greater.py │ │ │ ├── _if.py │ │ │ ├── _input.py │ │ │ ├── _len.py │ │ │ ├── _less.py │ │ │ ├── _multiply.py │ │ │ ├── _not.py │ │ │ ├── _notequal.py │ │ │ ├── _output.py │ │ │ ├── _parse.py │ │ │ ├── _range.py │ │ │ ├── _role.py │ │ │ ├── _select.py │ │ │ ├── _set.py │ │ │ ├── _shell.py │ │ │ ├── _strip.py │ │ │ ├── _subtract.py │ │ │ ├── _system.py │ │ │ ├── _unless.py │ │ │ └── _user.py │ │ ├── llms │ │ │ ├── __init__.py │ │ │ ├── _deep_speed.py │ │ │ ├── _llm.py │ │ │ ├── _mock.py │ │ │ ├── _openai.py │ │ │ ├── _palm.py │ │ │ ├── _transformers.py │ │ │ ├── caches │ │ │ │ ├── __init__.py │ │ │ │ ├── _cache.py │ │ │ │ ├── _chromacache.py │ │ │ │ ├── _diskcache.py │ │ │ │ ├── _gptcache.py │ │ │ │ └── _memorycache.py │ │ │ └── transformers │ │ │ │ ├── __init__.py │ │ │ │ ├── _falcon.py │ │ │ │ ├── _koala.py │ │ │ │ ├── _llama.py │ │ │ │ ├── _mpt.py │ │ │ │ ├── _stablelm.py │ │ │ │ └── _vicuna.py │ │ ├── resources │ │ │ └── main.js │ │ └── selectors.py │ ├── finetune │ │ ├── LLMFinetune.py │ │ ├── openai_finetune.py │ │ └── transformer_finetune.py │ ├── memory │ │ ├── __init__.py │ │ ├── base.py │ │ ├── buffer_summary.py │ │ ├── in_memory.py │ │ ├── prompt.py │ │ ├── read_only.py │ │ └── summary.py │ ├── models │ │ ├── audio │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── speech_to_text │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── google.py │ │ │ │ └── whisper.py │ │ │ └── text_to_speech │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── elevenlabs.py │ │ │ │ ├── google_cloud_tts.py │ │ │ │ └── unreal_speech.py │ │ ├── embedding │ │ │ ├── __init__.py │ │ │ ├── aleph_alpha.py │ │ │ ├── base.py │ │ │ ├── bedrock.py │ │ │ ├── cohere.py │ │ │ ├── dashscope.py │ │ │ ├── deepinfra.py │ │ │ ├── elasticsearch.py │ │ │ ├── embaas.py │ │ │ ├── fake.py │ │ │ ├── google_palm.py │ │ │ ├── huggingface.py │ │ │ ├── jina.py │ │ │ ├── llamacpp.py │ │ │ ├── minimax.py │ │ │ ├── modelscopehub.py │ │ │ ├── mosaicml.py │ │ │ ├── openai.py │ │ │ └── tensorflowhub.py │ │ ├── image │ │ │ ├── Readme.md │ │ │ ├── _base.py │ │ │ ├── openai_dalle.py │ │ │ └── stable_diffusion.py │ │ └── llm │ │ │ ├── __init__.py │ │ │ └── llm_client.py │ ├── poetry.lock │ ├── prompt_on_the_outside.🖊️ │ ├── rag │ │ ├── __init__.py │ │ ├── base.py │ │ ├── doc_loader.py │ │ ├── document_loaders │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── add_loader.sh │ │ │ ├── airtable │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── apify │ │ │ │ ├── actor │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ └── dataset │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ ├── asana │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── azcognitive_search │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── azstorage_blob │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── basereader.py │ │ │ ├── bilibili │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── boarddocs │ │ │ │ ├── BoardDocsReader.ipynb │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── crawl.ipynb │ │ │ │ └── requirements.txt │ │ │ ├── chatgpt_plugin │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── chroma │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── confluence │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── couchdb │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── dad_jokes │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ ├── database │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ ├── deeplake │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── discord │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── docugami │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── docugami.ipynb │ │ │ │ └── requirements.txt │ │ │ ├── elasticsearch │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── faiss │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── feedly_rss │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── feishu_docs │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── file │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── audio │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── audio_gladia │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── base.py │ │ │ │ ├── cjk_pdf │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── deepdoctection │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── docx │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── epub │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── flat_pdf │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── image │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── image_blip │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── image_blip2 │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── image_deplot │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── ipynb │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── json │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── markdown │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── base.py │ │ │ │ ├── mbox │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── paged_csv │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── base.py │ │ │ │ ├── pandas_csv │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── pandas_excel │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── pdf │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── pdf_miner │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── pptx │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── pymu_pdf │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── rdf │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── simple_csv │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── base.py │ │ │ │ └── unstructured │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ ├── firebase_realtimedb │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── firestore │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── github_repo │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── github_client.py │ │ │ │ ├── requirements.txt │ │ │ │ └── utils.py │ │ │ ├── github_repo_issues │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── github_client.py │ │ │ │ └── requirements.txt │ │ │ ├── gmail │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── google_calendar │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── google_docs │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── google_drive │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── google_keep │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── google_sheets │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── gpt_repo │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ ├── graphdb_cypher │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── graphql │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── hatena_blog │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── hubspot │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── huggingface │ │ │ │ └── fs │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ ├── intercom │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── jira │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── joplin │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ ├── jsondata │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── kaltura │ │ │ │ └── esearch │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ ├── kibela │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── library.json │ │ │ ├── make_com │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ ├── mangoapps_guides │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── maps │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── memos │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ ├── metal │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── milvus │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── mondaydotcom │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── mongo │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── notion │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ ├── obsidian │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ ├── opendal_reader │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── azblob │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── base.py │ │ │ │ ├── gcs │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── requirements.txt │ │ │ │ └── s3 │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ ├── outlook_localcalendar │ │ │ │ ├── README.md │ │ │ │ ├── __init__,py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── pandas_ai │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── papers │ │ │ │ ├── arxiv │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ └── pubmed │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── base.py │ │ │ ├── pinecone │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── qdrant │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── readwise │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ ├── reddit │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── remote │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ ├── remote_depth │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── s3 │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── singlestore │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── slack │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── snscrape_twitter │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── spotify │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── stackoverflow │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── steamship │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── string_iterable │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ ├── trello │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── twitter │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── utils.py │ │ │ ├── weather │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── weaviate │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── web │ │ │ │ ├── async_web │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── beautiful_soup_web │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── knowledge_base │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── readability_web │ │ │ │ │ ├── README.md │ │ │ │ │ ├── Readability.js │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── rss │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── base.py │ │ │ │ ├── simple_web │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── sitemap │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ ├── trafilatura_web │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ │ └── unstructured_web │ │ │ │ │ ├── README.md │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ └── requirements.txt │ │ │ ├── whatsapp │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── wikipedia │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── wordlift │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── wordpress │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── youtube_transcript │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ ├── zendesk │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ │ └── zulip │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── requirements.txt │ │ ├── text_retrievers │ │ │ ├── __init__.py │ │ │ ├── arxiv.py │ │ │ ├── aws_kendra.py │ │ │ ├── azure_cognitive.py │ │ │ ├── chatgpt_plugin.py │ │ │ ├── contextual_compression.py │ │ │ ├── databerry.py │ │ │ ├── document_compressors │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ ├── elastic_search.py │ │ │ ├── knn.py │ │ │ ├── llama_index.py │ │ │ ├── merger.py │ │ │ ├── metal.py │ │ │ ├── pinecone.py │ │ │ ├── pupmed.py │ │ │ ├── remote_retriever.py │ │ │ ├── svm.py │ │ │ ├── tfidf.py │ │ │ ├── time_retriever.py │ │ │ ├── vespa.py │ │ │ ├── weaviate_hybrid.py │ │ │ ├── wikipedia.py │ │ │ └── zep.py │ │ ├── text_splitter.py │ │ └── utilities │ │ │ ├── arxiv.py │ │ │ ├── bibtex.py │ │ │ ├── cosine_similarity.py │ │ │ ├── max_compute.py │ │ │ ├── openweathermap.py │ │ │ ├── pupmed.py │ │ │ └── wikipedia.py │ ├── schema.py │ ├── scripts │ │ ├── anonymize.py │ │ ├── awslambda.py │ │ ├── bash.py │ │ ├── bibtex.py │ │ ├── bingsearch.py │ │ ├── bravesearch.py │ │ ├── ducksearch.py │ │ ├── googleplaces.py │ │ ├── googlesearch.py │ │ ├── googleserper.py │ │ ├── graphql.py │ │ ├── math.py │ │ ├── openweatherMap.py │ │ ├── sceneexplain.py │ │ ├── serpapi.py │ │ ├── spark_sql_database.py │ │ ├── sql_database.py │ │ ├── twilio.py │ │ ├── webscrapper.py │ │ ├── wikipedia.py │ │ ├── wolframalpha.py │ │ ├── youtubeSearch.py │ │ └── youtubeTranscript.py │ ├── tests │ │ ├── __init__.py │ │ ├── agent │ │ │ └── test_base_agent.py │ │ └── engine │ │ │ ├── __init__.py │ │ │ ├── caches │ │ │ └── test_diskcache.py │ │ │ ├── library │ │ │ ├── __init__.py │ │ │ ├── test_add.py │ │ │ ├── test_assistant.py │ │ │ ├── test_await.py │ │ │ ├── test_block.py │ │ │ ├── test_break.py │ │ │ ├── test_contains.py │ │ │ ├── test_each.py │ │ │ ├── test_equal.py │ │ │ ├── test_gen.py │ │ │ ├── test_geneach.py │ │ │ ├── test_greater.py │ │ │ ├── test_if.py │ │ │ ├── test_include.py │ │ │ ├── test_less.py │ │ │ ├── test_parse.py │ │ │ ├── test_role.py │ │ │ ├── test_select.py │ │ │ ├── test_set.py │ │ │ ├── test_strip.py │ │ │ ├── test_subtract.py │ │ │ ├── test_system.py │ │ │ ├── test_unless.py │ │ │ └── test_user.py │ │ │ ├── llms │ │ │ ├── __init__.py │ │ │ ├── test_openai.py │ │ │ ├── test_transformers.py │ │ │ └── transformers │ │ │ │ ├── __init__.py │ │ │ │ ├── test_llama.py │ │ │ │ └── test_mpt.py │ │ │ ├── test_grammar.py │ │ │ ├── test_program.py │ │ │ └── utils.py │ ├── tokenizers │ │ ├── __init__.py │ │ ├── base.py │ │ ├── openai_tokenizer.py │ │ ├── simple_tokenizer.py │ │ └── transformer_tokenizer.py │ ├── tools │ │ ├── __init__.py │ │ ├── basetool.py │ │ └── toolkits │ │ │ ├── SQL.py │ │ │ ├── SQLDb │ │ │ ├── __init__.py │ │ │ ├── prompt.py │ │ │ └── tool.py │ │ │ ├── Spark_SQLDb │ │ │ ├── __init__.py │ │ │ ├── prompt.py │ │ │ └── tool.py │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── file_toolkit │ │ │ ├── _file.py │ │ │ ├── file.py │ │ │ └── file │ │ │ │ ├── __init__.py │ │ │ │ ├── copy.py │ │ │ │ ├── delete.py │ │ │ │ ├── listdir.py │ │ │ │ ├── move.py │ │ │ │ ├── read.py │ │ │ │ ├── search.py │ │ │ │ ├── utils.py │ │ │ │ └── write.py │ │ │ ├── gmail_toolkit │ │ │ ├── gmail.py │ │ │ └── gmail │ │ │ │ ├── base.py │ │ │ │ ├── create_draft.py │ │ │ │ ├── get_message.py │ │ │ │ ├── get_thread.py │ │ │ │ ├── search.py │ │ │ │ ├── send_message.py │ │ │ │ └── utils.py │ │ │ ├── google_calendar_toolkit │ │ │ ├── google_calendar.py │ │ │ └── google_calendar │ │ │ │ └── base.py │ │ │ ├── json_toolkit │ │ │ ├── json │ │ │ │ └── tool.py │ │ │ └── json_python.py │ │ │ ├── notion_toolkit │ │ │ ├── notion.py │ │ │ └── notion │ │ │ │ ├── base.py │ │ │ │ └── utils.py │ │ │ ├── openapi_toolkit │ │ │ ├── base.py │ │ │ └── utils.py │ │ │ ├── requests_toolkit │ │ │ ├── example.py │ │ │ ├── request.py │ │ │ ├── requests │ │ │ │ ├── base.py │ │ │ │ ├── requests.py │ │ │ │ ├── tool.py │ │ │ │ └── utils.py │ │ │ ├── test_tool_requests.py │ │ │ └── test_toolkit_requests.py │ │ │ ├── slack_toolkit │ │ │ ├── slack.py │ │ │ ├── slack │ │ │ │ ├── base.py │ │ │ │ └── utils.py │ │ │ └── slack_tool │ │ │ │ ├── base.py │ │ │ │ └── utils.py │ │ │ └── zapier_toolkit │ │ │ ├── zapier.py │ │ │ └── zapier │ │ │ └── base.py │ └── utils │ │ ├── __init__.py │ │ ├── prompt_ops.py │ │ ├── serializable.py │ │ └── summary.py ├── app.py ├── app.pyi ├── backend │ ├── __init__.py │ ├── admin.py │ ├── app_shim.py │ ├── deploy │ │ └── hosting.py │ ├── event.py │ ├── middleware │ │ ├── __init__.py │ │ ├── hydrate_middleware.py │ │ └── middleware.py │ ├── module │ │ ├── mail │ │ │ ├── __init__.py │ │ │ ├── config.py │ │ │ ├── email_template.py │ │ │ ├── exceptions.py │ │ │ ├── message.py │ │ │ └── sender.py │ │ └── module.py │ ├── route.py │ ├── state.py │ ├── vars.py │ └── vars.pyi ├── base.py ├── build │ ├── __init__.py │ ├── build.py │ ├── compiler │ │ ├── __init__.py │ │ ├── compiler.py │ │ ├── templates.py │ │ └── utils.py │ ├── config.py │ ├── config.pyi │ ├── dependency.py │ ├── exec.py │ ├── prerequisites.py │ ├── processes.py │ ├── source_reload.py │ ├── testing.py │ └── watch.py ├── cli.py ├── constants │ ├── __init__.py │ ├── base.py │ ├── compiler.py │ ├── config.py │ ├── custom_components.py │ ├── event.py │ ├── hosting.py │ ├── installer.py │ ├── route.py │ └── style.py ├── data │ ├── __init__.py │ ├── jsondb.py │ ├── model.py │ └── vectordb │ │ ├── __init__.py │ │ ├── base.py │ │ ├── chroma.py │ │ ├── deeplake.py │ │ ├── pinecone.py │ │ ├── qdrant.py │ │ └── redis.py ├── interfaces │ ├── __init__.py │ ├── blueprints │ │ ├── __init__.py │ │ ├── hero_section.py │ │ ├── navbar.py │ │ └── sidebar.py │ ├── custom_components │ │ ├── __init__.py │ │ └── custom_components.py │ ├── jupyter │ │ ├── __init__.py │ │ ├── alias.py │ │ ├── cache.py │ │ ├── checks.html │ │ ├── checks.py │ │ ├── comm.py │ │ ├── components │ │ │ ├── __init__.py │ │ │ ├── applayout.py │ │ │ ├── chart │ │ │ │ ├── __init__.py │ │ │ │ └── matplotlib.py │ │ │ ├── chat_element │ │ │ │ ├── __init__.py │ │ │ │ └── chat_input.py │ │ │ ├── containers │ │ │ │ ├── __init__.py │ │ │ │ ├── box.py │ │ │ │ ├── card.py │ │ │ │ ├── container.py │ │ │ │ ├── expander.py │ │ │ │ ├── grid.py │ │ │ │ ├── sidebar.py │ │ │ │ └── tab.py │ │ │ ├── control │ │ │ │ ├── __init__.py │ │ │ │ └── form.py │ │ │ ├── data_elements │ │ │ │ ├── __init__.py │ │ │ │ ├── dataframe.py │ │ │ │ ├── json.py │ │ │ │ └── metrics.py │ │ │ ├── input_widgets │ │ │ │ ├── __init__.py │ │ │ │ ├── button.py │ │ │ │ ├── checkbox.py │ │ │ │ ├── color_picker.py │ │ │ │ ├── date_picker.py │ │ │ │ ├── download.vue │ │ │ │ ├── download_button.py │ │ │ │ ├── file_browser.py │ │ │ │ ├── file_drop.vue │ │ │ │ ├── file_list_widget.vue │ │ │ │ ├── file_uploader.py │ │ │ │ ├── input.py │ │ │ │ ├── link_button.py │ │ │ │ ├── multiselect.py │ │ │ │ ├── number_input.py │ │ │ │ ├── radio.py │ │ │ │ ├── select_box.py │ │ │ │ ├── select_slider.py │ │ │ │ ├── slider.py │ │ │ │ ├── slider_date.vue │ │ │ │ ├── switch.py │ │ │ │ ├── textarea.py │ │ │ │ └── time_picker.py │ │ │ ├── media │ │ │ │ ├── __init__.py │ │ │ │ ├── audio.py │ │ │ │ ├── image.py │ │ │ │ └── video.py │ │ │ ├── misc.py │ │ │ ├── status │ │ │ │ ├── __init__.py │ │ │ │ ├── alert.py │ │ │ │ ├── progress.py │ │ │ │ └── spinner.py │ │ │ ├── style.py │ │ │ └── typography │ │ │ │ ├── __init__.py │ │ │ │ ├── caption.py │ │ │ │ ├── code.py │ │ │ │ ├── code.vue │ │ │ │ ├── divider.py │ │ │ │ ├── header.py │ │ │ │ ├── headings.py │ │ │ │ ├── markdown.py │ │ │ │ ├── spinner-solara.vue │ │ │ │ ├── subheader.py │ │ │ │ ├── text.py │ │ │ │ ├── title.vue │ │ │ │ ├── title_file.py │ │ │ │ └── tooltip.py │ │ ├── datatypes.py │ │ ├── express.py │ │ ├── hooks │ │ │ ├── __init__.py │ │ │ ├── misc.py │ │ │ ├── use_reactive.py │ │ │ └── use_thread.py │ │ ├── minisettings.py │ │ ├── reactive.py │ │ ├── routing.py │ │ ├── server │ │ │ └── settings.py │ │ ├── settings.py │ │ ├── state.py │ │ ├── toestand.py │ │ ├── util.py │ │ └── widgets │ │ │ ├── __init__.py │ │ │ ├── vue │ │ │ ├── gridlayout.vue │ │ │ ├── html.vue │ │ │ ├── navigator.vue │ │ │ └── vegalite.vue │ │ │ └── widgets.py │ ├── templates │ │ ├── apps │ │ │ ├── base │ │ │ │ ├── README.md │ │ │ │ ├── assets │ │ │ │ │ ├── favicon.ico │ │ │ │ │ ├── github.svg │ │ │ │ │ ├── gradient_underline.svg │ │ │ │ │ ├── icon.svg │ │ │ │ │ ├── logo_darkmode.svg │ │ │ │ │ ├── paneleft.svg │ │ │ │ │ └── text_logo_darkmode.svg │ │ │ │ └── code │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ ├── components │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── sidebar.py │ │ │ │ │ ├── pages │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── dashboard.py │ │ │ │ │ ├── index.py │ │ │ │ │ └── settings.py │ │ │ │ │ ├── styles.py │ │ │ │ │ └── templates │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── template.py │ │ │ ├── blank │ │ │ │ ├── assets │ │ │ │ │ ├── favicon.ico │ │ │ │ │ ├── github.svg │ │ │ │ │ ├── gradient_underline.svg │ │ │ │ │ ├── icon.svg │ │ │ │ │ ├── logo_darkmode.svg │ │ │ │ │ ├── paneleft.svg │ │ │ │ │ └── text_logo_darkmode.svg │ │ │ │ └── code │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── blank.py │ │ │ └── hello │ │ │ │ ├── .gitignore │ │ │ │ ├── assets │ │ │ │ ├── favicon.ico │ │ │ │ ├── github.svg │ │ │ │ ├── gradient_underline.svg │ │ │ │ ├── icon.svg │ │ │ │ ├── logo_darkmode.svg │ │ │ │ ├── paneleft.svg │ │ │ │ └── text_logo_darkmode.svg │ │ │ │ └── code │ │ │ │ ├── __init__.py │ │ │ │ ├── hello.py │ │ │ │ ├── pages │ │ │ │ ├── __init__.py │ │ │ │ ├── chatapp.py │ │ │ │ ├── datatable.py │ │ │ │ ├── forms.py │ │ │ │ ├── graphing.py │ │ │ │ └── home.py │ │ │ │ ├── sidebar.py │ │ │ │ ├── state.py │ │ │ │ ├── states │ │ │ │ ├── form_state.py │ │ │ │ └── pie_state.py │ │ │ │ ├── styles.py │ │ │ │ └── webui │ │ │ │ ├── __init__.py │ │ │ │ ├── components │ │ │ │ ├── __init__.py │ │ │ │ ├── chat.py │ │ │ │ ├── loading_icon.py │ │ │ │ ├── modal.py │ │ │ │ ├── navbar.py │ │ │ │ └── sidebar.py │ │ │ │ ├── state.py │ │ │ │ └── styles.py │ │ ├── jinja │ │ │ ├── app │ │ │ │ └── xtconfig.py.jinja2 │ │ │ ├── custom_components │ │ │ │ ├── README.md.jinja2 │ │ │ │ ├── demo_app.py.jinja2 │ │ │ │ ├── pyproject.toml.jinja2 │ │ │ │ └── src.py.jinja2 │ │ │ └── web │ │ │ │ ├── package.json.jinja2 │ │ │ │ ├── pages │ │ │ │ ├── _app.js.jinja2 │ │ │ │ ├── _document.js.jinja2 │ │ │ │ ├── base_page.js.jinja2 │ │ │ │ ├── component.js.jinja2 │ │ │ │ ├── custom_component.js.jinja2 │ │ │ │ ├── index.js.jinja2 │ │ │ │ ├── stateful_component.js.jinja2 │ │ │ │ ├── stateful_components.js.jinja2 │ │ │ │ └── utils.js.jinja2 │ │ │ │ ├── styles │ │ │ │ └── styles.css.jinja2 │ │ │ │ ├── tailwind.config.js.jinja2 │ │ │ │ └── utils │ │ │ │ ├── context.js.jinja2 │ │ │ │ └── theme.js.jinja2 │ │ └── web │ │ │ ├── .gitignore │ │ │ ├── components │ │ │ └── nextpy │ │ │ │ ├── chakra_color_mode_provider.js │ │ │ │ └── radix_themes_color_mode_provider.js │ │ │ ├── jsconfig.json │ │ │ ├── next.config.js │ │ │ ├── postcss.config.js │ │ │ ├── styles │ │ │ ├── code │ │ │ │ └── prism.js │ │ │ └── tailwind.css │ │ │ └── utils │ │ │ ├── client_side_routing.js │ │ │ ├── helpers │ │ │ ├── dataeditor.js │ │ │ └── range.js │ │ │ └── state.js │ └── web │ │ ├── __init__.py │ │ ├── components │ │ ├── __init__.py │ │ ├── base │ │ │ ├── __init__.py │ │ │ ├── app_wrap.py │ │ │ ├── app_wrap.pyi │ │ │ ├── bare.py │ │ │ ├── body.py │ │ │ ├── body.pyi │ │ │ ├── document.py │ │ │ ├── document.pyi │ │ │ ├── fragment.py │ │ │ ├── fragment.pyi │ │ │ ├── head.py │ │ │ ├── head.pyi │ │ │ ├── link.py │ │ │ ├── link.pyi │ │ │ ├── meta.py │ │ │ ├── meta.pyi │ │ │ ├── script.py │ │ │ └── script.pyi │ │ ├── chakra │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── base.pyi │ │ │ ├── datadisplay │ │ │ │ ├── __init__.py │ │ │ │ ├── badge.py │ │ │ │ ├── badge.pyi │ │ │ │ ├── code.py │ │ │ │ ├── code.pyi │ │ │ │ ├── divider.py │ │ │ │ ├── divider.pyi │ │ │ │ ├── keyboard_key.py │ │ │ │ ├── keyboard_key.pyi │ │ │ │ ├── list.py │ │ │ │ ├── list.pyi │ │ │ │ ├── stat.py │ │ │ │ ├── stat.pyi │ │ │ │ ├── table.py │ │ │ │ ├── table.pyi │ │ │ │ ├── tag.py │ │ │ │ └── tag.pyi │ │ │ ├── disclosure │ │ │ │ ├── __init__.py │ │ │ │ ├── accordion.py │ │ │ │ ├── accordion.pyi │ │ │ │ ├── tabs.py │ │ │ │ ├── tabs.pyi │ │ │ │ ├── transition.py │ │ │ │ ├── transition.pyi │ │ │ │ ├── visuallyhidden.py │ │ │ │ └── visuallyhidden.pyi │ │ │ ├── feedback │ │ │ │ ├── __init__.py │ │ │ │ ├── alert.py │ │ │ │ ├── alert.pyi │ │ │ │ ├── circularprogress.py │ │ │ │ ├── circularprogress.pyi │ │ │ │ ├── progress.py │ │ │ │ ├── progress.pyi │ │ │ │ ├── skeleton.py │ │ │ │ ├── skeleton.pyi │ │ │ │ ├── spinner.py │ │ │ │ └── spinner.pyi │ │ │ ├── forms │ │ │ │ ├── __init__.py │ │ │ │ ├── button.py │ │ │ │ ├── button.pyi │ │ │ │ ├── checkbox.py │ │ │ │ ├── checkbox.pyi │ │ │ │ ├── color_picker.py │ │ │ │ ├── color_picker.pyi │ │ │ │ ├── colormodeswitch.py │ │ │ │ ├── colormodeswitch.pyi │ │ │ │ ├── date_picker.py │ │ │ │ ├── date_picker.pyi │ │ │ │ ├── date_time_picker.py │ │ │ │ ├── date_time_picker.pyi │ │ │ │ ├── editable.py │ │ │ │ ├── editable.pyi │ │ │ │ ├── email.py │ │ │ │ ├── email.pyi │ │ │ │ ├── form.py │ │ │ │ ├── form.pyi │ │ │ │ ├── iconbutton.py │ │ │ │ ├── iconbutton.pyi │ │ │ │ ├── input.py │ │ │ │ ├── input.pyi │ │ │ │ ├── multiselect.py │ │ │ │ ├── numberinput.py │ │ │ │ ├── numberinput.pyi │ │ │ │ ├── password.py │ │ │ │ ├── password.pyi │ │ │ │ ├── pininput.py │ │ │ │ ├── pininput.pyi │ │ │ │ ├── radio.py │ │ │ │ ├── radio.pyi │ │ │ │ ├── rangeslider.py │ │ │ │ ├── rangeslider.pyi │ │ │ │ ├── select.py │ │ │ │ ├── select.pyi │ │ │ │ ├── slider.py │ │ │ │ ├── slider.pyi │ │ │ │ ├── switch.py │ │ │ │ ├── switch.pyi │ │ │ │ ├── textarea.py │ │ │ │ └── textarea.pyi │ │ │ ├── layout │ │ │ │ ├── __init__.py │ │ │ │ ├── aspect_ratio.py │ │ │ │ ├── aspect_ratio.pyi │ │ │ │ ├── box.py │ │ │ │ ├── box.pyi │ │ │ │ ├── card.py │ │ │ │ ├── card.pyi │ │ │ │ ├── center.py │ │ │ │ ├── center.pyi │ │ │ │ ├── container.py │ │ │ │ ├── container.pyi │ │ │ │ ├── flex.py │ │ │ │ ├── flex.pyi │ │ │ │ ├── grid.py │ │ │ │ ├── grid.pyi │ │ │ │ ├── html.py │ │ │ │ ├── html.pyi │ │ │ │ ├── spacer.py │ │ │ │ ├── spacer.pyi │ │ │ │ ├── stack.py │ │ │ │ ├── stack.pyi │ │ │ │ ├── wrap.py │ │ │ │ └── wrap.pyi │ │ │ ├── media │ │ │ │ ├── __init__.py │ │ │ │ ├── avatar.py │ │ │ │ ├── avatar.pyi │ │ │ │ ├── icon.py │ │ │ │ ├── icon.pyi │ │ │ │ ├── image.py │ │ │ │ └── image.pyi │ │ │ ├── navigation │ │ │ │ ├── __init__.py │ │ │ │ ├── breadcrumb.py │ │ │ │ ├── breadcrumb.pyi │ │ │ │ ├── link.py │ │ │ │ ├── link.pyi │ │ │ │ ├── linkoverlay.py │ │ │ │ ├── linkoverlay.pyi │ │ │ │ ├── stepper.py │ │ │ │ └── stepper.pyi │ │ │ ├── overlay │ │ │ │ ├── __init__.py │ │ │ │ ├── alertdialog.py │ │ │ │ ├── alertdialog.pyi │ │ │ │ ├── drawer.py │ │ │ │ ├── drawer.pyi │ │ │ │ ├── menu.py │ │ │ │ ├── menu.pyi │ │ │ │ ├── modal.py │ │ │ │ ├── modal.pyi │ │ │ │ ├── popover.py │ │ │ │ ├── popover.pyi │ │ │ │ ├── tooltip.py │ │ │ │ └── tooltip.pyi │ │ │ └── typography │ │ │ │ ├── __init__.py │ │ │ │ ├── header.py │ │ │ │ ├── header.pyi │ │ │ │ ├── heading.py │ │ │ │ ├── heading.pyi │ │ │ │ ├── highlight.py │ │ │ │ ├── highlight.pyi │ │ │ │ ├── span.py │ │ │ │ ├── span.pyi │ │ │ │ ├── subheader.py │ │ │ │ ├── subheader.pyi │ │ │ │ ├── text.py │ │ │ │ ├── text.pyi │ │ │ │ ├── title.py │ │ │ │ └── title.pyi │ │ ├── component.py │ │ ├── core │ │ │ ├── __init__.py │ │ │ ├── banner.py │ │ │ ├── banner.pyi │ │ │ ├── client_side_routing.py │ │ │ ├── client_side_routing.pyi │ │ │ ├── cond.py │ │ │ ├── debounce.py │ │ │ ├── debounce.pyi │ │ │ ├── foreach.py │ │ │ ├── layout │ │ │ │ ├── __init__.py │ │ │ │ ├── center.py │ │ │ │ ├── center.pyi │ │ │ │ ├── spacer.py │ │ │ │ ├── spacer.pyi │ │ │ │ ├── stack.py │ │ │ │ └── stack.pyi │ │ │ ├── match.py │ │ │ ├── responsive.py │ │ │ ├── upload.py │ │ │ └── upload.pyi │ │ ├── el │ │ │ ├── __init__.py │ │ │ ├── constants │ │ │ │ ├── __init__.py │ │ │ │ ├── html.py │ │ │ │ ├── nextpy.py │ │ │ │ └── react.py │ │ │ ├── element.py │ │ │ ├── element.pyi │ │ │ ├── elements │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── base.pyi │ │ │ │ ├── forms.py │ │ │ │ ├── forms.pyi │ │ │ │ ├── inline.py │ │ │ │ ├── inline.pyi │ │ │ │ ├── media.py │ │ │ │ ├── media.pyi │ │ │ │ ├── metadata.py │ │ │ │ ├── metadata.pyi │ │ │ │ ├── other.py │ │ │ │ ├── other.pyi │ │ │ │ ├── scripts.py │ │ │ │ ├── scripts.pyi │ │ │ │ ├── sectioning.py │ │ │ │ ├── sectioning.pyi │ │ │ │ ├── tables.py │ │ │ │ ├── tables.pyi │ │ │ │ ├── typography.py │ │ │ │ └── typography.pyi │ │ │ └── precompile.py │ │ ├── flow │ │ │ ├── __init__.py │ │ │ └── flow.py │ │ ├── framer │ │ │ ├── __init__.py │ │ │ └── motion │ │ │ │ ├── __init__.py │ │ │ │ └── motion.py │ │ ├── glide_datagrid │ │ │ ├── __init__.py │ │ │ ├── dataeditor.py │ │ │ └── dataeditor.pyi │ │ ├── gridjs │ │ │ ├── __init__.py │ │ │ ├── dataframe.py │ │ │ ├── dataframe.pyi │ │ │ ├── datatable.py │ │ │ └── datatable.pyi │ │ ├── latex │ │ │ ├── __init__.py │ │ │ └── latex.py │ │ ├── leaflet │ │ │ ├── __init__.py │ │ │ └── leaflet.py │ │ ├── literals.py │ │ ├── markdown │ │ │ ├── __init__.py │ │ │ ├── markdown.py │ │ │ └── markdown.pyi │ │ ├── media │ │ │ ├── __init__.py │ │ │ └── icon.py │ │ ├── moment │ │ │ ├── __init__.py │ │ │ ├── moment.py │ │ │ └── moment.pyi │ │ ├── next │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── base.pyi │ │ │ ├── image.py │ │ │ ├── image.pyi │ │ │ ├── link.py │ │ │ ├── link.pyi │ │ │ ├── video.py │ │ │ └── video.pyi │ │ ├── plotly │ │ │ ├── __init__.py │ │ │ ├── plotly.py │ │ │ └── plotly.pyi │ │ ├── proxy │ │ │ ├── __init__.py │ │ │ ├── animation.py │ │ │ └── unstyled.py │ │ ├── radix │ │ │ ├── __init__.py │ │ │ ├── primitives │ │ │ │ ├── __init__.py │ │ │ │ ├── accordion.py │ │ │ │ ├── accordion.pyi │ │ │ │ ├── base.py │ │ │ │ ├── base.pyi │ │ │ │ ├── form.py │ │ │ │ ├── form.pyi │ │ │ │ ├── progress.py │ │ │ │ ├── progress.pyi │ │ │ │ ├── slider.py │ │ │ │ └── slider.pyi │ │ │ └── themes │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── base.pyi │ │ │ │ ├── components │ │ │ │ ├── __init__.py │ │ │ │ ├── alertdialog.py │ │ │ │ ├── alertdialog.pyi │ │ │ │ ├── aspectratio.py │ │ │ │ ├── aspectratio.pyi │ │ │ │ ├── avatar.py │ │ │ │ ├── avatar.pyi │ │ │ │ ├── badge.py │ │ │ │ ├── badge.pyi │ │ │ │ ├── button.py │ │ │ │ ├── button.pyi │ │ │ │ ├── callout.py │ │ │ │ ├── callout.pyi │ │ │ │ ├── card.py │ │ │ │ ├── card.pyi │ │ │ │ ├── checkbox.py │ │ │ │ ├── checkbox.pyi │ │ │ │ ├── contextmenu.py │ │ │ │ ├── contextmenu.pyi │ │ │ │ ├── dialog.py │ │ │ │ ├── dialog.pyi │ │ │ │ ├── dropdownmenu.py │ │ │ │ ├── dropdownmenu.pyi │ │ │ │ ├── hovercard.py │ │ │ │ ├── hovercard.pyi │ │ │ │ ├── iconbutton.py │ │ │ │ ├── iconbutton.pyi │ │ │ │ ├── icons.py │ │ │ │ ├── icons.pyi │ │ │ │ ├── inset.py │ │ │ │ ├── inset.pyi │ │ │ │ ├── popover.py │ │ │ │ ├── popover.pyi │ │ │ │ ├── radiogroup.py │ │ │ │ ├── radiogroup.pyi │ │ │ │ ├── scrollarea.py │ │ │ │ ├── scrollarea.pyi │ │ │ │ ├── select.py │ │ │ │ ├── select.pyi │ │ │ │ ├── separator.py │ │ │ │ ├── separator.pyi │ │ │ │ ├── slider.py │ │ │ │ ├── slider.pyi │ │ │ │ ├── switch.py │ │ │ │ ├── switch.pyi │ │ │ │ ├── table.py │ │ │ │ ├── table.pyi │ │ │ │ ├── tabs.py │ │ │ │ ├── tabs.pyi │ │ │ │ ├── textarea.py │ │ │ │ ├── textarea.pyi │ │ │ │ ├── textfield.py │ │ │ │ ├── textfield.pyi │ │ │ │ ├── tooltip.py │ │ │ │ └── tooltip.pyi │ │ │ │ ├── layout │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── base.pyi │ │ │ │ ├── box.py │ │ │ │ ├── box.pyi │ │ │ │ ├── container.py │ │ │ │ ├── container.pyi │ │ │ │ ├── flex.py │ │ │ │ ├── flex.pyi │ │ │ │ ├── grid.py │ │ │ │ ├── grid.pyi │ │ │ │ ├── section.py │ │ │ │ └── section.pyi │ │ │ │ ├── typography.py │ │ │ │ └── typography │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── blockquote.py │ │ │ │ ├── blockquote.pyi │ │ │ │ ├── code.py │ │ │ │ ├── code.pyi │ │ │ │ ├── em.py │ │ │ │ ├── em.pyi │ │ │ │ ├── heading.py │ │ │ │ ├── heading.pyi │ │ │ │ ├── kbd.py │ │ │ │ ├── kbd.pyi │ │ │ │ ├── link.py │ │ │ │ ├── link.pyi │ │ │ │ ├── quote.py │ │ │ │ ├── quote.pyi │ │ │ │ ├── strong.py │ │ │ │ ├── strong.pyi │ │ │ │ ├── text.py │ │ │ │ └── text.pyi │ │ ├── react_player │ │ │ ├── __init__.py │ │ │ ├── audio.py │ │ │ ├── audio.pyi │ │ │ ├── react_player.py │ │ │ ├── react_player.pyi │ │ │ ├── video.py │ │ │ └── video.pyi │ │ ├── recharts │ │ │ ├── __init__.py │ │ │ ├── cartesian.py │ │ │ ├── cartesian.pyi │ │ │ ├── charts.py │ │ │ ├── charts.pyi │ │ │ ├── general.py │ │ │ ├── general.pyi │ │ │ ├── polar.py │ │ │ ├── polar.pyi │ │ │ ├── recharts.py │ │ │ └── recharts.pyi │ │ ├── suneditor │ │ │ ├── __init__.py │ │ │ ├── editor.py │ │ │ └── editor.pyi │ │ └── tags │ │ │ ├── __init__.py │ │ │ ├── cond_tag.py │ │ │ ├── iter_tag.py │ │ │ ├── match_tag.py │ │ │ ├── tag.py │ │ │ └── tagless.py │ │ ├── imports.py │ │ ├── page.py │ │ ├── page.pyi │ │ └── style.py ├── tester │ ├── __init__.py │ ├── component_parameter.py │ └── xt_attribute_checker.py └── utils │ ├── __init__.py │ ├── console.py │ ├── data_ops.py │ ├── exceptions.py │ ├── export.py │ ├── format.py │ ├── logger.py │ ├── path_ops.py │ ├── serializers.py │ ├── singleton.py │ ├── telemetry.py │ └── types.py ├── notices ├── poetry.lock ├── pyproject.toml ├── scripts ├── benchmarks.sh ├── darglint_test.bat ├── integration.sh ├── pyi_generator.py ├── remove_pycache_and_empty_dirs.py └── wait_for_listening_port.py ├── test ├── audio_sample.mp3 ├── chat_element_test.ipynb ├── container1_test.ipynb ├── container_test.ipynb ├── data.ipynb ├── hello.css ├── input_widget_test.ipynb ├── media_test.ipynb ├── state_test.ipynb ├── typography_test.ipynb └── video_sample.mp4 └── tests ├── .gitignore ├── README.md ├── __init__.py ├── assets ├── github.svg ├── gradient_underline.svg ├── icon.svg ├── logo_darkmode.svg ├── paneleft.svg └── text_logo_darkmode.svg ├── backend └── module │ └── mail │ ├── test_email_module.py │ └── test_template.html ├── compiler ├── __init__.py └── test_compiler.py ├── components ├── __init__.py ├── animation │ ├── __init__.py │ └── test_framer-motion.py ├── base │ ├── test_bare.py │ └── test_script.py ├── datadisplay │ ├── __init__.py │ ├── conftest.py │ ├── test_code.py │ ├── test_datatable.py │ └── test_table.py ├── forms │ ├── __init__.py │ ├── test_debounce.py │ ├── test_form.py │ └── test_uploads.py ├── graphing │ ├── __init__.py │ └── test_plotly.py ├── layout │ ├── __init__.py │ ├── test_cond.py │ ├── test_foreach.py │ └── test_match.py ├── media │ ├── __init__.py │ ├── test_icon.py │ └── test_image.py ├── test_component.py ├── test_tag.py └── typography │ ├── __init__.py │ └── test_markdown.py ├── conftest.py ├── db └── test_jsondb.py ├── middleware ├── __init__.py ├── conftest.py └── test_hydrate_middleware.py ├── requirements.txt ├── states ├── __init__.py ├── mutation.py └── upload.py ├── test_app.py ├── test_base.py ├── test_cli.py ├── test_config.py ├── test_db_config.py ├── test_event.py ├── test_imports.py ├── test_model.py ├── test_prerequisites.py ├── test_route.py ├── test_state.py ├── test_style.py ├── test_telemetry.py ├── test_testing.py ├── test_var.py ├── utils ├── __init__.py ├── test_format.py ├── test_hosting.py ├── test_logger.py ├── test_serializers.py └── test_utils.py └── xtconfig.py / .devcontainer/devcontainer.json: -------------------------------------------------------------------------------- 1 | { 2 | "image": "mcr.microsoft.com/devcontainers/python:1-3.11-bookworm", 3 | "postCreateCommand": "/bin/bash -c 'python -m pip install poetry && python -m poetry install & git clone https://github.com/dot-agent/nextpy-examples; wait'", 4 | "forwardPorts": [3000, 8000], 5 | "portsAttributes": { 6 | "3000": { 7 | "label": "Frontend", 8 | "onAutoForward": "notify" 9 | }, 10 | "8000": { 11 | "label": "Backend" 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | **/.DS_Store 2 | **/*.pyc 3 | dist/* 4 | examples/ 5 | myapp/* 6 | .idea 7 | .vscode 8 | .coverage 9 | .coverage.* 10 | venv 11 | *my_app_name* 12 | .pytest_cache 13 | .ruff_cache 14 | .chat 15 | playground/ 16 | my_app 17 | poetry.lock.bkup 18 | pyproject.toml.bkup 19 | node_modules 20 | package-lock.json 21 | package.json 22 | report.html 23 | prof 24 | dist 25 | test.py 26 | requirements.txt 27 | users.json 28 | users.json.lock 29 | test.py 30 | nextpy.log 31 | 32 | -------------------------------------------------------------------------------- /ai-notebooks/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/ai-notebooks/.gitignore -------------------------------------------------------------------------------- /ai-notebooks/autoscrum/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """This module implements the AutoScrum CLI tool.""" 5 | 6 | __version__ = "0.3.0" 7 | 8 | from .autoscrum import AutoScrum 9 | 10 | -------------------------------------------------------------------------------- /ai-notebooks/giftshop/run.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from app import app 5 | 6 | if __name__ == '__main__': 7 | app.run(debug=False) # Set to False for production 8 | -------------------------------------------------------------------------------- /ai-notebooks/prd_agent/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /ai-notebooks/prd_agent/actions.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /ai-notebooks/prd_agent/prompts/prompt.hbs: -------------------------------------------------------------------------------- 1 | 2 | {{#system~}} 3 | You are a brilliant Product Manager whose job is to create product requirement documents as per the given format. 4 | {{~/system}} 5 | 6 | {{#user~}} 7 | Your goal is to: {{goal}} 8 | 9 | {{prompt_template}} 10 | {{~/user}} 11 | 12 | {{#assistant~}} 13 | {{gen 'response' max_tokens=2000}} 14 | {{~/assistant}} -------------------------------------------------------------------------------- /ai-notebooks/salesGPT/Readme.md: -------------------------------------------------------------------------------- 1 | This is work in progress. Creating modular open.agent version of the SalesGPT repo 2 | source: https://github.com/filip-michalsky/SalesGPT 3 | -------------------------------------------------------------------------------- /ai-notebooks/salesGPT/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /app-examples/center-aligned-portfolio/.gitignore: -------------------------------------------------------------------------------- 1 | *.db 2 | 3 | *.py[cod] 4 | 5 | *.web 6 | 7 | __pycache__/ -------------------------------------------------------------------------------- /app-examples/center-aligned-portfolio/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/center-aligned-portfolio/README.md -------------------------------------------------------------------------------- /app-examples/center-aligned-portfolio/assets/girl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/center-aligned-portfolio/assets/girl.png -------------------------------------------------------------------------------- /app-examples/center-aligned-portfolio/assets/quotes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/center-aligned-portfolio/assets/quotes.png -------------------------------------------------------------------------------- /app-examples/center-aligned-portfolio/assets/semicircle.svg: -------------------------------------------------------------------------------- 1 | Combined Shape -------------------------------------------------------------------------------- /app-examples/center-aligned-portfolio/portfolio/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Base template for Nextpy.""" 5 | -------------------------------------------------------------------------------- /app-examples/center-aligned-portfolio/portfolio/state.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Base state for the app.""" 5 | 6 | import nextpy as xt 7 | 8 | 9 | class State(xt.State): 10 | """Base state for the app. 11 | 12 | The base state is used to store general vars used throughout the app. 13 | """ 14 | 15 | pass 16 | -------------------------------------------------------------------------------- /app-examples/center-aligned-portfolio/requirements.txt: -------------------------------------------------------------------------------- 1 | 2 | nextpy==0.3.1 3 | -------------------------------------------------------------------------------- /app-examples/center-aligned-portfolio/xtconfig.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | import nextpy as xt 5 | 6 | config = xt.Config( 7 | app_name="portfolio", 8 | tailwind={ 9 | "plugins": ["@tailwindcss/typography"], 10 | }, 11 | ) -------------------------------------------------------------------------------- /app-examples/charting-examples/.gitignore: -------------------------------------------------------------------------------- 1 | *.db 2 | *.py[cod] 3 | .web 4 | __pycache__/ -------------------------------------------------------------------------------- /app-examples/charting-examples/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/charting-examples/assets/favicon.ico -------------------------------------------------------------------------------- /app-examples/charting-examples/xtconfig.py: -------------------------------------------------------------------------------- 1 | import nextpy as xt 2 | 3 | config = xt.Config( 4 | app_name="charting_examples", 5 | ) -------------------------------------------------------------------------------- /app-examples/dalle/.gitignore: -------------------------------------------------------------------------------- 1 | *.db 2 | 3 | *.py[cod] 4 | 5 | *.web 6 | 7 | __pycache__/ 8 | 9 | nextpy.db -------------------------------------------------------------------------------- /app-examples/dalle/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/dalle/assets/favicon.ico -------------------------------------------------------------------------------- /app-examples/dalle/dalle screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/dalle/dalle screenshot.png -------------------------------------------------------------------------------- /app-examples/dalle/dalle/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /app-examples/dalle/requirements.txt: -------------------------------------------------------------------------------- 1 | nextpy>=0.2.1 2 | openai>=1 3 | -------------------------------------------------------------------------------- /app-examples/dalle/xtconfig.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | import nextpy as xt 5 | 6 | 7 | class DalleConfig(xt.Config): 8 | pass 9 | 10 | config = DalleConfig( 11 | app_name="dalle", 12 | db_url="sqlite:///nextpy.db", 13 | env=xt.Env.DEV, 14 | ) 15 | -------------------------------------------------------------------------------- /app-examples/gallery/.gitignore: -------------------------------------------------------------------------------- 1 | *.db 2 | 3 | *.py[cod] 4 | 5 | *.web 6 | 7 | __pycache__/ -------------------------------------------------------------------------------- /app-examples/gallery/assets/download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/gallery/assets/download.png -------------------------------------------------------------------------------- /app-examples/gallery/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/gallery/assets/favicon.ico -------------------------------------------------------------------------------- /app-examples/gallery/gallery/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /app-examples/gallery/gallery/styles/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from .styles import * 5 | from .colors import * 6 | from .fonts import * -------------------------------------------------------------------------------- /app-examples/gallery/gallery/styles/fonts.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | font_weights = { 5 | "bold": "800", 6 | "heading": "700", 7 | "subheading": "600", 8 | "section": "600", 9 | } -------------------------------------------------------------------------------- /app-examples/gallery/gallery/templates/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from .template import template 5 | -------------------------------------------------------------------------------- /app-examples/gallery/requirements.txt: -------------------------------------------------------------------------------- 1 | 2 | nextpy>=0.2.5 3 | -------------------------------------------------------------------------------- /app-examples/gallery/xtconfig.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | import nextpy as xt 5 | 6 | config = xt.Config( 7 | app_name="gallery" 8 | ) -------------------------------------------------------------------------------- /app-examples/gridx_portfolio/.gitignore: -------------------------------------------------------------------------------- 1 | *.db 2 | *.py[cod] 3 | *.web 4 | .web 5 | __pycache__/ -------------------------------------------------------------------------------- /app-examples/gridx_portfolio/assets/camera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/gridx_portfolio/assets/camera.png -------------------------------------------------------------------------------- /app-examples/gridx_portfolio/assets/color-filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/gridx_portfolio/assets/color-filter.png -------------------------------------------------------------------------------- /app-examples/gridx_portfolio/assets/design-pencil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/gridx_portfolio/assets/design-pencil.png -------------------------------------------------------------------------------- /app-examples/gridx_portfolio/assets/dev-mode-phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/gridx_portfolio/assets/dev-mode-phone.png -------------------------------------------------------------------------------- /app-examples/gridx_portfolio/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/gridx_portfolio/assets/favicon.ico -------------------------------------------------------------------------------- /app-examples/gridx_portfolio/assets/gfonts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/gridx_portfolio/assets/gfonts.png -------------------------------------------------------------------------------- /app-examples/gridx_portfolio/assets/icon2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/gridx_portfolio/assets/icon2.png -------------------------------------------------------------------------------- /app-examples/gridx_portfolio/assets/me.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/gridx_portfolio/assets/me.png -------------------------------------------------------------------------------- /app-examples/gridx_portfolio/assets/my-works.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/gridx_portfolio/assets/my-works.png -------------------------------------------------------------------------------- /app-examples/gridx_portfolio/assets/sign.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/gridx_portfolio/assets/sign.png -------------------------------------------------------------------------------- /app-examples/gridx_portfolio/assets/social.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/gridx_portfolio/assets/social.png -------------------------------------------------------------------------------- /app-examples/gridx_portfolio/gridx app screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/gridx_portfolio/gridx app screenshot.png -------------------------------------------------------------------------------- /app-examples/gridx_portfolio/gridx_portfolio/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /app-examples/gridx_portfolio/requirements.txt: -------------------------------------------------------------------------------- 1 | 2 | nextpy>=0.2.51 3 | -------------------------------------------------------------------------------- /app-examples/gridx_portfolio/xtconfig.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | import nextpy as xt 5 | 6 | config = xt.Config( 7 | app_name="gridx_portfolio", 8 | tailwind={ 9 | "theme": { 10 | "extend": {}, 11 | }, 12 | "plugins": ["@tailwindcss/typography"], 13 | }, 14 | ) -------------------------------------------------------------------------------- /app-examples/llm_eval_plotly/.gitignore: -------------------------------------------------------------------------------- 1 | *.db 2 | *.py[cod] 3 | .web 4 | __pycache__/ -------------------------------------------------------------------------------- /app-examples/llm_eval_plotly/assets/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/llm_eval_plotly/assets/arrow.png -------------------------------------------------------------------------------- /app-examples/llm_eval_plotly/assets/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/llm_eval_plotly/assets/close.png -------------------------------------------------------------------------------- /app-examples/llm_eval_plotly/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/llm_eval_plotly/assets/favicon.ico -------------------------------------------------------------------------------- /app-examples/llm_eval_plotly/llm_eval_plotly/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /app-examples/llm_eval_plotly/llm_eval_plotly/components/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from .drawer import drawer_sidebar, DrawerState -------------------------------------------------------------------------------- /app-examples/llm_eval_plotly/llm_eval_plotly/data/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /app-examples/llm_eval_plotly/requirements.txt: -------------------------------------------------------------------------------- 1 | 2 | nextpy>=0.2.51 3 | -------------------------------------------------------------------------------- /app-examples/llm_eval_plotly/xtconfig.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | import nextpy as xt 5 | 6 | config = xt.Config( 7 | app_name="llm_eval_plotly", 8 | ) -------------------------------------------------------------------------------- /app-examples/mapping/.gitignore: -------------------------------------------------------------------------------- 1 | *.db 2 | *.py[cod] 3 | .web 4 | __pycache__/ -------------------------------------------------------------------------------- /app-examples/mapping/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/mapping/assets/favicon.ico -------------------------------------------------------------------------------- /app-examples/mapping/assets/gradient_underline.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app-examples/mapping/mapping/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /app-examples/mapping/xtconfig.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | import nextpy as xt 5 | 6 | config = xt.Config( 7 | app_name="mapping", 8 | frontend_packages=["react-leaflet", "leaflet", "react-leaflet-google-layer"] 9 | ) -------------------------------------------------------------------------------- /app-examples/nextpy-chat/.gitignore: -------------------------------------------------------------------------------- 1 | *.db 2 | *.py[cod] 3 | .env 4 | .env/* 5 | .web 6 | .web/* 7 | __pycache__/ -------------------------------------------------------------------------------- /app-examples/nextpy-chat/assets/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/nextpy-chat/assets/avatar.png -------------------------------------------------------------------------------- /app-examples/nextpy-chat/assets/avatar_smile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/nextpy-chat/assets/avatar_smile.png -------------------------------------------------------------------------------- /app-examples/nextpy-chat/assets/dislike.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/nextpy-chat/assets/dislike.png -------------------------------------------------------------------------------- /app-examples/nextpy-chat/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/nextpy-chat/assets/favicon.ico -------------------------------------------------------------------------------- /app-examples/nextpy-chat/assets/interview_prep.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/nextpy-chat/assets/interview_prep.png -------------------------------------------------------------------------------- /app-examples/nextpy-chat/assets/like.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/nextpy-chat/assets/like.png -------------------------------------------------------------------------------- /app-examples/nextpy-chat/assets/listen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/nextpy-chat/assets/listen.png -------------------------------------------------------------------------------- /app-examples/nextpy-chat/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/nextpy-chat/assets/logo.png -------------------------------------------------------------------------------- /app-examples/nextpy-chat/assets/mike.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/nextpy-chat/assets/mike.png -------------------------------------------------------------------------------- /app-examples/nextpy-chat/nextpy_chat/State/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from . import interview 5 | from . import main 6 | from . import state -------------------------------------------------------------------------------- /app-examples/nextpy-chat/nextpy_chat/State/state.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | import nextpy as xt 5 | 6 | class QA(xt.Base): 7 | """A question and answer pair.""" 8 | question: str 9 | answer: str 10 | like_bg: str = 'white' 11 | dislike_bg: str = 'white' 12 | index: int 13 | 14 | 15 | class State(xt.State): 16 | pass 17 | -------------------------------------------------------------------------------- /app-examples/nextpy-chat/nextpy_chat/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Base template for Nextpy.""" 5 | -------------------------------------------------------------------------------- /app-examples/nextpy-chat/nextpy_chat/components/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from .loading_icon import loading_icon 5 | from .navbar import navbar 6 | from .modal import modal 7 | from .sidebar import sidebar -------------------------------------------------------------------------------- /app-examples/nextpy-chat/nextpy_chat/components/interview/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from .navbar import navbar -------------------------------------------------------------------------------- /app-examples/nextpy-chat/nextpy_chat/pages/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from .interview_prep import interview_prep -------------------------------------------------------------------------------- /app-examples/nextpy-chat/nextpy_chat/templates/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from .template import template 5 | -------------------------------------------------------------------------------- /app-examples/nextpy-chat/requirements.txt: -------------------------------------------------------------------------------- 1 | python-dotenv==1.0.0 2 | nextpy 3 | openai 4 | SpeechRecognition ==3.10.0 -------------------------------------------------------------------------------- /app-examples/nextpy-chat/xtconfig.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | import nextpy as xt 5 | 6 | config = xt.Config( 7 | app_name="nextpy_chat", 8 | tailwind={ 9 | "content": ["./pages/**/*.{js,ts,jsx,tsx}"], 10 | "plugins": ["@tailwindcss/typography"], 11 | }, 12 | ) -------------------------------------------------------------------------------- /app-examples/portfolio/.gitignore: -------------------------------------------------------------------------------- 1 | *.db 2 | *.py[cod] 3 | *.web 4 | .web 5 | __pycache__/ -------------------------------------------------------------------------------- /app-examples/portfolio/assets/abstract.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/portfolio/assets/abstract.jpg -------------------------------------------------------------------------------- /app-examples/portfolio/assets/book.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/portfolio/assets/book.jpg -------------------------------------------------------------------------------- /app-examples/portfolio/assets/book2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/portfolio/assets/book2.jpg -------------------------------------------------------------------------------- /app-examples/portfolio/assets/book3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/portfolio/assets/book3.jpg -------------------------------------------------------------------------------- /app-examples/portfolio/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/portfolio/assets/favicon.ico -------------------------------------------------------------------------------- /app-examples/portfolio/assets/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/portfolio/assets/image.png -------------------------------------------------------------------------------- /app-examples/portfolio/assets/isalah.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/portfolio/assets/isalah.jpg -------------------------------------------------------------------------------- /app-examples/portfolio/assets/magzine.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/portfolio/assets/magzine.jpg -------------------------------------------------------------------------------- /app-examples/portfolio/portfolio/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/portfolio/portfolio/__init__.py -------------------------------------------------------------------------------- /app-examples/portfolio/portfolio/components/navbar.py: -------------------------------------------------------------------------------- 1 | import nextpy as xt 2 | 3 | def navbar(): 4 | return xt.box( 5 | xt.text( 6 | "Logo", 7 | ), 8 | xt.box( 9 | xt.text("About", cursor="pointer"), 10 | xt.text("Work", cursor="pointer"), 11 | xt.text("Contact", cursor="pointer"), 12 | class_name="flex items-center gap-5 ", 13 | ), 14 | class_name="flex items-center justify-between mt-5 mx-5 md:mx-10", 15 | ) -------------------------------------------------------------------------------- /app-examples/portfolio/portfolio/styles.py: -------------------------------------------------------------------------------- 1 | import nextpy as xt 2 | 3 | 4 | base_style = { 5 | xt.Text: { 6 | "font_family": "Epilogue", 7 | }, 8 | xt.Button: { 9 | "bg": "#2D2D2D", 10 | "color": "white", 11 | "width": "30%", 12 | "border_radius": None, 13 | "_hover": { 14 | "bg": "#2D2D2D", 15 | }, 16 | }, 17 | xt.Input: { 18 | "_placeholder": {"color": "#2D2D2D"}, 19 | "bg": "#F3F3F3", 20 | "border_radius": None, 21 | "height": "3rem", 22 | }, 23 | } 24 | -------------------------------------------------------------------------------- /app-examples/portfolio/xtconfig.py: -------------------------------------------------------------------------------- 1 | import nextpy as xt 2 | 3 | config = xt.Config( 4 | app_name="portfolio", 5 | ) -------------------------------------------------------------------------------- /app-examples/rest_api_server/.gitignore: -------------------------------------------------------------------------------- 1 | *.db 2 | *.py[cod] 3 | .web 4 | __pycache__/ -------------------------------------------------------------------------------- /app-examples/rest_api_server/rest_api_server/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/rest_api_server/rest_api_server/__init__.py -------------------------------------------------------------------------------- /app-examples/rest_api_server/rest_api_server/rest_api_server.py: -------------------------------------------------------------------------------- 1 | import nextpy as xt 2 | 3 | app = xt.App() 4 | 5 | @app.api.post("/greet") 6 | async def greet(name: str): 7 | return {"message": f"Hello, {name}"} 8 | -------------------------------------------------------------------------------- /app-examples/rest_api_server/xtconfig.py: -------------------------------------------------------------------------------- 1 | import nextpy as xt 2 | 3 | config = xt.Config( 4 | app_name="rest_api_server", 5 | ) -------------------------------------------------------------------------------- /app-examples/simple_animation/.gitignore: -------------------------------------------------------------------------------- 1 | *.db 2 | *.py[cod] 3 | .web 4 | __pycache__/ -------------------------------------------------------------------------------- /app-examples/simple_animation/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/simple_animation/assets/favicon.ico -------------------------------------------------------------------------------- /app-examples/simple_animation/assets/gradient_underline.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app-examples/simple_animation/simple_animation/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /app-examples/simple_animation/xtconfig.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | import nextpy as xt 5 | 6 | config = xt.Config( 7 | app_name="simple_animation", 8 | ) -------------------------------------------------------------------------------- /app-examples/simple_chat/.gitignore: -------------------------------------------------------------------------------- 1 | *.db 2 | 3 | *.py[cod] 4 | 5 | *.web 6 | 7 | __pycache__/ -------------------------------------------------------------------------------- /app-examples/simple_chat/assets/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/simple_chat/assets/avatar.png -------------------------------------------------------------------------------- /app-examples/simple_chat/assets/avatar_smile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/simple_chat/assets/avatar_smile.png -------------------------------------------------------------------------------- /app-examples/simple_chat/assets/dislike.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/simple_chat/assets/dislike.png -------------------------------------------------------------------------------- /app-examples/simple_chat/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/simple_chat/assets/favicon.ico -------------------------------------------------------------------------------- /app-examples/simple_chat/assets/interview_prep.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/simple_chat/assets/interview_prep.png -------------------------------------------------------------------------------- /app-examples/simple_chat/assets/like.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/simple_chat/assets/like.png -------------------------------------------------------------------------------- /app-examples/simple_chat/assets/listen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/simple_chat/assets/listen.png -------------------------------------------------------------------------------- /app-examples/simple_chat/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/simple_chat/assets/logo.png -------------------------------------------------------------------------------- /app-examples/simple_chat/assets/mike.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/simple_chat/assets/mike.png -------------------------------------------------------------------------------- /app-examples/simple_chat/requirements.txt: -------------------------------------------------------------------------------- 1 | 2 | nextpy>=0.2.51 3 | -------------------------------------------------------------------------------- /app-examples/simple_chat/simple_chat/State/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from . import main 5 | from . import state -------------------------------------------------------------------------------- /app-examples/simple_chat/simple_chat/State/state.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | import nextpy as xt 5 | 6 | class QA(xt.Base): 7 | """A question and answer pair.""" 8 | question: str 9 | answer: str 10 | like_bg: str = 'white' 11 | dislike_bg: str = 'white' 12 | index: int 13 | 14 | class State(xt.State): 15 | pass 16 | -------------------------------------------------------------------------------- /app-examples/simple_chat/simple_chat/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /app-examples/simple_chat/simple_chat/components/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from .loading_icon import loading_icon 5 | from .navbar import navbar 6 | from .sidebar import sidebar -------------------------------------------------------------------------------- /app-examples/simple_chat/simple_chat/pages/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from .nextpy_gpt import nextpy_gpt -------------------------------------------------------------------------------- /app-examples/simple_chat/simple_chat/templates/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from .template import template -------------------------------------------------------------------------------- /app-examples/simple_chat/xtconfig.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | import nextpy as xt 5 | 6 | config = xt.Config( 7 | app_name="simple_chat", 8 | ) -------------------------------------------------------------------------------- /app-examples/simple_crud/.gitignore: -------------------------------------------------------------------------------- 1 | *.db 2 | *.py[cod] 3 | *.web 4 | .web 5 | __pycache__/ -------------------------------------------------------------------------------- /app-examples/simple_crud/alembic/README: -------------------------------------------------------------------------------- 1 | Generic single-database configuration. -------------------------------------------------------------------------------- /app-examples/simple_crud/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/simple_crud/assets/favicon.ico -------------------------------------------------------------------------------- /app-examples/simple_crud/requirements.txt: -------------------------------------------------------------------------------- 1 | nextpy>=0.2.1 2 | -------------------------------------------------------------------------------- /app-examples/simple_crud/simple crud screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/app-examples/simple_crud/simple crud screenshot.png -------------------------------------------------------------------------------- /app-examples/simple_crud/simple_crud/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Basic CRUD example main package.""" 5 | -------------------------------------------------------------------------------- /app-examples/simple_crud/simple_crud/test.http: -------------------------------------------------------------------------------- 1 | GET http://localhost:8000/products/1 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app-examples/simple_crud/xtconfig.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | import nextpy as xt 5 | 6 | config = xt.Config( 7 | app_name="simple_crud", 8 | ) 9 | -------------------------------------------------------------------------------- /docker-example/.dockerignore: -------------------------------------------------------------------------------- 1 | .web 2 | __pycache__/* -------------------------------------------------------------------------------- /docker-example/Caddy.Dockerfile: -------------------------------------------------------------------------------- 1 | FROM library/caddy 2 | 3 | COPY --from=local/nextpy-app /app/.web/_static /srv 4 | ADD Caddyfile /etc/caddy/Caddyfile -------------------------------------------------------------------------------- /docker-example/Caddyfile: -------------------------------------------------------------------------------- 1 | {$DOMAIN} 2 | 3 | encode gzip 4 | 5 | @backend_routes path /_event/* /_upload /ping 6 | handle @backend_routes { 7 | reverse_proxy app:8000 8 | } 9 | 10 | root * /srv 11 | route { 12 | try_files {path} {path}/ /404.html 13 | file_server 14 | } 15 | -------------------------------------------------------------------------------- /docker-example/compose.yaml: -------------------------------------------------------------------------------- 1 | # During build and run, set environment DOMAIN pointing 2 | # to publicly accessible domain where app will be hosted 3 | services: 4 | app: 5 | image: local/nextpy-app 6 | build: 7 | context: . 8 | args: 9 | API_URL: https://${DOMAIN:-localhost} 10 | 11 | webserver: 12 | environment: 13 | DOMAIN: ${DOMAIN:-localhost} 14 | ports: 15 | - 443:443 16 | - 80:80 # for acme-challenge via HTTP 17 | build: 18 | context: . 19 | dockerfile: Caddy.Dockerfile 20 | depends_on: 21 | - app -------------------------------------------------------------------------------- /docker-example/requirements.txt: -------------------------------------------------------------------------------- 1 | nextpy -------------------------------------------------------------------------------- /docs/references/README.md: -------------------------------------------------------------------------------- 1 | # References 2 | 3 | - [xt.upload](https://github.com/dot-agent/nextpy/blob/main/docs/references/frontend/components/core/upload_reference.md) 4 | 5 | ## Pending Review: 6 | 7 | - References for other components is currently in progress and will be added soon. 8 | 9 | -------------------------------------------------------------------------------- /integration/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Package for integration tests.""" 5 | -------------------------------------------------------------------------------- /integration/init-test/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM python:3.11 2 | 3 | ARG USERNAME=kerrigan 4 | RUN useradd -m $USERNAME 5 | USER $USERNAME 6 | 7 | WORKDIR /home/$USERNAME 8 | -------------------------------------------------------------------------------- /nextpy/__main__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """nextpy package invocation entry point.""" 5 | 6 | from .cli import cli 7 | 8 | if __name__ == "__main__": 9 | cli() 10 | -------------------------------------------------------------------------------- /nextpy/ai/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/agent/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/engine/library/_add.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | def add(*args): 5 | """Add the given variables together.""" 6 | return sum(args) -------------------------------------------------------------------------------- /nextpy/ai/engine/library/_break.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | def break_(): 5 | """Breaks out of the current loop. 6 | 7 | This is useful for breaking out of a geneach loop early, typically this is used 8 | inside an `{{#if ...}}...{{/if}}` block. 9 | """ 10 | raise StopIteration() 11 | -------------------------------------------------------------------------------- /nextpy/ai/engine/library/_contains.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | def contains(string, substring): 5 | ''' Check if a string contains a substring. 6 | ''' 7 | return substring in string -------------------------------------------------------------------------------- /nextpy/ai/engine/library/_equal.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | def equal(*args): 5 | ''' Check that all arguments are equal. 6 | ''' 7 | args[0] 8 | for arg in args[1:]: 9 | if arg != args[0]: 10 | return False 11 | return True -------------------------------------------------------------------------------- /nextpy/ai/engine/library/_greater.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | def greater(arg1, arg2): 5 | ''' Check if arg1 is greater than arg2. 6 | 7 | Note that this can also be called using `>` as well as `greater`. 8 | ''' 9 | 10 | return arg1 > arg2 -------------------------------------------------------------------------------- /nextpy/ai/engine/library/_len.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | import builtins 5 | 6 | def len(value): 7 | ''' Length of the given argument 8 | ''' 9 | return builtins.len(value) -------------------------------------------------------------------------------- /nextpy/ai/engine/library/_less.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | def less(arg1, arg2): 5 | ''' Check if arg1 is less than arg2. 6 | 7 | Note that this can also be called using `<` as well as `less`. 8 | ''' 9 | 10 | return arg1 < arg2 -------------------------------------------------------------------------------- /nextpy/ai/engine/library/_multiply.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | import math 5 | 6 | def multiply(*args): 7 | ''' Multiply the given variables together. 8 | ''' 9 | return math.prod(args) -------------------------------------------------------------------------------- /nextpy/ai/engine/library/_not.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | def not_(value): 5 | ''' Negate the given value. 6 | ''' 7 | return not value -------------------------------------------------------------------------------- /nextpy/ai/engine/library/_notequal.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | def notequal(arg1, arg2): 5 | ''' Check that the arguments are not equal. 6 | ''' 7 | return arg1 != arg2 -------------------------------------------------------------------------------- /nextpy/ai/engine/library/_range.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | import builtins 5 | 6 | def range(*args, **kwargs): 7 | ''' Build a range of numbers. 8 | ''' 9 | return builtins.range(*args, **kwargs) -------------------------------------------------------------------------------- /nextpy/ai/engine/library/_strip.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | def strip(string): 5 | ''' Strip whitespace from the beginning and end of the given string. 6 | 7 | Parameters 8 | ---------- 9 | string : str 10 | The string to strip. 11 | ''' 12 | return string.strip() -------------------------------------------------------------------------------- /nextpy/ai/engine/library/_unless.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from ._if import if_ 5 | 6 | async def unless(value, _parser_context=None): 7 | return await if_(value, invert=True, _parser_context=_parser_context) 8 | unless.is_block = True -------------------------------------------------------------------------------- /nextpy/ai/engine/llms/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from ._openai import OpenAI, MSALOpenAI, AzureOpenAI 5 | from ._transformers import Transformers 6 | from ._mock import Mock 7 | from ._llm import LLM, LLMSession, SyncSession 8 | from ._deep_speed import DeepSpeed 9 | from . import transformers 10 | from . import caches 11 | -------------------------------------------------------------------------------- /nextpy/ai/engine/llms/caches/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from ._cache import BaseCache 5 | from ._diskcache import DiskCache 6 | from ._gptcache import GPTCache 7 | -------------------------------------------------------------------------------- /nextpy/ai/engine/llms/transformers/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from ._llama import LLaMA, LLaMAChat 5 | from ._vicuna import Vicuna 6 | from ._koala import Koala 7 | from ._mpt import MPT, MPTChat 8 | from ._stablelm import StableLMChat 9 | from ._falcon import Falcon, FalconChat -------------------------------------------------------------------------------- /nextpy/ai/models/audio/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/models/audio/speech_to_text/base.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from abc import ABC, abstractmethod 5 | 6 | 7 | class SpeechToText(ABC): 8 | @abstractmethod 9 | def transcribe( 10 | self, audio_bytes, platform="web", prompt="", language="en-US" 11 | ) -> str: 12 | # platform: 'web' | 'mobile' | 'terminal' 13 | pass 14 | -------------------------------------------------------------------------------- /nextpy/ai/models/audio/text_to_speech/base.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from abc import ABC, abstractmethod 5 | 6 | 7 | class TextToSpeech(ABC): 8 | @abstractmethod 9 | async def stream(self, *args, **kwargs): 10 | pass 11 | -------------------------------------------------------------------------------- /nextpy/ai/models/image/_base.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from abc import ABC, abstractmethod 5 | 6 | 7 | class BaseImageModel(ABC): 8 | @abstractmethod 9 | def get_image_model(self): 10 | pass 11 | 12 | @abstractmethod 13 | def generate_image(self, prompt: str, size: int = 512, num: int = 2): 14 | pass 15 | -------------------------------------------------------------------------------- /nextpy/ai/models/llm/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from .llm_client import Azure, OpenAI 5 | -------------------------------------------------------------------------------- /nextpy/ai/prompt_on_the_outside.🖊️: -------------------------------------------------------------------------------- 1 | {{#system~}} 2 | You are a helpful assistant 3 | {{~/system}} 4 | 5 | {{~#geneach 'conversation' stop=False}} 6 | {{#user~}} 7 | {{set 'this.user_text' (await 'user_text') hidden=False}} 8 | {{~/user}} 9 | 10 | {{#assistant~}} 11 | {{gen 'this.ai_text' temperature=0 max_tokens=300}} 12 | {{~/assistant}} 13 | {{~/geneach}} 14 | -------------------------------------------------------------------------------- /nextpy/ai/rag/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/README.md: -------------------------------------------------------------------------------- 1 | You can find the loaders from Llama Hub in this temp directory. Please submit any new or updated loaders to the Llama Hub repository: https://github.com/emptycrown/llama-hub/tree/main 2 | 3 | We are updating our library to use Llama Hub as a dependency, but the api will not change. You can continue to use the loaders apis without any issues. 4 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/add_loader.sh: -------------------------------------------------------------------------------- 1 | mkdir $1; 2 | touch $1/base.py; 3 | touch $1/README.md; 4 | touch $1/__init__.py; 5 | echo "\"\"\"Init file.\"\"\"" > $1/__init__.py; 6 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/airtable/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/airtable/requirements.txt: -------------------------------------------------------------------------------- 1 | pyairtable -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/apify/actor/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/apify/actor/requirements.txt: -------------------------------------------------------------------------------- 1 | apify-client 2 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/apify/dataset/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/apify/dataset/requirements.txt: -------------------------------------------------------------------------------- 1 | apify-client 2 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/asana/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/asana/requirements.txt: -------------------------------------------------------------------------------- 1 | asana 2 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/azcognitive_search/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/azcognitive_search/requirements.txt: -------------------------------------------------------------------------------- 1 | azure-search-documents 2 | azure-identity -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/azstorage_blob/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/azstorage_blob/requirements.txt: -------------------------------------------------------------------------------- 1 | azure-storage-blob 2 | azure-identity -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/bilibili/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/bilibili/requirements.txt: -------------------------------------------------------------------------------- 1 | bilibili_api 2 | requests -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/boarddocs/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/boarddocs/requirements.txt: -------------------------------------------------------------------------------- 1 | bs4 2 | html2text 3 | requests -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/chatgpt_plugin/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/chatgpt_plugin/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/nextpy/ai/rag/document_loaders/chatgpt_plugin/requirements.txt -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/chroma/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/chroma/requirements.txt: -------------------------------------------------------------------------------- 1 | chromadb -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/confluence/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/confluence/requirements.txt: -------------------------------------------------------------------------------- 1 | atlassian-python-api 2 | html2text 3 | pytesseract 4 | pdf2image 5 | Pillow 6 | docx2txt 7 | xlrd 8 | svglib 9 | retrying -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/couchdb/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/couchdb/requirements.txt: -------------------------------------------------------------------------------- 1 | couchdb3 2 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/dad_jokes/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/database/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/deeplake/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init params.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/deeplake/requirements.txt: -------------------------------------------------------------------------------- 1 | deeplake -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/discord/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/discord/requirements.txt: -------------------------------------------------------------------------------- 1 | discord.py -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/docugami/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/docugami/requirements.txt: -------------------------------------------------------------------------------- 1 | lxml 2 | requests 3 | typing -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/elasticsearch/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/elasticsearch/requirements.txt: -------------------------------------------------------------------------------- 1 | httpx -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/faiss/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/faiss/requirements.txt: -------------------------------------------------------------------------------- 1 | faiss -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/feedly_rss/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/feedly_rss/requirements.txt: -------------------------------------------------------------------------------- 1 | feedly-client -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/feishu_docs/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/feishu_docs/requirements.txt: -------------------------------------------------------------------------------- 1 | openams 2 | requests -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/audio/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from llama_hub.file.audio.base import AudioTranscriber 5 | 6 | __all__ = ["AudioTranscriber"] 7 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/audio/requirements.txt: -------------------------------------------------------------------------------- 1 | openai-whisper 2 | pydub -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/audio_gladia/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init params.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/audio_gladia/requirements.txt: -------------------------------------------------------------------------------- 1 | openai-whisper 2 | pydub -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/cjk_pdf/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/cjk_pdf/requirements.txt: -------------------------------------------------------------------------------- 1 | pdfminer.six -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/deepdoctection/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/deepdoctection/requirements.txt: -------------------------------------------------------------------------------- 1 | deepdoctection[pt] 2 | torch -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/docx/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/docx/requirements.txt: -------------------------------------------------------------------------------- 1 | docx2txt -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/epub/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/epub/requirements.txt: -------------------------------------------------------------------------------- 1 | ebooklib 2 | html2text -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/flat_pdf/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/flat_pdf/requirements.txt: -------------------------------------------------------------------------------- 1 | PyMuPDF==1.21.1 -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/image/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/image/requirements.txt: -------------------------------------------------------------------------------- 1 | transformers 2 | Pillow 3 | torch 4 | torchvision 5 | sentencepiece 6 | pytesseract -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/image_blip/README.md: -------------------------------------------------------------------------------- 1 | # Image Loader (Blip) 2 | 3 | This loader captions an image file using Blip. 4 | 5 | ## Usage 6 | 7 | To use this loader, you need to pass in a `Path` to a local file. 8 | 9 | ```python 10 | from pathlib import Path 11 | from nextpy.ai import download_loader 12 | 13 | ImageCaptionReader = download_loader("ImageCaptionReader") 14 | 15 | loader = ImageCaptionReader() 16 | documents = loader.load_data(file=Path('./image.png')) 17 | ``` 18 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/image_blip/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/image_blip/requirements.txt: -------------------------------------------------------------------------------- 1 | torch 2 | transformers 3 | sentencepiece 4 | Pillow 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/image_blip2/README.md: -------------------------------------------------------------------------------- 1 | # Image Loader (Blip2) 2 | 3 | This loader captions an image file using Blip2 (a multimodal VisionLLM similar to GPT4). 4 | 5 | ## Usage 6 | 7 | To use this loader, you need to pass in a `Path` to a local file. 8 | 9 | ```python 10 | from pathlib import Path 11 | from nextpy.ai import download_loader 12 | 13 | ImageVisionLLMReader = download_loader("ImageVisionLLMReader") 14 | 15 | loader = ImageVisionLLMReader() 16 | documents = loader.load_data(file=Path('./image.png')) 17 | ``` 18 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/image_blip2/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/image_blip2/requirements.txt: -------------------------------------------------------------------------------- 1 | torch 2 | transformers 3 | sentencepiece 4 | Pillow 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/image_deplot/README.md: -------------------------------------------------------------------------------- 1 | # Image Tabular Chart Loader (Deplot) 2 | 3 | This loader captions an image file containing a tabular chart (bar chart, line charts) using deplot. 4 | 5 | ## Usage 6 | 7 | To use this loader, you need to pass in a `Path` to a local file. 8 | 9 | ```python 10 | from pathlib import Path 11 | from llama_hub.file.image_deplot.base import ImageTabularChartReader 12 | 13 | loader = ImageTabularChartReader() 14 | documents = loader.load_data(file=Path('./image.png')) 15 | ``` 16 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/image_deplot/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/image_deplot/requirements.txt: -------------------------------------------------------------------------------- 1 | torch 2 | transformers 3 | sentencepiece 4 | Pillow 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/ipynb/README.md: -------------------------------------------------------------------------------- 1 | # IPynb Loader 2 | 3 | This loader extracts text from `.ipynb` (jupyter notebook) files. 4 | 5 | ## Usage 6 | 7 | To use this loader, you need to pass in a `Path` to a local file. 8 | 9 | ```python 10 | from pathlib import Path 11 | from nextpy.ai import download_loader 12 | 13 | IPYNBReader = download_loader("IPYNBReader") 14 | 15 | # specify concatenate to determine whether to concat cells into one DocumentNode 16 | loader = IPYNBReader(concatenate=True) 17 | documents = loader.load_data(file=Path('./image.png')) 18 | ``` 19 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/ipynb/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/ipynb/requirements.txt: -------------------------------------------------------------------------------- 1 | nbconvert -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/json/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/json/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/nextpy/ai/rag/document_loaders/file/json/requirements.txt -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/markdown/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/mbox/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/mbox/requirements.txt: -------------------------------------------------------------------------------- 1 | beautifulsoup4 -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/paged_csv/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/pandas_csv/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/pandas_csv/requirements.txt: -------------------------------------------------------------------------------- 1 | pandas -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/pandas_excel/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/pandas_excel/requirements.txt: -------------------------------------------------------------------------------- 1 | pandas -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/pdf/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/pdf/requirements.txt: -------------------------------------------------------------------------------- 1 | pypdf 2 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/pdf_miner/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/pdf_miner/requirements.txt: -------------------------------------------------------------------------------- 1 | pdfminer.six 2 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/pptx/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/pptx/requirements.txt: -------------------------------------------------------------------------------- 1 | transformers 2 | Pillow 3 | torch 4 | torchvision 5 | python-pptx -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/pymu_pdf/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/pymu_pdf/requirements.txt: -------------------------------------------------------------------------------- 1 | PyMuPDF -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/rdf/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/rdf/requirements.txt: -------------------------------------------------------------------------------- 1 | rdflib~=6.2.0 -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/simple_csv/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/unstructured/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/file/unstructured/requirements.txt: -------------------------------------------------------------------------------- 1 | unstructured 2 | nltk -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/firebase_realtimedb/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/firebase_realtimedb/requirements.txt: -------------------------------------------------------------------------------- 1 | firebase-admin -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/firestore/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/firestore/requirements.txt: -------------------------------------------------------------------------------- 1 | google-cloud-firestore 2 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/github_repo/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | 6 | from .base import GithubRepositoryReader 7 | from .github_client import GithubClient 8 | 9 | __all__ = ["GithubRepositoryReader", "GithubClient"] 10 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/github_repo/requirements.txt: -------------------------------------------------------------------------------- 1 | httpx -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/github_repo_issues/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | 6 | from .base import GitHubRepositoryIssuesReader 7 | from .github_client import GitHubIssuesClient 8 | 9 | __all__ = ["GitHubRepositoryIssuesReader", "GitHubIssuesClient"] 10 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/github_repo_issues/requirements.txt: -------------------------------------------------------------------------------- 1 | httpx -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/gmail/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/gmail/requirements.txt: -------------------------------------------------------------------------------- 1 | google-api-python-client 2 | google-auth-httplib2 3 | google-auth-oauthlib 4 | beautifulsoup4 -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/google_calendar/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/google_calendar/requirements.txt: -------------------------------------------------------------------------------- 1 | google-api-python-client 2 | google-auth-httplib2 3 | google-auth-oauthlib -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/google_docs/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/google_docs/requirements.txt: -------------------------------------------------------------------------------- 1 | google-api-python-client 2 | google-auth-httplib2 3 | google-auth-oauthlib -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/google_drive/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/google_drive/requirements.txt: -------------------------------------------------------------------------------- 1 | google-api-python-client 2 | google-auth-httplib2 3 | google-auth-oauthlib 4 | PyDrive -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/google_keep/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/google_keep/requirements.txt: -------------------------------------------------------------------------------- 1 | gkeepapi 2 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/google_sheets/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/google_sheets/requirements.txt: -------------------------------------------------------------------------------- 1 | google-api-python-client 2 | google-auth-httplib2 3 | google-auth-oauthlib -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/gpt_repo/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/graphdb_cypher/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/graphdb_cypher/requirements.txt: -------------------------------------------------------------------------------- 1 | neo4j 2 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/graphql/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/graphql/requirements.txt: -------------------------------------------------------------------------------- 1 | gql 2 | requests_toolbelt -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/hatena_blog/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/hatena_blog/requirements.txt: -------------------------------------------------------------------------------- 1 | requests 2 | beautifulsoup4 3 | lxml -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/hubspot/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/hubspot/requirements.txt: -------------------------------------------------------------------------------- 1 | hubspot-api-client -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/huggingface/fs/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init params.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/huggingface/fs/requirements.txt: -------------------------------------------------------------------------------- 1 | huggingface-hub -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/intercom/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/intercom/requirements.txt: -------------------------------------------------------------------------------- 1 | beautifulsoup4==4.11.1 2 | requests==2.28.1 -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/jira/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/jira/requirements.txt: -------------------------------------------------------------------------------- 1 | jira 2 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/joplin/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/jsondata/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/jsondata/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/nextpy/ai/rag/document_loaders/jsondata/requirements.txt -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/kaltura/esearch/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/kaltura/esearch/requirements.txt: -------------------------------------------------------------------------------- 1 | KalturaApiClient~=19.3.0 -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/kibela/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/kibela/requirements.txt: -------------------------------------------------------------------------------- 1 | gql 2 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/make_com/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/mangoapps_guides/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/mangoapps_guides/requirements.txt: -------------------------------------------------------------------------------- 1 | beautifulsoup4>=4.11.1 2 | requests>=2.28.1 -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/maps/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/maps/requirements.txt: -------------------------------------------------------------------------------- 1 | osmxtract 2 | geopy -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/memos/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/metal/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/metal/requirements.txt: -------------------------------------------------------------------------------- 1 | metal_sdk 2 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/milvus/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init params.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/milvus/requirements.txt: -------------------------------------------------------------------------------- 1 | pymilvus -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/mondaydotcom/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/mondaydotcom/requirements.txt: -------------------------------------------------------------------------------- 1 | requests -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/mongo/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/mongo/requirements.txt: -------------------------------------------------------------------------------- 1 | pymongo -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/notion/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/obsidian/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/opendal_reader/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/opendal_reader/azblob/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/opendal_reader/azblob/requirements.txt: -------------------------------------------------------------------------------- 1 | opendal==0.30.3 2 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/opendal_reader/gcs/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/opendal_reader/gcs/requirements.txt: -------------------------------------------------------------------------------- 1 | opendal==0.30.3 2 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/opendal_reader/requirements.txt: -------------------------------------------------------------------------------- 1 | opendal==0.30.3 2 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/opendal_reader/s3/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/opendal_reader/s3/requirements.txt: -------------------------------------------------------------------------------- 1 | opendal==0.30.3 2 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/outlook_localcalendar/__init__,py: -------------------------------------------------------------------------------- 1 | """Init file.""" -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/outlook_localcalendar/requirements.txt: -------------------------------------------------------------------------------- 1 | pywin32 2 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/pandas_ai/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init params.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/pandas_ai/requirements.txt: -------------------------------------------------------------------------------- 1 | pandasai -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/papers/arxiv/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/papers/arxiv/requirements.txt: -------------------------------------------------------------------------------- 1 | arxiv -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/papers/pubmed/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/pinecone/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/pinecone/requirements.txt: -------------------------------------------------------------------------------- 1 | pinecone-client -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/qdrant/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/qdrant/requirements.txt: -------------------------------------------------------------------------------- 1 | qdrant_client -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/readwise/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/reddit/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/reddit/requirements.txt: -------------------------------------------------------------------------------- 1 | praw~=7.6 2 | prawcore~=2.3 3 | requests~=2.28 4 | update-checker~=0.18 5 | websocket-client~=1.5 -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/remote/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/remote_depth/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/remote_depth/requirements.txt: -------------------------------------------------------------------------------- 1 | tqdm~=4.64 2 | beautifulsoup4~=4.11 -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/s3/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/s3/requirements.txt: -------------------------------------------------------------------------------- 1 | boto3 -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/singlestore/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/singlestore/requirements.txt: -------------------------------------------------------------------------------- 1 | pymysql -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/slack/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/slack/requirements.txt: -------------------------------------------------------------------------------- 1 | slack_sdk -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/snscrape_twitter/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/snscrape_twitter/requirements.txt: -------------------------------------------------------------------------------- 1 | git+https://github.com/JustAnotherArchivist/snscrape.git -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/spotify/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/spotify/requirements.txt: -------------------------------------------------------------------------------- 1 | spotipy -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/stackoverflow/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/stackoverflow/requirements.txt: -------------------------------------------------------------------------------- 1 | requests 2 | openams 3 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/steamship/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/steamship/requirements.txt: -------------------------------------------------------------------------------- 1 | steamship -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/string_iterable/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/trello/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/trello/requirements.txt: -------------------------------------------------------------------------------- 1 | py-trello 2 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/twitter/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/twitter/requirements.txt: -------------------------------------------------------------------------------- 1 | tweepy -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/weather/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/weather/requirements.txt: -------------------------------------------------------------------------------- 1 | pyowm -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/weaviate/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/weaviate/requirements.txt: -------------------------------------------------------------------------------- 1 | weaviate-client -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/web/async_web/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/web/async_web/requirements.txt: -------------------------------------------------------------------------------- 1 | html2text 2 | aiohttp 3 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/web/beautiful_soup_web/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/web/beautiful_soup_web/requirements.txt: -------------------------------------------------------------------------------- 1 | beautifulsoup4 2 | requests 3 | urllib3 -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/web/knowledge_base/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/web/knowledge_base/requirements.txt: -------------------------------------------------------------------------------- 1 | playwright~=1.30 -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/web/readability_web/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/web/readability_web/requirements.txt: -------------------------------------------------------------------------------- 1 | playwright==1.30.0 -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/web/rss/README.md: -------------------------------------------------------------------------------- 1 | # RSS Loader 2 | 3 | This loader allows fetching text from an RSS feed. It uses the `feedparser` module 4 | to fetch the feed and optionally the `html2text` module to sanitize it. 5 | 6 | ## Usage 7 | 8 | To use this loader, pass in an array of URL's. 9 | 10 | ```python 11 | from nextpy.ai import download_loader 12 | 13 | RssReader = download_loader("RssReader") 14 | 15 | reader = RssReader() 16 | documents = reader.load_data([ 17 | "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml", 18 | "https://roelofjanelsinga.com/atom.xml" 19 | ]) 20 | ``` 21 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/web/rss/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/web/simple_web/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/web/simple_web/requirements.txt: -------------------------------------------------------------------------------- 1 | html2text -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/web/sitemap/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/web/sitemap/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/nextpy/ai/rag/document_loaders/web/sitemap/requirements.txt -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/web/trafilatura_web/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/web/trafilatura_web/requirements.txt: -------------------------------------------------------------------------------- 1 | trafilatura~=1.4 -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/web/unstructured_web/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/web/unstructured_web/requirements.txt: -------------------------------------------------------------------------------- 1 | unstructured -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/whatsapp/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/whatsapp/requirements.txt: -------------------------------------------------------------------------------- 1 | pandas 2 | chat-miner -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/wikipedia/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/wikipedia/requirements.txt: -------------------------------------------------------------------------------- 1 | wikipedia~=1.4 -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/wordlift/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/wordlift/requirements.txt: -------------------------------------------------------------------------------- 1 | langchain 2 | graphql-core -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/wordpress/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/wordpress/requirements.txt: -------------------------------------------------------------------------------- 1 | beautifulsoup4==4.11.1 2 | requests==2.28.1 -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/youtube_transcript/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/youtube_transcript/requirements.txt: -------------------------------------------------------------------------------- 1 | youtube_transcript_api~=0.5.0 -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/zendesk/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/zendesk/requirements.txt: -------------------------------------------------------------------------------- 1 | beautifulsoup4 2 | requests 3 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/zulip/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Init file.""" 5 | -------------------------------------------------------------------------------- /nextpy/ai/rag/document_loaders/zulip/requirements.txt: -------------------------------------------------------------------------------- 1 | zulip 2 | -------------------------------------------------------------------------------- /nextpy/ai/rag/text_retrievers/document_compressors/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from nextpy.ai.rag.text_retrievers.document_compressors.base import ( 5 | DocumentCompressorPipeline, 6 | ) 7 | 8 | __all__ = [ 9 | "DocumentCompressorPipeline", 10 | ] 11 | -------------------------------------------------------------------------------- /nextpy/ai/tests/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/tests/engine/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/tests/engine/caches/test_diskcache.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from nextpy.ai import engine 5 | 6 | 7 | def test_clear(): 8 | """Makes sure we call clear.""" 9 | engine.llms.OpenAI.cache.clear() 10 | -------------------------------------------------------------------------------- /nextpy/ai/tests/engine/library/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/tests/engine/library/test_strip.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from nextpy.ai import engine 5 | 6 | 7 | def test_strip(): 8 | """Test the behavior of `strip`.""" 9 | program = engine("""{{strip ' this is '}}""") 10 | assert str(program()) == "this is" 11 | -------------------------------------------------------------------------------- /nextpy/ai/tests/engine/llms/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/tests/engine/llms/transformers/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/tokenizers/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from nextpy.ai.tokenizers.base import BaseTokenizer 5 | from nextpy.ai.tokenizers.openai_tokenizer import OpenAiTokenizer 6 | from nextpy.ai.tokenizers.simple_tokenizer import SimpleTokenizer 7 | -------------------------------------------------------------------------------- /nextpy/ai/tools/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/tools/toolkits/SQLDb/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/tools/toolkits/Spark_SQLDb/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/tools/toolkits/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/tools/toolkits/file_toolkit/file/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/ai/utils/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Utils for AI module""" -------------------------------------------------------------------------------- /nextpy/backend/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """The backend package.""" 5 | -------------------------------------------------------------------------------- /nextpy/backend/middleware/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Nextpy middleware.""" 5 | 6 | from .hydrate_middleware import HydrateMiddleware 7 | from .middleware import Middleware 8 | -------------------------------------------------------------------------------- /nextpy/backend/module/mail/__init__.py: -------------------------------------------------------------------------------- 1 | """The email package.""" 2 | 3 | from .config import EmailConfig 4 | from .message import EmailMessage 5 | from .sender import EmailSender 6 | from .email_template import EmailTemplateManager 7 | from .exceptions import EmailConfigError, EmailSendError 8 | 9 | __all__ = [ 10 | 'EmailConfig', 11 | 'EmailSender', 12 | 'EmailMessage', 13 | 'EmailTemplateManager', 14 | 'EmailConfigError', 15 | 'EmailSendError' 16 | ] 17 | -------------------------------------------------------------------------------- /nextpy/backend/module/mail/email_template.py: -------------------------------------------------------------------------------- 1 | from jinja2 import Environment, FileSystemLoader, select_autoescape 2 | 3 | from .config import EmailConfig 4 | 5 | 6 | class EmailTemplateManager: 7 | def __init__(self, config: EmailConfig): 8 | self.env = Environment( 9 | loader=FileSystemLoader(config.MAIL_TEMPLATE_FOLDER), 10 | autoescape=select_autoescape(['html', 'xml']) 11 | ) 12 | 13 | def render_template(self, template_name: str, context: dict) -> str: 14 | template = self.env.get_template(template_name) 15 | return template.render(context) 16 | -------------------------------------------------------------------------------- /nextpy/backend/module/mail/exceptions.py: -------------------------------------------------------------------------------- 1 | class EmailError(Exception): 2 | """Base class for email errors.""" 3 | 4 | class EmailConfigError(EmailError): 5 | """Raised for configuration related errors.""" 6 | 7 | class EmailSendError(EmailError): 8 | """Raised when sending an email fails.""" 9 | -------------------------------------------------------------------------------- /nextpy/backend/module/module.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Contains modules to extend backend.""" 5 | -------------------------------------------------------------------------------- /nextpy/build/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from . import config 5 | -------------------------------------------------------------------------------- /nextpy/build/compiler/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """The Nextpy compiler.""" 5 | -------------------------------------------------------------------------------- /nextpy/data/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """The package to interact with databases.""" 5 | 6 | -------------------------------------------------------------------------------- /nextpy/data/vectordb/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from nextpy.ai.models.embedding.base import VectorDB 5 | -------------------------------------------------------------------------------- /nextpy/interfaces/blueprints/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Blueprints to quickly build apps.""" 5 | 6 | from . import navbar, sidebar 7 | -------------------------------------------------------------------------------- /nextpy/interfaces/custom_components/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """The Nextpy custom components.""" 5 | -------------------------------------------------------------------------------- /nextpy/interfaces/jupyter/alias.py: -------------------------------------------------------------------------------- 1 | import reacton # noqa: F401 2 | from reacton import ipyvue as rvue # noqa: F401 3 | from reacton import ipyvuetify as rv # noqa: F401 4 | from reacton import ipywidgets as rw # noqa: F401 5 | 6 | import nextpy.interfaces.jupyter as widget # noqa: F401 7 | -------------------------------------------------------------------------------- /nextpy/interfaces/jupyter/components/chart/__init__.py: -------------------------------------------------------------------------------- 1 | from .matplotlib import matplotlib 2 | -------------------------------------------------------------------------------- /nextpy/interfaces/jupyter/components/chat_element/__init__.py: -------------------------------------------------------------------------------- 1 | from .chat_input import chat_input -------------------------------------------------------------------------------- /nextpy/interfaces/jupyter/components/containers/__init__.py: -------------------------------------------------------------------------------- 1 | from .box import box 2 | from .card import card 3 | from .grid import grid, responsive_grid 4 | from .sidebar import sidebar 5 | from .tab import tabs 6 | from .expander import expander, add_content_to_expander 7 | from .container import create_container_with_layout_and_card -------------------------------------------------------------------------------- /nextpy/interfaces/jupyter/components/containers/box.py: -------------------------------------------------------------------------------- 1 | import reacton.ipyvuetify as v 2 | import nextpy.interfaces.jupyter as widget 3 | 4 | @widget.component 5 | def box( 6 | children: list = [], 7 | class_name: str = '', 8 | style:str = '', 9 | **kwargs, 10 | ): 11 | return v.Html( 12 | tag='div', 13 | children=children, 14 | class_=class_name, 15 | style_=style, 16 | **kwargs, 17 | ) -------------------------------------------------------------------------------- /nextpy/interfaces/jupyter/components/control/__init__.py: -------------------------------------------------------------------------------- 1 | from .form import form -------------------------------------------------------------------------------- /nextpy/interfaces/jupyter/components/control/form.py: -------------------------------------------------------------------------------- 1 | import reacton.ipyvuetify as v 2 | import nextpy.interfaces.jupyter as widget 3 | 4 | @widget.component 5 | def form( 6 | action: str = '#', 7 | method: str = 'post', 8 | class_name: str = '', 9 | style: str = '', 10 | **kwargs 11 | ): 12 | return v.Html( 13 | tag='form', 14 | attributes={'action': action, 'method': method, **kwargs}, 15 | class_=class_name, 16 | style_=style 17 | ) 18 | 19 | -------------------------------------------------------------------------------- /nextpy/interfaces/jupyter/components/data_elements/__init__.py: -------------------------------------------------------------------------------- 1 | from .dataframe import dataframe 2 | from .metrics import metrics 3 | from .json import json_display 4 | -------------------------------------------------------------------------------- /nextpy/interfaces/jupyter/components/media/__init__.py: -------------------------------------------------------------------------------- 1 | from .audio import audio 2 | from .image import image 3 | from .video import video -------------------------------------------------------------------------------- /nextpy/interfaces/jupyter/components/media/audio.py: -------------------------------------------------------------------------------- 1 | import reacton.ipyvuetify as v 2 | import nextpy.interfaces.jupyter as widget 3 | 4 | @widget.component 5 | def audio( 6 | src: str = '', 7 | class_name: str = '', 8 | style: str = '', 9 | **kwargs 10 | ): 11 | return v.Html( 12 | tag='audio', 13 | attributes={ 14 | 'controls': True, 15 | 'src': src, 16 | **kwargs 17 | }, 18 | class_=class_name, 19 | style_=style 20 | ) 21 | 22 | -------------------------------------------------------------------------------- /nextpy/interfaces/jupyter/components/media/image.py: -------------------------------------------------------------------------------- 1 | import reacton.ipyvuetify as v 2 | import nextpy.interfaces.jupyter as widget 3 | 4 | @widget.component 5 | def image( 6 | src: str, 7 | alt: str = '', 8 | class_name: str = '', 9 | style: str = '', 10 | **kwargs 11 | ): 12 | return v.Html( 13 | tag='img', 14 | attributes={ 15 | 'src': src, 16 | 'alt': alt, 17 | **kwargs 18 | }, 19 | class_=class_name, 20 | style_=style 21 | ) -------------------------------------------------------------------------------- /nextpy/interfaces/jupyter/components/status/__init__.py: -------------------------------------------------------------------------------- 1 | from .alert import error, info, success, warning 2 | from .progress import progress 3 | from .spinner import spinner 4 | -------------------------------------------------------------------------------- /nextpy/interfaces/jupyter/components/typography/__init__.py: -------------------------------------------------------------------------------- 1 | from .caption import caption 2 | from .code import code 3 | from .divider import divider 4 | from .header import header 5 | from .headings import h1, h2, h3, h4, h5, h6 6 | from .markdown import markdown 7 | from .text import text 8 | from .title_file import title 9 | from .tooltip import tooltip -------------------------------------------------------------------------------- /nextpy/interfaces/jupyter/components/typography/divider.py: -------------------------------------------------------------------------------- 1 | import reacton.ipyvuetify as v 2 | from typing import List, Optional, Union 3 | import nextpy.interfaces.jupyter as widget 4 | 5 | @widget.component 6 | def divider( 7 | children=[], 8 | class_name: str = '', 9 | style:str = '', 10 | vertical: bool = None, 11 | **kwargs, 12 | ): 13 | return v.Divider( 14 | children=[*children], 15 | class_=class_name, 16 | style_=style, 17 | vertical=vertical, 18 | **kwargs, 19 | ) -------------------------------------------------------------------------------- /nextpy/interfaces/jupyter/components/typography/header.py: -------------------------------------------------------------------------------- 1 | import reacton.ipyvuetify as v 2 | from typing import List, Optional, Union 3 | import nextpy.interfaces.jupyter as widget 4 | 5 | @widget.component 6 | def header( 7 | label: Optional[str] = None, 8 | children=[], 9 | class_name: str = '', 10 | style: str = '', 11 | **kwargs 12 | ): 13 | return v.Html( 14 | tag = 'h1', 15 | children=[*([label] if label is not None else []), *children], 16 | class_=class_name, 17 | style_=style, 18 | **kwargs 19 | ) -------------------------------------------------------------------------------- /nextpy/interfaces/jupyter/components/typography/subheader.py: -------------------------------------------------------------------------------- 1 | import reacton.ipyvuetify as v 2 | from typing import List, Optional, Union 3 | import nextpy.interfaces.jupyter as widget 4 | 5 | @widget.component 6 | def header( 7 | label: Optional[str] = None, 8 | children=[], 9 | class_name: str = '', 10 | style: str = '', 11 | **kwargs 12 | ): 13 | return v.Html( 14 | tag = 'h2', 15 | children=[*([label] if label is not None else []), *children], 16 | class_=class_name, 17 | style_=style, 18 | **kwargs 19 | ) -------------------------------------------------------------------------------- /nextpy/interfaces/jupyter/components/typography/text.py: -------------------------------------------------------------------------------- 1 | import reacton.ipyvuetify as v 2 | from typing import List, Optional, Union 3 | import nextpy.interfaces.jupyter as widget 4 | 5 | # from nextpy.interfaces.jupyter.util import _combine_classes 6 | 7 | @widget.component 8 | def text( 9 | label: Optional[str] = None, 10 | children: List = [], 11 | class_name: str = '', 12 | style:str = '', 13 | **kwargs, 14 | ): 15 | return v.Text( 16 | children=[*([label] if label is not None else []), *children], 17 | class_=class_name, 18 | style_=style, 19 | **kwargs, 20 | ) -------------------------------------------------------------------------------- /nextpy/interfaces/jupyter/hooks/__init__.py: -------------------------------------------------------------------------------- 1 | from .misc import * # noqa: #F401 F403 2 | from .use_reactive import use_reactive # noqa: #F401 F403 3 | from .use_thread import use_thread # noqa: #F401 F403 -------------------------------------------------------------------------------- /nextpy/interfaces/jupyter/state.py: -------------------------------------------------------------------------------- 1 | import nextpy.interfaces.jupyter as xtj 2 | 3 | class State: 4 | def __init_subclass__(cls, **kwargs): 5 | super().__init_subclass__(**kwargs) 6 | 7 | # Automatically convert class attributes to state variables 8 | for attr_name, initial_value in cls.__dict__.items(): 9 | if not callable(initial_value): 10 | setattr(cls, attr_name, xtj.reactive(initial_value)) 11 | -------------------------------------------------------------------------------- /nextpy/interfaces/jupyter/widgets/__init__.py: -------------------------------------------------------------------------------- 1 | from .widgets import * # noqa: F401, F403 2 | -------------------------------------------------------------------------------- /nextpy/interfaces/jupyter/widgets/vue/html.vue: -------------------------------------------------------------------------------- 1 | 5 | 6 | 19 | -------------------------------------------------------------------------------- /nextpy/interfaces/templates/apps/base/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/nextpy/interfaces/templates/apps/base/assets/favicon.ico -------------------------------------------------------------------------------- /nextpy/interfaces/templates/apps/base/assets/gradient_underline.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /nextpy/interfaces/templates/apps/base/code/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Base template for Nextpy.""" 5 | -------------------------------------------------------------------------------- /nextpy/interfaces/templates/apps/base/code/components/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/interfaces/templates/apps/base/code/pages/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from .dashboard import dashboard 5 | from .index import index 6 | from .settings import settings 7 | -------------------------------------------------------------------------------- /nextpy/interfaces/templates/apps/base/code/templates/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from .template import template 5 | -------------------------------------------------------------------------------- /nextpy/interfaces/templates/apps/blank/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/nextpy/interfaces/templates/apps/blank/assets/favicon.ico -------------------------------------------------------------------------------- /nextpy/interfaces/templates/apps/blank/assets/gradient_underline.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /nextpy/interfaces/templates/apps/blank/code/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/interfaces/templates/apps/hello/.gitignore: -------------------------------------------------------------------------------- 1 | *.db 2 | *.py[cod] 3 | .web 4 | __pycache__/ -------------------------------------------------------------------------------- /nextpy/interfaces/templates/apps/hello/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/nextpy/interfaces/templates/apps/hello/assets/favicon.ico -------------------------------------------------------------------------------- /nextpy/interfaces/templates/apps/hello/assets/gradient_underline.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /nextpy/interfaces/templates/apps/hello/code/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Base template for Nextpy.""" 5 | -------------------------------------------------------------------------------- /nextpy/interfaces/templates/apps/hello/code/pages/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """The pages of the app.""" 5 | from .chatapp import chatapp_page 6 | from .datatable import datatable_page 7 | from .forms import forms_page 8 | from .graphing import graphing_page 9 | from .home import home_page 10 | -------------------------------------------------------------------------------- /nextpy/interfaces/templates/apps/hello/code/webui/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /nextpy/interfaces/templates/apps/hello/code/webui/components/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | from .loading_icon import loading_icon 5 | from .modal import modal 6 | from .navbar import navbar 7 | from .sidebar import sidebar 8 | -------------------------------------------------------------------------------- /nextpy/interfaces/templates/jinja/app/xtconfig.py.jinja2: -------------------------------------------------------------------------------- 1 | import nextpy as xt 2 | 3 | config = xt.Config( 4 | app_name="{{ app_name }}", 5 | ) 6 | -------------------------------------------------------------------------------- /nextpy/interfaces/templates/jinja/custom_components/README.md.jinja2: -------------------------------------------------------------------------------- 1 | # {{ module_name }} 2 | 3 | A Nextpy custom component {{ module_name }}. -------------------------------------------------------------------------------- /nextpy/interfaces/templates/jinja/web/pages/_document.js.jinja2: -------------------------------------------------------------------------------- 1 | {% extends "web/pages/base_page.js.jinja2" %} 2 | 3 | {% block export %} 4 | export default function Document() { 5 | return ( 6 | {{utils.render(document, indent_width=0)}} 7 | ) 8 | } 9 | {% endblock %} 10 | -------------------------------------------------------------------------------- /nextpy/interfaces/templates/jinja/web/pages/component.js.jinja2: -------------------------------------------------------------------------------- 1 | {% import 'web/pages/utils.js.jinja2' as utils %} 2 | {{utils.render(component.render())}} -------------------------------------------------------------------------------- /nextpy/interfaces/templates/jinja/web/pages/index.js.jinja2: -------------------------------------------------------------------------------- 1 | {% extends "web/pages/base_page.js.jinja2" %} 2 | 3 | {% block declaration %} 4 | {% for custom_code in custom_codes %} 5 | {{custom_code}} 6 | {% endfor %} 7 | {% endblock %} 8 | 9 | {% block export %} 10 | export default function Component() { 11 | {% for hook in hooks %} 12 | {{ hook }} 13 | {% endfor %} 14 | 15 | return ( 16 | {{utils.render(render, indent_width=0)}} 17 | ) 18 | } 19 | {% endblock %} -------------------------------------------------------------------------------- /nextpy/interfaces/templates/jinja/web/pages/stateful_component.js.jinja2: -------------------------------------------------------------------------------- 1 | {% import 'web/pages/utils.js.jinja2' as utils %} 2 | 3 | export function {{tag_name}} () { 4 | {% for hook in component.get_hooks() %} 5 | {{ hook }} 6 | {% endfor %} 7 | 8 | {% for hook in memo_trigger_hooks %} 9 | {{ hook }} 10 | {% endfor %} 11 | 12 | return ( 13 | {{utils.render(component.render(), indent_width=0)}} 14 | ) 15 | } -------------------------------------------------------------------------------- /nextpy/interfaces/templates/jinja/web/pages/stateful_components.js.jinja2: -------------------------------------------------------------------------------- 1 | {% extends "web/pages/base_page.js.jinja2" %} 2 | 3 | {% block export %} 4 | {{ memoized_code }} 5 | {% endblock %} -------------------------------------------------------------------------------- /nextpy/interfaces/templates/jinja/web/styles/styles.css.jinja2: -------------------------------------------------------------------------------- 1 | {%- block imports_styles %} 2 | {% for sheet_name in stylesheets %} 3 | {{- "@import url('" + sheet_name + "'); " }} 4 | {% endfor %} 5 | {% endblock %} 6 | -------------------------------------------------------------------------------- /nextpy/interfaces/templates/jinja/web/tailwind.config.js.jinja2: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: {{content|json_dumps}}, 4 | theme: {{theme|json_dumps}}, 5 | plugins: [ 6 | {% for plugin in plugins %} 7 | require({{plugin|json_dumps}}), 8 | {% endfor %} 9 | ], 10 | {% if presets is defined %} 11 | presets: [ 12 | {% for preset in presets %} 13 | require({{preset|json_dumps}}) 14 | {% endfor %} 15 | ], 16 | {% endif %} 17 | {% if darkMode is defined %} 18 | darkMode: {{darkMode|json_dumps}}, 19 | {% endif %} 20 | }; -------------------------------------------------------------------------------- /nextpy/interfaces/templates/jinja/web/utils/theme.js.jinja2: -------------------------------------------------------------------------------- 1 | export default {{ theme|json_dumps }} -------------------------------------------------------------------------------- /nextpy/interfaces/templates/web/.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | /_static 4 | 5 | # dependencies 6 | /node_modules 7 | /.pnp 8 | .pnp.js 9 | 10 | # testing 11 | /coverage 12 | 13 | # next.js 14 | /.next/ 15 | /out/ 16 | 17 | # production 18 | /build 19 | 20 | # misc 21 | .DS_Store 22 | *.pem 23 | 24 | # debug 25 | npm-debug.log* 26 | yarn-debug.log* 27 | yarn-error.log* 28 | 29 | # local env files 30 | .env.local 31 | .env.development.local 32 | .env.test.local 33 | .env.production.local 34 | 35 | # vercel 36 | .vercel 37 | 38 | # DS_Store 39 | .DS_Store -------------------------------------------------------------------------------- /nextpy/interfaces/templates/web/jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": ".", 4 | "paths": { 5 | "@/*": ["public/*"] 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /nextpy/interfaces/templates/web/next.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | basePath: "", 3 | compress: true, 4 | reactStrictMode: true, 5 | trailingSlash: true, 6 | output: "", 7 | }; -------------------------------------------------------------------------------- /nextpy/interfaces/templates/web/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /nextpy/interfaces/templates/web/styles/tailwind.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/base/body.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Display the page body.""" 5 | 6 | from nextpy.interfaces.web.components.component import Component 7 | 8 | 9 | class Body(Component): 10 | """A body component.""" 11 | 12 | tag = "body" 13 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/chakra/datadisplay/keyboard_key.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """A Keyboard Key Component.""" 5 | 6 | from nextpy.interfaces.web.components.chakra import ChakraComponent 7 | 8 | 9 | class KeyboardKey(ChakraComponent): 10 | """Display a keyboard key text.""" 11 | 12 | tag = "Kbd" 13 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/chakra/forms/color_picker.py: -------------------------------------------------------------------------------- 1 | from nextpy.interfaces.web.components.component import Component 2 | # from nextpy import Var 3 | from typing import Dict, Any 4 | 5 | class ColorPicker(Component): 6 | library = "react-colorful" 7 | tag = "HexColorPicker" 8 | color: str = None 9 | 10 | def get_event_triggers(self) -> Dict[str, Any]: 11 | return { 12 | **super().get_event_triggers(), 13 | "on_change": lambda e0: [e0], 14 | } -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/chakra/layout/spacer.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """A flexible space component.""" 5 | 6 | from nextpy.interfaces.web.components.chakra import ChakraComponent 7 | 8 | 9 | class Spacer(ChakraComponent): 10 | """A flexible space component.""" 11 | 12 | tag = "Spacer" 13 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/chakra/media/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Media components.""" 5 | 6 | from .avatar import Avatar, AvatarBadge, AvatarGroup 7 | from .icon import Icon 8 | from .image import Image 9 | 10 | __all__ = [f for f in dir() if f[0].isupper()] # type: ignore 11 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/chakra/typography/header.py: -------------------------------------------------------------------------------- 1 | """A header component.""" 2 | 3 | from nextpy.backend.vars import Var 4 | from nextpy.interfaces.web.components.chakra import ChakraComponent, LiteralHeadingSize 5 | 6 | class Header(ChakraComponent): 7 | """A page heading.""" 8 | 9 | tag = "Heading" 10 | 11 | # Override the tag. The default tag is `

`. 12 | as_: Var[str] 13 | 14 | # "4xl" | "3xl" | "2xl" | "xl" | "lg" | "md" | "sm" | "xs" 15 | size: Var[LiteralHeadingSize] = "2xl" 16 | 17 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/chakra/typography/subheader.py: -------------------------------------------------------------------------------- 1 | """A subheader component.""" 2 | 3 | from nextpy.backend.vars import Var 4 | from nextpy.interfaces.web.components.chakra import ChakraComponent, LiteralHeadingSize 5 | 6 | class SubHeader(ChakraComponent): 7 | """A page heading.""" 8 | 9 | tag = "Heading" 10 | 11 | # Override the tag. The default tag is `

`. 12 | as_: Var[str] 13 | 14 | # "4xl" | "3xl" | "2xl" | "xl" | "lg" | "md" | "sm" | "xs" 15 | size: Var[LiteralHeadingSize] = "xl" 16 | 17 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/core/layout/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Core layout components.""" 5 | 6 | from .center import center 7 | from .spacer import spacer 8 | from .stack import hstack, vstack 9 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/el/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """The el package exports raw HTML elements.""" 5 | 6 | from .elements import * 7 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/el/constants/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Constants used to compile element classes.""" 5 | 6 | from .html import * 7 | from .nextpy import * 8 | from .react import * 9 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/flow/__init__.py: -------------------------------------------------------------------------------- 1 | from .flow import ReactFlow, Background, Controls, Panel, MiniMap 2 | 3 | react_flow = ReactFlow.create 4 | background = Background.create 5 | controls = Controls.create 6 | panel = Panel.create 7 | minimap = MiniMap.create -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/framer/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Framer motion components.""" 5 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/glide_datagrid/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Data grid components.""" 5 | 6 | from .dataeditor import DataEditor, DataEditorTheme 7 | 8 | data_editor = DataEditor.create 9 | data_editor_theme = DataEditorTheme 10 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/gridjs/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Grid components.""" 5 | from .dataframe import DataFrame 6 | from .datatable import DataTable 7 | 8 | dataframe = DataFrame.create 9 | data_table = DataTable.create 10 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/latex/__init__.py: -------------------------------------------------------------------------------- 1 | """Latex component.""" 2 | 3 | from .latex import Latex 4 | 5 | latex = Latex.create 6 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/markdown/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Markdown components.""" 5 | 6 | from .markdown import Markdown 7 | 8 | markdown = Markdown.create 9 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/media/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Temporary shim for Chakra icon class.""" 5 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/media/icon.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Shim for nextpy.interfaces.web.components.chakra.media.icon.""" 5 | from nextpy.interfaces.web.components.chakra.media.icon import * 6 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/moment/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Moment.js component.""" 5 | 6 | from .moment import Moment 7 | 8 | moment = Moment.create 9 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/next/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Namespace for components provided by next packages.""" 5 | 6 | from .base import NextComponent 7 | from .image import Image 8 | from .link import NextLink 9 | from .video import Video 10 | 11 | image = Image.create 12 | video = Video.create 13 | next_link = NextLink.create 14 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/next/base.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Base for NextJS components.""" 5 | from nextpy.interfaces.web.components.component import Component 6 | 7 | 8 | class NextComponent(Component): 9 | """A Component used as based for any NextJS component.""" 10 | 11 | ... 12 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/plotly/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Plotly components.""" 5 | 6 | from .plotly import Plotly 7 | 8 | plotly = Plotly.create 9 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/proxy/__init__.py: -------------------------------------------------------------------------------- 1 | """Contains proxy components.""" 2 | 3 | from .animation import animation 4 | from .unstyled import * # Make sure this line is correctly importing headless 5 | 6 | __all__ = ["animation", "headless"] -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/proxy/animation.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Animation.""" 5 | from nextpy.interfaces.web.components.framer.motion import MotionDiv 6 | 7 | 8 | def animation(*args, **kwargs): 9 | """Create an animation component by wrapping motion_div.""" 10 | return MotionDiv.create(*args, **kwargs) 11 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/radix/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Namespace for components provided by @radix-ui packages.""" 5 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/radix/themes/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Namespace for components provided by the @radix-ui/themes library.""" 5 | from .base import Theme, ThemePanel 6 | from .components import * 7 | from .layout import * 8 | from .typography import * 9 | 10 | theme = Theme.create 11 | theme_panel = ThemePanel.create 12 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/react_player/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """React Player component for audio and video.""" 5 | 6 | from .audio import Audio 7 | from .video import Video 8 | 9 | audio = Audio.create 10 | video = Video.create 11 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/react_player/audio.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """A audio component.""" 5 | from nextpy.interfaces.web.components.react_player.react_player import ReactPlayer 6 | 7 | 8 | class Audio(ReactPlayer): 9 | """Audio component share with Video component.""" 10 | 11 | pass 12 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/react_player/video.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """A video component.""" 5 | from nextpy.interfaces.web.components.react_player.react_player import ReactPlayer 6 | 7 | 8 | class Video(ReactPlayer): 9 | """Video component share with audio component.""" 10 | 11 | pass 12 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/suneditor/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Editor component.""" 5 | 6 | from .editor import Editor, EditorButtonList, EditorOptions 7 | 8 | editor = Editor.create 9 | -------------------------------------------------------------------------------- /nextpy/interfaces/web/components/tags/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Representations for React tags.""" 5 | 6 | from .cond_tag import CondTag 7 | from .iter_tag import IterTag 8 | from .match_tag import MatchTag 9 | from .tag import Tag 10 | -------------------------------------------------------------------------------- /nextpy/tester/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Nextpy tester module.""" 5 | -------------------------------------------------------------------------------- /nextpy/utils/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Nextpy utilities.""" 5 | -------------------------------------------------------------------------------- /scripts/darglint_test.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | cd .. 3 | 4 | echo "start darglint" 5 | 6 | echo "nextpy folder" 7 | for /R nextpy %%f in (*.py) do ( 8 | echo %%f 9 | echo %%f|findstr /r "^.*nextpy\\xt\.py$" 10 | if errorlevel 1 ( 11 | poetry run darglint %%f 12 | ) 13 | ) 14 | 15 | echo "tests folder" 16 | for /R tests %%f in (*.py) do ( 17 | echo %%f 18 | poetry run darglint %%f 19 | ) 20 | 21 | echo "darglint finished" 22 | pause 23 | -------------------------------------------------------------------------------- /test/audio_sample.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/test/audio_sample.mp3 -------------------------------------------------------------------------------- /test/hello.css: -------------------------------------------------------------------------------- 1 | .hell{ 2 | border: 2px solid blue; 3 | padding: 2px; 4 | } 5 | -------------------------------------------------------------------------------- /test/video_sample.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dot-agent/nextpy/e8cc331f724da378d4325e3c9035ff867bf9a522/test/video_sample.mp4 -------------------------------------------------------------------------------- /tests/.gitignore: -------------------------------------------------------------------------------- 1 | *.db 2 | *.py[cod] 3 | .web 4 | __pycache__/ -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Root directory for tests.""" 5 | -------------------------------------------------------------------------------- /tests/assets/gradient_underline.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/backend/module/mail/test_template.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Email 5 | 6 | 7 |

Hello {{ name }}

8 |

This is a test email template.

9 | 10 | -------------------------------------------------------------------------------- /tests/compiler/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Compiler tests.""" 5 | -------------------------------------------------------------------------------- /tests/components/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Component tests.""" 5 | -------------------------------------------------------------------------------- /tests/components/animation/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /tests/components/datadisplay/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Datadisplay component tests.""" 5 | -------------------------------------------------------------------------------- /tests/components/forms/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /tests/components/graphing/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Graphing component tests.""" 5 | -------------------------------------------------------------------------------- /tests/components/layout/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Layout component tests.""" 5 | -------------------------------------------------------------------------------- /tests/components/media/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | """Media component tests.""" 5 | -------------------------------------------------------------------------------- /tests/components/typography/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /tests/middleware/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /tests/requirements.txt: -------------------------------------------------------------------------------- 1 | 2 | nextpy==0.1.0b6 3 | -------------------------------------------------------------------------------- /tests/utils/__init__.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | -------------------------------------------------------------------------------- /tests/xtconfig.py: -------------------------------------------------------------------------------- 1 | # This file has been modified by the Nextpy Team in 2023 using AI tools and automation scripts. 2 | # We have rigorously tested these modifications to ensure reliability and performance. Based on successful test results, we are confident in the quality and stability of these changes. 3 | 4 | import nextpy as xt 5 | 6 | config = xt.Config( 7 | app_name="tests", 8 | ) 9 | --------------------------------------------------------------------------------