language-local


Namelanguage-local JSON
Version 0.0.9 PyPI version JSON
download
home_pagehttps://github.com/circles-zone/language-local-python-package
Summary
upload_time2024-01-01 13:40:14
maintainer
docs_urlNone
authorCircles
requires_python
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # python-package-template
To create local package and remote package layers (not to create GraphQL and REST-API layers)

# directory structure
Root directory should have only .github/, ,gitignore, README.md and the project directory (i.e. location_local_python_package same as repo) - This will allow is to easily switch to mono repo<br> 
/location_local<br>
/location_local/get_country_name<br>
/location_local/get_country_name/src<br>
/location_local/get_country_name/src/get_country_name.py<br>
/location_local/get_country_name/tests<br>
/location_local/get_country_name/tests/get_country_name_test.py<br>

# database Python scripts in /db folder
Please place <table-name>.py in /db<br>
No need for seperate file for _ml table<br>
Please delete the example file if not needed<br>
  
# Create the files to create the database schema, tables, view and populate metadata and Test-Data
/db/<table-name>.py - CREATE SCHEMA ... CREATE TABLE ... CREATE VIEW ... including _ml_table<br>
/db/<table-name>_insert.py to create metadata and Test-Data records

# Update the setup.py (i.e.name, version)
 
# Please create test directory inside the directory of the project i.e. /<project-name>/tests

# Update the serverless.yml in the root directory
provider:
  stage: play1
  
Update the endpoints in serverless.yml

# Working with VS Code
Please make sure you push to the repo launch.json fie that enables to run and debug the code<br>

# Unit-Test
We prefer using pytest and not unittest package<br>

Please create pytest.init in the project-directory and not in the root directory
```
[pytest]
markers =
    test: custom mark for tests
```

# When you took care of all the TODOs in the repo, using our infrastructure classes (i.e. Logger, Database, Url, Importer ...) your Feature Branch GitHub Actions Workflow is Green without warnings, all tests are running in GHA, code is documented, README.md is clean and self explained, test coverage is above 90% and all your lines are covered with Unit-Tests, you can filter and analyse your records in Logz.io, pull dev to your Feature Branch and only then create Pull Request to dev

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/circles-zone/language-local-python-package",
    "name": "language-local",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Circles",
    "author_email": "info@circles.life",
    "download_url": "https://files.pythonhosted.org/packages/e7/fb/6e346cfb89cba5a77bed714445bfcb0a57907da3c866ea645a1c24a433fb/language-local-0.0.9.tar.gz",
    "platform": null,
    "description": "# python-package-template\nTo create local package and remote package layers (not to create GraphQL and REST-API layers)\n\n# directory structure\nRoot directory should have only .github/, ,gitignore, README.md and the project directory (i.e. location_local_python_package same as repo) - This will allow is to easily switch to mono repo<br> \n/location_local<br>\n/location_local/get_country_name<br>\n/location_local/get_country_name/src<br>\n/location_local/get_country_name/src/get_country_name.py<br>\n/location_local/get_country_name/tests<br>\n/location_local/get_country_name/tests/get_country_name_test.py<br>\n\n# database Python scripts in /db folder\nPlease place <table-name>.py in /db<br>\nNo need for seperate file for _ml table<br>\nPlease delete the example file if not needed<br>\n  \n# Create the files to create the database schema, tables, view and populate metadata and Test-Data\n/db/<table-name>.py - CREATE SCHEMA ... CREATE TABLE ... CREATE VIEW ... including _ml_table<br>\n/db/<table-name>_insert.py to create metadata and Test-Data records\n\n# Update the setup.py (i.e.name, version)\n \n# Please create test directory inside the directory of the project i.e. /<project-name>/tests\n\n# Update the serverless.yml in the root directory\nprovider:\n  stage: play1\n  \nUpdate the endpoints in serverless.yml\n\n# Working with VS Code\nPlease make sure you push to the repo launch.json fie that enables to run and debug the code<br>\n\n# Unit-Test\nWe prefer using pytest and not unittest package<br>\n\nPlease create pytest.init in the project-directory and not in the root directory\n```\n[pytest]\nmarkers =\n    test: custom mark for tests\n```\n\n# When you took care of all the TODOs in the repo, using our infrastructure classes (i.e. Logger, Database, Url, Importer ...) your Feature Branch GitHub Actions Workflow is Green without warnings, all tests are running in GHA, code is documented, README.md is clean and self explained, test coverage is above 90% and all your lines are covered with Unit-Tests, you can filter and analyse your records in Logz.io, pull dev to your Feature Branch and only then create Pull Request to dev\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "",
    "version": "0.0.9",
    "project_urls": {
        "Homepage": "https://github.com/circles-zone/language-local-python-package"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "889ad97cf11c6a1800d8a5a434720788bf22ed62494739e9a482237185f6ddc4",
                "md5": "d8b25741078c096358d2b323474d8cf0",
                "sha256": "b03ca10dd48d31e62f05a5ef85ccfdbce499f8343a100c96ad8e4b26b3ed6812"
            },
            "downloads": -1,
            "filename": "language_local-0.0.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d8b25741078c096358d2b323474d8cf0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4819,
            "upload_time": "2024-01-01T13:40:12",
            "upload_time_iso_8601": "2024-01-01T13:40:12.065352Z",
            "url": "https://files.pythonhosted.org/packages/88/9a/d97cf11c6a1800d8a5a434720788bf22ed62494739e9a482237185f6ddc4/language_local-0.0.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e7fb6e346cfb89cba5a77bed714445bfcb0a57907da3c866ea645a1c24a433fb",
                "md5": "aca74302aa126f5b60e95ab0915c04af",
                "sha256": "30fb78964f169fcc6938153fccc280b0b9e6e9ffbe4dd3514568ff723ce29c5d"
            },
            "downloads": -1,
            "filename": "language-local-0.0.9.tar.gz",
            "has_sig": false,
            "md5_digest": "aca74302aa126f5b60e95ab0915c04af",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5093,
            "upload_time": "2024-01-01T13:40:14",
            "upload_time_iso_8601": "2024-01-01T13:40:14.587810Z",
            "url": "https://files.pythonhosted.org/packages/e7/fb/6e346cfb89cba5a77bed714445bfcb0a57907da3c866ea645a1c24a433fb/language-local-0.0.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-01 13:40:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "circles-zone",
    "github_project": "language-local-python-package",
    "github_not_found": true,
    "lcname": "language-local"
}
        
Elapsed time: 0.95831s