Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
SEO tool for adding permalinks to text contained in Django apps databases.
PACKAGE RENAMED AND MOVED TO: https://pypi.python.org/pypi/internal_links
This package will be preserved for backward compatibility with current users, but won't be developed anymore under this name.
SEO tool for adding permalinks to text contained in Django apps databases.
Install with pip:
::
pip install permalink_adder
You need to specify where and what to look for in your Django app's settings in this manner:
::
PERMALINK_ADDER_SETTINGS = [{'app': 'your_app_name',
'model_name': 'your_model_name',
'fields': ['list', 'of', 'fields', 'in', 'which', 'script', 'should', 'search'],
'words': ['list', 'of', 'words', 'to', 'search'],
'url': 'url_that_should_be_wrapped_around_found_text'}]
Starting script with option --start
will actually apply changes to
database, instead of printing them out.
You can run the script either using add_permalinks
management
command or call permalink_adder
function from adder.py
module.
No output if there are no occurrences of words or when they're already wrapped.
Without --start
option, script will only print out proposed changes.
FAQs
SEO tool for adding permalinks to text contained in Django apps databases.
We found that permalink_adder 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 initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.