pystatic-language


Namepystatic-language JSON
Version 1.1.3 PyPI version JSON
download
home_pagehttps://github.com/Shahaf-F-S/pystatic
SummaryThis package is a collection of methods and classes for making python more secure, robust, and reliable. This could be achieved through the simple usage of decorators, function calls and inheritance of base classes. Generally, this package can make python a programming language, closer to other static-typed languages, without losing python's dynamic powerful features and.
upload_time2023-09-08 16:10:35
maintainer
docs_urlNone
authorShahaf Frank-Shapir
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pystatic

> This package is a collection of methods and classes for making python more secure, robust, and reliable.
> This could be achieved through the simple usage of decorators, function calls and inheritance of base classes.
> Generally, this package can make python a programming language, closer to other static-typed languages, 
> without losing python's dynamic powerful features and.

first of all
------------

#### specifics:

- writen and owned by: Shahaf Frank-Shapir
- all the rights are saved for: Shahaf Frank-Shapir
- programming languages: python 3.9.12 (100%)

before we start
---------------

#### description:

> This package contains the following systems to be embedded in any python codebase:
> 
> - overloading: Functions and methods (static, class and instance) 
> can have the same name yet different arguments' signature 
> (different arguments - different names or same names and difference 
> in type hints.) through the usage of the overload decorator on top 
> of the base function\method and inherit from the overloading 
> protocol class, when the usage is made in a class.
>
> - privacy: Attributes of classes and instances can now be private 
> in a way that prevents getting access to them in the traditional 
> ways, as well as the more shady ones This can be used whn a class 
> inherits from the private property protocol, or the private attributes 
> being defined as private using the private descriptor.
>
> - cleaning: Cleaning of unnecessary objects, values, imported namespaces 
> from your modules, so an object imported into a module cannot be 
> imported with anything else that is written inside the module. 
> Essentially, enforcing what can and cannot be imported from you modules.
>
> - scope protection: The protection of attributes that are being accessed 
> from outside their class scope, so they couldn't be modified there.
>
> - automatic dynamic type checking and enforcement: decorators 
> and functions to check at run-time is the type, and structure of 
> types of the object equals to any type hint This can be done for 
> functions at every call for all the parameters, sing a decorator, 
> or manually, calling a function on a variable.

#### dependencies:

- opening:
  As for this is a really complex program, which uses a lot of modules, there are required dependencies needed
  in order to run the program. keep in mined the program was writen in python 3.9, so any python version lower
  than 3.8 might not work properly. Moreover, built-in python modules are being used, so keep that in mind.

- install app dependencies by writing the "-r" option to install the requirements
  writen in a file, and write the following line in the project directory:
````
pip install -r requirements.txt
````

run a test
-----------

#### run from windows command line (inside the project directory)
- run with python by writing to the command line in the project directory:
````
python test.py
````

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Shahaf-F-S/pystatic",
    "name": "pystatic-language",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Shahaf Frank-Shapir",
    "author_email": "shahaffrs@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b9/a7/f374fc52ebca28f91f6e50903d6116596f1292232e7a3e5a43efbf6c2754/pystatic-language-1.1.3.tar.gz",
    "platform": null,
    "description": "# pystatic\r\n\r\n> This package is a collection of methods and classes for making python more secure, robust, and reliable.\r\n> This could be achieved through the simple usage of decorators, function calls and inheritance of base classes.\r\n> Generally, this package can make python a programming language, closer to other static-typed languages, \r\n> without losing python's dynamic powerful features and.\r\n\r\nfirst of all\r\n------------\r\n\r\n#### specifics:\r\n\r\n- writen and owned by: Shahaf Frank-Shapir\r\n- all the rights are saved for: Shahaf Frank-Shapir\r\n- programming languages: python 3.9.12 (100%)\r\n\r\nbefore we start\r\n---------------\r\n\r\n#### description:\r\n\r\n> This package contains the following systems to be embedded in any python codebase:\r\n> \r\n> - overloading: Functions and methods (static, class and instance) \r\n> can have the same name yet different arguments' signature \r\n> (different arguments - different names or same names and difference \r\n> in type hints.) through the usage of the overload decorator on top \r\n> of the base function\\method and inherit from the overloading \r\n> protocol class, when the usage is made in a class.\r\n>\r\n> - privacy: Attributes of classes and instances can now be private \r\n> in a way that prevents getting access to them in the traditional \r\n> ways, as well as the more shady ones This can be used whn a class \r\n> inherits from the private property protocol, or the private attributes \r\n> being defined as private using the private descriptor.\r\n>\r\n> - cleaning: Cleaning of unnecessary objects, values, imported namespaces \r\n> from your modules, so an object imported into a module cannot be \r\n> imported with anything else that is written inside the module. \r\n> Essentially, enforcing what can and cannot be imported from you modules.\r\n>\r\n> - scope protection: The protection of attributes that are being accessed \r\n> from outside their class scope, so they couldn't be modified there.\r\n>\r\n> - automatic dynamic type checking and enforcement: decorators \r\n> and functions to check at run-time is the type, and structure of \r\n> types of the object equals to any type hint This can be done for \r\n> functions at every call for all the parameters, sing a decorator, \r\n> or manually, calling a function on a variable.\r\n\r\n#### dependencies:\r\n\r\n- opening:\r\n  As for this is a really complex program, which uses a lot of modules, there are required dependencies needed\r\n  in order to run the program. keep in mined the program was writen in python 3.9, so any python version lower\r\n  than 3.8 might not work properly. Moreover, built-in python modules are being used, so keep that in mind.\r\n\r\n- install app dependencies by writing the \"-r\" option to install the requirements\r\n  writen in a file, and write the following line in the project directory:\r\n````\r\npip install -r requirements.txt\r\n````\r\n\r\nrun a test\r\n-----------\r\n\r\n#### run from windows command line (inside the project directory)\r\n- run with python by writing to the command line in the project directory:\r\n````\r\npython test.py\r\n````\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "This package is a collection of methods and classes for making python more secure, robust, and reliable. This could be achieved through the simple usage of decorators, function calls and inheritance of base classes. Generally, this package can make python a programming language, closer to other static-typed languages, without losing python's dynamic powerful features and.",
    "version": "1.1.3",
    "project_urls": {
        "Homepage": "https://github.com/Shahaf-F-S/pystatic"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b9a7f374fc52ebca28f91f6e50903d6116596f1292232e7a3e5a43efbf6c2754",
                "md5": "480ea431c4c29e6c45cd5f0c13a045a7",
                "sha256": "225e78af6b0395960c9c1880032242f7fc70aec20021355862c0ff2d59c3f435"
            },
            "downloads": -1,
            "filename": "pystatic-language-1.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "480ea431c4c29e6c45cd5f0c13a045a7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 12665,
            "upload_time": "2023-09-08T16:10:35",
            "upload_time_iso_8601": "2023-09-08T16:10:35.834548Z",
            "url": "https://files.pythonhosted.org/packages/b9/a7/f374fc52ebca28f91f6e50903d6116596f1292232e7a3e5a43efbf6c2754/pystatic-language-1.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-08 16:10:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Shahaf-F-S",
    "github_project": "pystatic",
    "github_not_found": true,
    "lcname": "pystatic-language"
}
        
Elapsed time: 1.34743s