Comments (3)
Currently, the .staffeli.yml
you get under the students
directory will include a kuid
field, synthesized from the login_id
field provided by Canvas. So you can now specialize something like this into a command-line script, assuming you are in the students
directory:
>>> import yaml
>>> data = yaml.load(open('.staffeli.yml'))['students']
>>> find_kuids = lambda name: [s['kuid'] for s in data if name.lower() in s['name'].lower()]
>>> find_names = lambda kuid: [s['name'] for s in data if kuid.lower() == s['kuid']]
from staffeli.
Ah, thanks for the tip.
For now grep --context=5
is doing an excellent job.
from staffeli.
Or that. It is a design goal of staffeli to enable one to tackle Canvas-related tasks from many different angles (= languages).
from staffeli.
Related Issues (20)
- Use junctions instead of symlinks on Windows HOT 1
- Integration with Google Drive may be surprisingly easy HOT 1
- typing module is required by package but not in setup.py
- Login using OAuth2
- Make contrib/groups/* safer and more well-documented HOT 2
- Installation instructions with virtualenv
- Staffeli CLI 'staffeli clone' should let you pick destination directory HOT 1
- A documented workflow for handling resubmissions HOT 1
- Staffeli should not silently use the message 'See attached files' if I pass neither -m nor -f when correcting HOT 1
- `staffeli fetch subs/N` creates 'new-download' when files match exactly.
- More informative name than "Assignment 2 Group 071" HOT 1
- Require explicit command-line option for empty feedback HOT 2
- Clarify/redo design HOT 10
- Canvas API functions for submissions
- Improve StudentList class
- Python vs. Golang vs. Rust — I think we're sticking with Python HOT 4
- Moving HOT 1
- `staffeli grade` does not parse attachments correctly HOT 1
- Consider using CanvasAPI HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from staffeli.