[Using "project1" and "project2" can be clumsy, so I'm going to call them Alpha and Beta instead. There are some minor changes to word-order because of that.]
The list of projects isn't essential to the sentence (if the reference to "the latter" is removed as well):
As you can see, there are two projects, where Beta uses the global wrapper functions defined in project Alpha.
To insert something into that sentence, put it in parenthesis — either using brackets or commas or dashes:
As you can see, there are two projects, Alpha and Beta, where the latter uses the global wrapper functions defined in project Alpha.
As you can see, there are two projects (Alpha and Beta) where the latter uses the global wrapper functions defined in project Alpha.
As you can see, there are two projects — Alpha and Beta — where the latter uses the global wrapper functions defined in project Alpha.
With this, a pedant would say that you cannot use "the latter" to refer to Beta. Parenthetical content should be able to be removed without changing the sense of the sentence.
It's actually easier to read if you repeat the word Beta, because the reader doesn't have to go back to find out what "the latter" is. And it satisfies the pedants. I like dashes, but commas would work.
As you can see, there are two projects — Alpha and Beta — where Beta uses the global wrapper functions defined in project Alpha.