New plugin available: Automatic IPN generator #6811
LavissaWoW
started this conversation in
Show and tell
Replies: 2 comments 1 reply
-
Hi Lavissa, I tested your plug-in, it isn't working. I recorded a video for it. Can you help me figure it out? ipngenerator.mp4Best, |
Beta Was this translation helpful? Give feedback.
1 reply
-
Nice work ! 🥳 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey folks,
I just released the first version of a plugin that autogenerates IPNs for parts.
https://github.com/LavissaWoW/inventree-ipn-generator
The plugin uses a "regex-like" pattern syntax to define how to generate an IPN.
While "regex-like", the pattern syntax is intuitive and easy to understand.
Patterns consist of any arbitrary combination of the following three categories:
(AB)
- will always beAB
[abf]
- Will cyclea
,b
,f
,a
,b
,f
forever[a-d]
- Will alphabetically cycle the charsa
throughd
.{3}
- Will loop001
-999
{3+}
- Will loop3
-9
foreverMore in-depth examples are available in the plugin's repository
The plugin is available on PyPi, so it can be installed as
inventree-ipn-generator
either viapip
or your plugins.txt fileBeta Was this translation helpful? Give feedback.
All reactions