GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - greglum/python-sdk

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

50 Commits
50 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
python/ai-server
python/ai-server
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 

Repository files navigation

DEV INSTRUCTIONS

Installation

When working with the project, you should create a virtual environment to install the dependencies in the ai-server directory.

PYTHON

python -m venv venv
venv\Scripts\activate

Install the dependencies:

Navigate to the src directory and run the following command:

pip install -r requirements-dev.txt

If you have a problem with the installation, you can try to install the dependencies one by one.

Install the package in editable mode:

Navigate to the src directory and run the following command:

pip install -e .

This will allow you to make changes to the package and have them reflected in your environment without having to reinstall the package.

VSCode Setup

  1. Install the Python extension for VSCode.
  2. Install the Python Debugger Extension for VSCode.
  3. Install Pylance for VSCode.
  4. Install Black Formatter Extension from Microsoft for VSCode.
    • Once downloaded, open the setting ctrl+shift+p and then search Open User Settings (JSON)
    • Add the following to the JSON file.
      "[python]": {
    "editor.formatOnType": true,
    "editor.defaultFormatter": "ms-python.black-formatter",
    "editor.formatOnSave": true
    },
    
  5. Set your Python interpreter to the virtual environment you created.
  6. To run notebooks inside of VSCode you can install the Jupyter extension. (Optional)

Running Scripts

The .vscode/settings.json file allows you to execute scripts directly inside of VSCode. Make sure to set your Python interpreter to the virtual environment you created. Then, with a file open, you can use the play button to run the script.

Best Practices

  • Create a new branch for each feature or bug fix.
  • Use absolute imports when importing from the ai_server package.
  • Run unit tests before making a pull request. (See TESTING.md for instructions)
  • Update requirements-dev.txt, pyproject.toml, and setup.py if you add new dependencies.

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.