coderick14 / acedit Goto Github PK
View Code? Open in Web Editor NEWA command line tool to run your code against sample test cases. Without leaving the terminal :)
Home Page: https://pypi.org/project/ACedIt/
License: MIT License
A command line tool to run your code against sample test cases. Without leaving the terminal :)
Home Page: https://pypi.org/project/ACedIt/
License: MIT License
collections.Callable
is not supported for python versions 3.10+
.acedit --run {filename}.cpp -c {contest_number} -p {division}
results in the following error:
AttributeError: module 'collections' has no attribute 'Callable'
collections.Callable
has been moved to collections.abc.Callable in python 3.10+. A hacky solution is to add the reference back to collections
before importing the problem library.I PR'd --add-test, but sometimes it'll be more convenient to modify test by number the same way as adding rather than modifying ~/.cache/ACedIt/.../Input
Extract methods scrape_problem
, scrape_contest
and handle_batch_requests
into a base class and make the specific platform classes inherit from it.
Also, remove dependency on grequests
, since it breaks requests
depending on the order of import (see issue). The order of imports could be reversed, but the same can be implemented with threading
and has the added advantage of reducing the dependency on a third party library.
If program is running close to TL it is critical
Need to update code to correctly parse Codechef API results, since it's been updated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.