title: Is it possible to create Blender file (.blend) programmatically with Python?
body: <p>I know Python is the standard scripting language for use inside Blender, but I didn't find a way to create a .blend file with python.</p>
  
  <p>What I want to do is not to use python inside blender, but rather "use blender (libs?) inside python".</p>
  
  <p>My planned workflow would be the following:</p>
  
  <ol>
  <li>Define some parameters for my model;</li>
  <li>Define a "generative recipe" to create appropriate Blender objects that will be saved to file;</li>
  <li>Create a python script to store the parameters and procedures. When the script runs, some .blend file is created in the same folder;</li>
  <li>Use Blender to visualize the model. If model needs to be changed, make changes to the script, run it again, and open it again.</li>
  </ol>