smartcontractsecurity / swc-registry-python Goto Github PK
View Code? Open in Web Editor NEWPython library for accessing SWC-registry content
License: MIT License
Python library for accessing SWC-registry content
License: MIT License
Run tests from #2 on Circle CI
Add initial swc-definition.json file.
Maybe swc-registry
is a better package name
When the code open json file, UnicodeDecodeError occured.
> return loads(fp.read(),
cls=cls, object_hook=object_hook,
parse_float=parse_float, parse_int=parse_int,
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
E UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 2534: illegal multibyte sequence
..\appdata\local\programs\python\python37-32\lib\json\__init__.py:293: UnicodeDecodeError
========================== 5 failed in 0.43 seconds ===========================
Describe README.md : description, installation, usage and etc.
Deploy to pypi on successful tests run.
Basically I would like to see a few python files that show how to use the SWC library
Use cache if download from Github fails.
An empty string as defaults, not empty dicts for SWC fiield getters.
Add unittests to check module methods.
Should we raise exception in case if SWC does not exist
example:
from swc_registry import SWC
swc = SWC('1000')
print(swc.title)
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.