summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* Advance copyright statement to year 2020Ilya Etingof2020-03-081-1/+1
|
* Drop support for EOL Pythons (#131)Jon Dufresne2019-11-162-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 2.4, 2.5, 2.6, 3.2 and 3.3 are end of life. They are no longer receiving bug fixes, including for security issues. These Pythons went EOL on: Python 2.6: 2013-10-29 Python 3.2: 2016-02-20 Python 3.3: 2017-09-29 For additional details on supported Python versions, see: https://devguide.python.org/#status-of-python-branches Removing support for EOL Pythons will reduce testing and maintenance resources. Using pypinfo, here are the download statistics of the project for the last 30 days, showing limited downloads from EOL Pythons: | python_version | percent | download_count | | -------------- | ------: | -------------: | | 2.7 | 90.33% | 7,975,885 | | 3.6 | 4.95% | 437,261 | | 3.5 | 2.99% | 263,637 | | 3.4 | 1.02% | 89,723 | | 2.6 | 0.69% | 60,511 | | 3.7 | 0.02% | 2,024 | | 3.3 | 0.00% | 441 | | 3.2 | 0.00% | 38 | | 3.8 | 0.00% | 9 | | None | 0.00% | 2 | By removing support for older Pythons, can remove or update the following workarounds and code: * Built-in function bin() is always available. * Built-in function callable() is always available. * Built-in function all() is always available. * The collections.OrderedDict class is always available. * The datetime.strptime() method is always available. * The platform module is always available. * The string.partition() method is always available. * The NullHandler class is always available. * The method .__trunc__() is always available. * Can use set literals. * Updated unittest is always available. The unittest2 module is unnecessary. Users on older versions of Python can continue to download, install, and use older versions of the library that continue to have support for older Pythons.
* Add `SET ... WITH COMPONENTS ...` ASN.1 construct support (#171)Ilya Etingof2019-08-273-1/+18
| | | | | | Added `WithComponentsConstraint` along with related `ComponentPresentConstraint` and `ComponentAbsentConstraint` classes to be used with `Sequence`/`Set` types representing `SET ... WITH COMPONENTS ...` like ASN.1 constructs.
* Deprecate `sizeSpec` in favor of `subtypeSpec` (#172)Ilya Etingof2019-08-256-11/+11
| | | | | | | | | | | | | | This commit deprecates `subtypeSpec` attributes and keyword argument. It is now recommended to pass `ValueSizeConstraint`, as well as all other constraints, to `subtypeSpec`. By way of the change mentioned above, this commit fixes a design bug in a way of how the items assigned to constructed types are verified. Now if `Asn1Type`-based object is assigned, its compatibility is verified based on having all tags and constraint objects as the type in field definition. When a bare Python value is assigned, then field type object is cloned and initialized with the bare value (constraints verificaton would run at this moment).
* Add `isInconsistent` property hook to all constructed types (#170)Ilya Etingof2019-08-256-6/+6
| | | | | | | Added `isInconsistent` property to all constructed types. This property conceptually replaces `verifySizeSpec` method to serve a more general purpose e.g. ensuring all required fields are in a good shape. By default this check invokes subtype constraints verification and is run by codecs on value de/serialisation.
* Release 0.4.6v0.4.6Ilya Etingof2019-07-311-1/+1
|
* Document base ASN.1 typesIlya Etingof2019-07-137-4/+57
| | | | Also many fixes here and there to docs and docstrings.
* Add exception classes documentationIlya Etingof2019-07-132-0/+73
| | | | Also fix references to exception objects in other docstrings.
* Add docstring for `.reset()` and `.clear()` methodsIlya Etingof2019-07-134-4/+5
|
* Add more docs on `OpenType` (#166)Ilya Etingof2019-07-096-28/+97
| | | | This change adds more explanations and examples on ASN.1 ANY DEFINED BY syntax (OpenType).
* Release 0.4.5v0.4.5Ilya Etingof2018-12-291-1/+1
| | | | Also extend copyright to the year 2019
* Fix the entrypoint of asn1ate (#145)nde2018-10-171-1/+1
| | | Use `asn1ate` entry point in the documentation.
* Fix typo in example-use-case.rstIlya Etingof2018-08-071-1/+1
|
* bumped up to Python 3.7Ilya Etingof2018-06-291-1/+1
|
* Migrate to new PyPI websiteIlya Etingof2018-04-212-2/+2
|
* copyright years extendedIlya Etingof2018-03-291-1/+1
|
* fixed opentype reference in Sphinx docIlya Etingof2017-11-231-1/+1
|
* Start `.prettyPrint` deprecation (#103)Ilya Etingof2017-11-191-1/+1
| | | | | | | * __str__() of ASN.1 types reworked to serve instead of .prettyPrint() Related changes: `str()` on enumerations and boolean will return a string label rather than a number.
* serialization -> serialisation nitpicksIlya Etingof2017-11-1411-32/+32
|
* added example code snippets to the docstrings (#101)Ilya Etingof2017-11-147-9/+54
|
* minor logo changeIlya Etingof2017-10-291-1/+1
|
* fixes to docs manifestIlya Etingof2017-10-281-1/+1
|
* fixes to Sphinx docs layoutIlya Etingof2017-10-266-72/+189
|
* minor tweaks of the docs themeIlya Etingof2017-10-221-11/+19
|
* docs on constraints added (#97)Ilya Etingof2017-10-2211-6/+168
|
* Add more content to docs (#96)Ilya Etingof2017-10-2147-10/+400
| | | | | | * minor fixes to RsT docstrings * more explanations in the docs, better linkage * cosmetic fixes to NamedValues() docstring
* Docs rearrangement (#88)Ilya Etingof2017-10-1158-0/+1698
Docs rearranged, simplified and reworded, Sphinx theme changed.