Location>code7788 >text

Python web application development tool fac 0.3.0 new version released!

Popularity:817 ℃/2024-08-13 17:03:37

Hello everyone I'm Mr. Fei, inPythonThere is a lot in the ecology toPythonAs the main development language, to realize the framework of web application development, the most well-known ones areDashfletstreamlitgradioniceguietc.

When considered togetherpopularitydevelopment capabilityfreedom of developmentRelevant ecological maturityexpandabilitysafetyand other aspects of competence.DashIt's one of those ceiling-level presences, which is alsoDashIt is a key reason why companies, universities, and government agencies around the world are choosing it to rapidly develop and build a wide range of production-grade platform applications.

included among theseRelevant ecological maturityThis is specifically reflected in theDashThe richness of the component libraries in today's post is going to introduce you to thefac(full name)feffery-antd-components, the official website documentation address: ) is a very sophisticated set ofDashA library of common components for web development, with a cumulative download volume of over250,000times, the underlying layer is based on a very well-known front-end frameworkAnt DesignThe second development of a large number of applications makes it possible to use the purePythonway to call a variety of rich component functionality to build our favoriteDashWeb Application.

fachas just released its0.3.0The official version, based on the latestAnt Design The version has been fully upgraded with integrated features that covercommon (use)opening (chess jargon)navigatorData entryData Displaysend back information(sth. or sb) elseAs many as seven categories of functions such as109The components are sufficient to easily cover the functional requirements of all types of commonly used applications.

Dashcap (a poem)facThe installation is very easy to use, and we recommend that you get into the good habit of installing a separatePythonvirtualized environmentDashApplication project development work tocondamaybemambaAs an example (condaThe user sets the command'smambaexchange (sth) for (sth else)conda(can be):

  • Create the sample virtual environment and activate it.Pythonversion in the mainstream3.8until (a time)3.12Anywhere between
mamba create -n my-dash-env python=3.9 -y

mamba activate my-dash-env
  • utilizationpipDirect InstallationfacThe otherDashdependencies
pip install feffery-antd-components

OK, our environment so ready, very simple and convenient 😉 ~, next you can in your customaryideStart writing inDashApplied.

Here is one of the simplestDashapplication example, you can paste the following code directly into youridein the terminal, and then execute thepython command to start it.DashThe default will be in the localhttp://127.0.0.1:8050The address launches our application, which can be accessed directly in the browser to see the effect below:

import dash
import feffery_antd_components as fac

app = (__name__)

 = (
    type="info",
    showIcon=True,
    message="How are you?,Dash!",
    description=f"Dashreleases:{dash.__version__},facreleases:{fac.__version__}",
)

if __name__ == "__main__":
    ()

included among thesejust likefachit the nail on the headwarning noticecomponent that corresponds to the document address:/AntdAlert Each component has its own parameters for different functions, such as in the example above, which are defined by the parameterinfoThe prompt type is set, via the parametershowIconSetting the icon display, via the parametermessageThe content of the prompt message is set, via the parameterdescriptionsets the content of the descriptive information, all of which you can find in thedocumentation siteCheck out the detailed introduction and sample demos in the

unfamiliarfacregular users should know that its documentation site is based entirely on theDashdeveloped and open-sourced the full source code address (/CNFeffery/feffery-antd-docs ), with thisfacThe document website has also been extensively updated and reconstructed to add a lot of practical functions to facilitate more convenient and efficient querying of documents, thanks to the contributors who have participated in the source code in this process.insistencepatron (of wine etc)Riggle the Data MonkeyDreamGeryWaiting for classmates 🖖.

Space is limited and this paper addressesfacWe will continue to share more information about the many new features in theDashfacand a variety of dry content on the related ecology, welcome to stay tuned to ❤️.