Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
httpkom is an HTTP proxy for LysKOM protocol A servers, and exposes an REST-like HTTP API. It can for example be used for writing LysKOM clients in Javascript.
The source code can be found at: https://github.com/osks/httpkom
Packages are published on PyPI: https://pypi.org/project/httpkom/
The documentation can be found at: http://osks.github.io/httpkom/
httpkom uses pylyskom <https://github.com/osks/pylyskom>
_, which
is also released under GPL.
For required Python packages, see requirements.txt. Install them with::
$ pip install -r requirements.txt
Preparing a release
TODO: How do we update the documentation on github pages?
On master:
Update and check CHANGELOG.md.
Increment version number and remove +dev
suffix
IN BOTH setup.py
AND httpkom/version.py
!
Test manually by using jskom.
Commit, push.
Tag (annotated) with v<version>
(example: v0.1
) and push the tag::
git tag -a v0.1 -m "Version 0.1"
git push origin v0.1
Build PyPI dist: make dist
Push to Test PyPI: twine upload --repository testpypi dist/*
and check
https://test.pypi.org/project/httpkom/ .
Push to PyPI: twine upload dist/*
and check
https://pypi.org/project/httpkom/ .
Add +dev
suffix to version number, commit and push.
Github release: Go to https://github.com/osks/httpkom/releases and draft a new release. Select tag and set title to "Version ", and then publish the release.
Tools
Install and update release tools with::
pip install --upgrade setuptools wheel pip twine
Twine is used for pushing the built dist to PyPI. The examples in the
release process depends on a .pypirc
file with config for the pypi
and testpypi repositories.
Example of .pypirc
::
[pypi]
username = __token__
password = pypi-...
[testpypi]
repository = https://test.pypi.org/legacy/
username = __token__
password = pypi-...
Oskar Skoog oskar@osd.se
Copyright (C) 2012-2022 Oskar Skoog
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
FAQs
REST-like HTTP API for LysKOM
We found that httpkom demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.