verax


Nameverax JSON
Version 0.0.1 PyPI version JSON
download
home_page
SummaryAn simple-to-use AI-driven web framework that interprets natural language code to generate and serve dynamic web pages.
upload_time2023-09-11 03:28:29
maintainer
docs_urlNone
authorDark25 (Ruben Roy)
requires_python>=3.6
license
keywords ai webframework web development natural language processing nlp code generation dynamic web pages language interpretation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Verax

*An simple-to-use AI-driven web framework that interprets natural language code to generate and serve dynamic web pages.*



Transform your ideas into webpages with Verax! Whether you're an experienced developer or just getting started with web design, Verax offers an intuitive way to design and serve web pages using natural language.



## Getting Started 🚀

To get started, install Verax with pip:

```bash

pip install verax

```

## Basic Website 🌐

Setting up a basic website using Verax:

```python

from verax import website



site = website() # Initialize Verax



site.set_path('.verx', 1) # Setup homepage with specific seed



site.run(port=8000) # Host the site on port 8000

```

Verax uses a unique file type named .verx. These files contain natural language instructions for webpage design. Once these files are interpreted by Verax, it serves the webpage at a path corresponding to the filename.



For instance, a file named signup.verx would be accessible via /signup on the hosted site.



## Seeding 🌱

The seed argument provides consistency across multiple server runs. When a .verx file is interpreted, the AI-driven design might slightly vary between executions. By specifying a seed, you ensure the design remains consistent. Verax manages this internally using .verxcache files that store the compiled HTML for a given seed, ensuring the same appearance each time.



You can choose a different seed by changing the seed number here:

```python

site.set_path('.verx', 15)

```

In this case, 15 is the seed.



## Example .verx file:

```

h1 with title saying 'Hello'

paragraph with text 'Welcome to my AI-driven website!'

```



## Using a Custom Port 🔌

To serve your website on a custom port.

```python

from verax import website



site = website() # Initialize verax



site.set_path('.verx', 1) # Setup homepage



site.run(port=8080) # Host the site on port 8080

```


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "verax",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "ai,webframework,web development,natural language processing,nlp,code generation,dynamic web pages,language interpretation",
    "author": "Dark25 (Ruben Roy)",
    "author_email": "me@ruben-roy.com",
    "download_url": "https://files.pythonhosted.org/packages/6b/84/714128de5d81511981a9867da643444642b18dc7a109ff73c2d68ede8e20/verax-0.0.1.tar.gz",
    "platform": null,
    "description": "\r\n# Verax\r\n\r\n*An simple-to-use AI-driven web framework that interprets natural language code to generate and serve dynamic web pages.*\r\n\r\n\r\n\r\nTransform your ideas into webpages with Verax! Whether you're an experienced developer or just getting started with web design, Verax offers an intuitive way to design and serve web pages using natural language.\r\n\r\n\r\n\r\n## Getting Started \ud83d\ude80\r\n\r\nTo get started, install Verax with pip:\r\n\r\n```bash\r\n\r\npip install verax\r\n\r\n```\r\n\r\n## Basic Website \ud83c\udf10\r\n\r\nSetting up a basic website using Verax:\r\n\r\n```python\r\n\r\nfrom verax import website\r\n\r\n\r\n\r\nsite = website() # Initialize Verax\r\n\r\n\r\n\r\nsite.set_path('.verx', 1) # Setup homepage with specific seed\r\n\r\n\r\n\r\nsite.run(port=8000) # Host the site on port 8000\r\n\r\n```\r\n\r\nVerax uses a unique file type named .verx. These files contain natural language instructions for webpage design. Once these files are interpreted by Verax, it serves the webpage at a path corresponding to the filename.\r\n\r\n\r\n\r\nFor instance, a file named signup.verx would be accessible via /signup on the hosted site.\r\n\r\n\r\n\r\n## Seeding \ud83c\udf31\r\n\r\nThe seed argument provides consistency across multiple server runs. When a .verx file is interpreted, the AI-driven design might slightly vary between executions. By specifying a seed, you ensure the design remains consistent. Verax manages this internally using .verxcache files that store the compiled HTML for a given seed, ensuring the same appearance each time.\r\n\r\n\r\n\r\nYou can choose a different seed by changing the seed number here:\r\n\r\n```python\r\n\r\nsite.set_path('.verx', 15)\r\n\r\n```\r\n\r\nIn this case, 15 is the seed.\r\n\r\n\r\n\r\n## Example .verx file:\r\n\r\n```\r\n\r\nh1 with title saying 'Hello'\r\n\r\nparagraph with text 'Welcome to my AI-driven website!'\r\n\r\n```\r\n\r\n\r\n\r\n## Using a Custom Port \ud83d\udd0c\r\n\r\nTo serve your website on a custom port.\r\n\r\n```python\r\n\r\nfrom verax import website\r\n\r\n\r\n\r\nsite = website() # Initialize verax\r\n\r\n\r\n\r\nsite.set_path('.verx', 1) # Setup homepage\r\n\r\n\r\n\r\nsite.run(port=8080) # Host the site on port 8080\r\n\r\n```\r\n\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "An simple-to-use AI-driven web framework that interprets natural language code to generate and serve dynamic web pages.",
    "version": "0.0.1",
    "project_urls": null,
    "split_keywords": [
        "ai",
        "webframework",
        "web development",
        "natural language processing",
        "nlp",
        "code generation",
        "dynamic web pages",
        "language interpretation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d98803905f600ed303527e05e72efe94b96658c10db2b8110dd9d81d6449f661",
                "md5": "f51ee34b4b86975fc8bc17523c2c14fe",
                "sha256": "b223b1945470b537c970fec15dc9acbcfacf00ba7bd9a5f32c0c68ce05ff6085"
            },
            "downloads": -1,
            "filename": "verax-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f51ee34b4b86975fc8bc17523c2c14fe",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 4499,
            "upload_time": "2023-09-11T03:28:27",
            "upload_time_iso_8601": "2023-09-11T03:28:27.212082Z",
            "url": "https://files.pythonhosted.org/packages/d9/88/03905f600ed303527e05e72efe94b96658c10db2b8110dd9d81d6449f661/verax-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6b84714128de5d81511981a9867da643444642b18dc7a109ff73c2d68ede8e20",
                "md5": "c9e53febeb92a6350d86ab342971f6e8",
                "sha256": "0c68d536fd23998ded7cc8596081647e051055d6559da5513520733181ac6eca"
            },
            "downloads": -1,
            "filename": "verax-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "c9e53febeb92a6350d86ab342971f6e8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4609,
            "upload_time": "2023-09-11T03:28:29",
            "upload_time_iso_8601": "2023-09-11T03:28:29.058421Z",
            "url": "https://files.pythonhosted.org/packages/6b/84/714128de5d81511981a9867da643444642b18dc7a109ff73c2d68ede8e20/verax-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-11 03:28:29",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "verax"
}
        
Elapsed time: 0.29099s