Thread:Manual talk:Pywikipediabot/createitem in rewrite branch

I'm porting my script from trunk to rewrite branch. How can I create item in wikidata?