Latin squares and related designs
mhenderson / ryser Goto Github PK
View Code? Open in Web Editor NEWLatin squares and related designs.
Home Page: https://pypi.org/project/ryser/
License: MIT License
Latin squares and related designs.
Home Page: https://pypi.org/project/ryser/
License: MIT License
A lot was removed with commit fe84f65
Make a plan and some issues to re-instate some of that functionality.
This provides a good example:
https://github.com/MHenderson/ryser/tree/2bfaa4083cb108ef451e9d7b51cc6a60e62eefae
But some of the code shouldn't live inside the package. Experiments should have their own repos.
The old projectsdoc project has some more examples as well.
import ryser
a = ryser.Latin({1:1, 12:3}, 9)
AttributeError Traceback (most recent call last)
<ipython-input-11-5e79bc83ef6a> in <module>()
----> 1 a.row_absences(1)
/usr/local/lib/python3.6/dist-packages/ryser/__init__.py in row_absences(self, row_index)
176 for x in presences:
177 if x in result:
--> 178 result.remove(x)
179 return result
180
AttributeError: 'range' object has no attribute 'remove'
Add a NEWS file
import ryser
a = ryser.Latin({1:1, 12:3}, 9)
a[1,1]
KeyError Traceback (most recent call last)
<ipython-input-19-73b9fe84793e> in <module>()
----> 1 a[1,1]
/usr/local/lib/python3.6/dist-packages/ryser/__init__.py in __getitem__(self, key)
153
154 def __getitem__(self, key):
--> 155 return self._P[cell(key[0], key[1], self._size)]
156
157 def size(self):
KeyError: 11
Just like I did with the listcolouring package
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.