Coder Social home page Coder Social logo

Arbitrary Shells? about try HOT 4 CLOSED

timofurrer avatar timofurrer commented on May 18, 2024
Arbitrary Shells?

from try.

Comments (4)

timofurrer avatar timofurrer commented on May 18, 2024

I was thinking about that too! Are you talking about ptipython? If not .. from where can I get it?

The question is how we make sure the shell is installed in the created virtualenv. For ipython and ptpython it's not a problem (we can just pip-install those). But it's a problem with ptipython because it only runs if ipython and ptpython are installed.

I don't really want to hardcode this dependency. The easiest thing I could think of right now is to publish a package on PyPI called ptipython which acts as a metapackage to install ipython and ptpython which I'm not really a fan of ;)

Any ideas?

from try.

timofurrer avatar timofurrer commented on May 18, 2024

I've implemented a --shell option to specify an arbitrary shell to launch. However, this does not solve the issue with ptipython. Do you have thoughts about it?

It's released with version 0.1.6!

from try.

timofurrer avatar timofurrer commented on May 18, 2024

I just uploaded the following metapackage to PyPI: https://pypi.python.org/pypi/ptipython

This should solve the issue for now. I would be more than happy to remove this package as soon as we've got a better solution.

Use ptipython:

try requests --shell ptipython

from try.

mknecht avatar mknecht commented on May 18, 2024

Sorry burried in work … woah @timofurrer you're too fast. :)

Yes, I meant ptipython (without tab-completion my spelling's worthless)

And, honestly, I'd have thought that it's my fault for specifying a shell I don't have. This is awesome, though. Upgraded, thank you! :)

from try.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.