
Security News
CISA Rebuffs Funding Concerns as CVE Foundation Draws Criticism
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
mixed-methods
Mixed methods.
Python 3.8 or above is required.
Installing the library with pip
is quite simple:
$ pip install mixed-methods
Alternatively, the library can be installed from source:
$ git clone https://github.com/nekitdev/mixed-methods.git
$ cd mixed-methods
$ python -m pip install .
You can add mixed-methods
as a dependency with the following command:
$ poetry add mixed-methods
Or by directly specifying it in the configuration like so:
[tool.poetry.dependencies]
mixed-methods = "^1.1.1"
Alternatively, you can add it directly from the source:
[tool.poetry.dependencies.mixed-methods]
git = "https://github.com/nekitdev/mixed-methods.git"
# main.py
from mixed_methods import mixed_method
class Type:
@classmethod
def type_method(cls) -> int:
return 13
def instance_method(self) -> int:
return 42
method = mixed_method(type_method, instance_method)
>>> from main import Type
>>> Type.method()
13
>>> instance = Type()
>>> instance.method()
42
You can find the documentation here.
If you need support with the library, you can send an email or refer to the official Discord server.
You can find the changelog here.
You can find the Security Policy of mixed-methods
here.
If you are interested in contributing to mixed-methods
, make sure to take a look at the
Contributing Guide, as well as the Code of Conduct.
mixed-methods
is licensed under the MIT License terms. See License for details.
FAQs
Mixed methods.
We found that mixed-methods demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.
Product
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.