You can buy portable heaters and air conditioners, plug them in inside your own apartment, and pay the power bill. The AC needs a way to exchange air with the outside but that can be accommodated with a window.
Two hose is better but not perfect. The problem is the compressor body is still inside and shedding some of it's heat inside the cooling area. If your need is temporary, the inefficiency is acceptable - otherwise go with a mini split.
Mini split is better if you can install it and don’t want to install a central AC for whatever reason. I don’t think you can usually install a mini split in a rental though.
Window AC units are preferable to two hose because the compressor side hangs outside the window (and can drip the condensed water) but sometimes you don’t have double hung windows or your landlord doesn’t allow window AC units.
Both should go outside. One should take in outside air to blow over the coils and the other to return that air back outside with the extra heat from inside. All movement of inside air should be over the other side of the condenser and not go outside or come from outside
I’m aware of this. But I lived in apartments without central AC for years, and for various reasons was unable to install a window unit. A portable AC is still significantly better than no AC at all.