
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Interactively explore MADX lattices by tweaking lattice parameters and observing the effect on lattice functions.
This is an application to interactively visualize MADX lattices by tweaking corresponding lattice parameters and observing the effect on lattice functions such as Beta functions or the resulting orbit.
The application can be installed from the Python Package Index (PyPI):
.. code-block:: text
pip install lattice-explorer
The application can be started by invoking the installed package from the command line:
.. code-block:: text
python -m lattice_explorer
It requires a single argument which is a file path to the MADX file containing the lattice definition.
The application then spawns two windows, one containing the lattice plots and general control elements and the other containing specific control elements for the lattice parameters (e.g. kicker and quadrupole strength). Changing a lattice parameter in the controls window, automatically updates the plots in the other window.
The plot window contains options for toggling usage of BETA0
command, or activating aperture or envelope
elements in the plot orbit canvas.
The option "Freeze" copies the current plots in either the Twiss or the Orbit canvas and diplays them as dashed lines. When lattice parameters are changed now, only the continuous lines change, and the dashed lines remain to indicate the previous lattice functions which helps to compare two settings.
Customization
The application can be customized by providing various parameters, an overview of which can be obtained via
.. code-block:: text
python -m lattice_explorer --help
These parameters can be provided as optional arguments like the following:
.. code-block:: text
python -m lattice_explorer <path-to-madx-file> --canvas-figsize-inches 9.6 4.8
Example Screenshots
The Plots Window:
.. image:: https://gitlab.com/Dominik1123/lattice-explorer/-/raw/master/screenshot_plot_window.png?inline=false
The Controls Window:
FAQs
Interactively explore MADX lattices by tweaking lattice parameters and observing the effect on lattice functions.
We found that lattice-explorer 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.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.