Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pysicgl

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pysicgl

sicgl for Python

  • 0.1.0
  • Source
  • PyPI
  • Socket score

Maintainers
1

popsicgl

pysicgl

pysicgl is a Python C extension interface for the sicgl graphics library.

both projects are young and would benefit from community involvement.

getting started as a developer

get submodules

git submodule update --init --recursive

set up the python environment

  • remove any existing virtual environment
  • create a new virtual environment
  • activate the virtual environment
  • install development dependencies
rm -rf venv
python3 -m venv venv # use your Python 3 interpreter
source venv/bin/activate
pip install -r requirements.dev.txt

build and develop pysicl

python setup.py build
python setup.py develop

run tests and install

python -m pytest
python setup.py test
python setup.py install

build and upload to pypi

Note: this is how you can do it manually, but it is automated by github actions.

git checkout <tag>
python setup.py sdist
twine upload dist/*

twine upload dist/* --repository-url https://test.pypi.org/legacy/

# username: __token__
# password: <token>
twine upload --repository testpypi dist/* # do a test upload
twine upload dist/* # do a real upload

formatting

source venv/bin/activate
./scripts/third-party/run-clang-format/run-clang-format.py -r include src
black .

design choices

color sequences

color sequences are immutable. side effects are not allowed.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc