
Security News
Opengrep Adds Apex Support and New Rule Controls in Latest Updates
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
[!IMPORTANT]
Warning: work in progress. until complete, please use github.com/dotenvx/dotenvx directly.
see python examples
a better dotenv–from the creator of dotenv
.
Install and use it in code just like python-dotenv
.
pip install python-dotenvx
Then run dotenvx-postinstall
to install the dotenvx
binary (python-dotenvx is a wrapper).
dotenvx-postinstall
# or to specify the os-arch – useful for building binaries to a specific target such as linux-x86_64 on aws lambda
dotenvx-postinstall --os linux --arch x86_64
# you might also find you need to specify PYTHONPATH depend on how/where dotenvx installs to
PYTHONPATH=. bin/dotenvx-postinstall --os linux --arch x86_64
Then use it in code.
# main.py
import os
from dotenvx import load_dotenvx
load_dotenvx() # take environment variables from .env.
print(os.getenv("S3_BUCKET"))
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
dotenv_path
and override
arguments (#4)os
and arch
on dotenvx-postinstall
dotenvx
binary install across multiple edge casesdotenvx
binary on demanddotenvx
binary on install of the python packagePlease see commit history.
FAQs
[dotenvx.com] a better dotenv–from the creator of `dotenv`
We found that python-dotenvx 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
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.