Shangzheng 觴政 "Regiment of the beaker" was written during the Ming period 明 (1368-1644) by Yuan Hongdao 袁宏道 (1586-1610), courtesy name Zhonglang 中郎 or Wuxue 無學, style Shigong 石公. He hailed from Gong'an 公安, Hubei, and rose to the office of sectional director of the Ministry of Personnel (libu langzhong 吏部郎中). Together with his brothers Yuan Zongdao 袁宗道 (1560-1600) and Yuan Zhongdao 袁中道 (1570-1626; the Three Yuan 三袁) he founded the so-called Gong'an School 公安派 of Ming-period writers. He also wrote the book Pinghuazhai zalu 瓶花齋雜錄. His collected writings are called Yuan Zhonglang ji 袁中郎集.
The short book Shangzheng includes sixteen chapters that mainly quote from ancient texts on drinking games (jiuling 酒令), but the author himself added a few contemporary customs. Zhu Guozhen 朱國楨 (1557-1632) once said that Yuan Hongdao was not a great drinker, but was good at talking about wine.
The Shangzheng is included in the series Baichuan xuehai 百川學海, Chongding Xinshangbian 重訂欣賞編, Baoyantang miji 寶顏堂秘笈, Chengshi congke 程氏叢刻 and Shuofu 說郛.