Security News
How Threat Actors are Abusing GitHub’s File Upload Feature to Host Malware
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
zydmayday-pamda
Readme
This is a repo try to copy https://github.com/ramda/ramda in python.
For whom wants to use this package.
> pip install zydmayday-pamda
> pip install zydmayday-pamda -U # get the latest
>>> from pamda import curry
>>> def sum(a, b, c): return a + b + c
>>> curry(sum)(1)(2, 3)
6
>>> import pamda as R # similar to ramda syntax
>>> def sum(a, b, c): return a + b + c
>>> R.curry(sum)(1)(2, 3)
6
For whom wants to contribute to this repo.
# see: https://pre-commit.com/ for more details
$ pre-commit install # install hooks
Check the latest branch to be released in here.
Checkout new branch from that release branch and create PR.
Functions supported now.
# different from ramda, ramda treat null as 0
>>> R.add(None, None) # float('nan)
and
is a keyword in python)# When using R.keys(obj) and obj is a class instance, we use obj.__dict__ as keys.
class A:
c = 'not included'
def __init__(self):
self.a = 1
self.b = 2
a = A()
R.keys(a) # ['a', 'b']
map
is a keyword in python)FAQs
A small clone of ramda
We found that zydmayday-pamda 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
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.