upload python patterns