Code Monkey home page Code Monkey logo

pwk's Introduction

Build Status Java CI with Maven

UMLet

UMLet is an open-source UML tool with a simple user interface: draw UML diagrams fast, export diagrams to eps, pdf, jpg, svg, and clipboard, share diagrams using Eclipse, and create new, custom UML elements.

pwk's People

Contributors

0xflotus avatar addisonhardy avatar umlet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pwk's Issues

"Here, we list all subfolders in the root directory,"

We can use pwk in an awk-like way. Here, we list all subfolders in the root directory, and ignore exceptions on files not being directories:

This one gives a dump to the console that, as an example of use, doesn't map to things people might want to do regularly:

[]
[]
['prepared', 'data8']
['vagrant', 'X11']
['etc', 'var', 'tmp', 'tftpboot']

I don't think people need a list of the contents of the (language improvement) subfolders of the root directory, in that style.

Could this be replaced with a better example? Something more fitting if a pipe-using sequence of unix commands?

Package manager installs

pwk is a single-file app. Just download and chmod it, and you should be good to go.

Is insufficient. People want Homebrew style installs so they can keep up with your big fixes and enhancements.

Request: Setting up a Config file

Hello, I've been playing around with your package and I've loved I'm loving it so far!

I would, however, like to have an option in the cli to include a config file that would be expand the code's namespace.

Example:

# Config file ensures my path file exists and I can easily do something with it
# My aliases are also conveniently saved
pathlib import Path
P = print
if not (some_file := Path('./some_file')).exists():
    raise Exception("some_file doesn't exist!")
$ pwk '[P(line) for line in some_file.open().readlines())]' --config ./path/to/pwk_cfg.py

I'm currently working on this feature on my own fork; and would like to know if you'd be interested in a PR.

Why not edit pwk directly

This would allow me to have multiple config files for different projects, making it more convenient than hopping over to /usr/bin/pwk and editing the file directly or copy-pasting it everywhere.

What about name conflicts, won't this make it trickier to develop pwk itself?

We can pass the environment over to exec directly like so:

exec(python_cmd, {**globals, **vars_from_config})

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.