Python library for some advanced Linux system calls
Project description
tmsyscall
Requirements
Python 2.7 or 3.4+ (currently tested with 2.7, 3.4)
Installation
pip install tmsyscall
Usage
Check the documentation at http://tmsyscall.readthedocs.io/en/latest/
Something here.
Usage
Something else here.
Bugs and Feature Requests
Bug reports and feature requests are happily accepted via the GitHub Issue Tracker. Pull requests are welcome. Issues that don’t have an accompanying pull request will be worked on as my time and priority allows.
Development
To install for development:
Fork the tmsyscall repository on GitHub
Create a new branch off of master in your fork.
$ virtualenv tmsyscall
$ cd tmsyscall && source bin/activate
$ pip install -e git+git@github.com:YOURNAME/tmsyscall.git@BRANCHNAME#egg=tmsyscall
$ cd src/tmsyscall
The git clone you’re now in will probably be checked out to a specific commit, so you may want to git checkout BRANCHNAME.
Guidelines
pep8 compliant with some exceptions (see pytest.ini)
100% test coverage with pytest (with valid tests)
Testing
Testing is done via pytest, driven by tox.
testing is as simple as:
pip install tox
tox
If you want to pass additional arguments to pytest, add them to the tox command line after “–”. i.e., for verbose pytext output on py27 tests: tox -e py27 -- -v
Release Checklist
Open an issue for the release; cut a branch off master for that issue.
Confirm that there are CHANGES.rst entries for all major changes.
Ensure that Travis tests passing in all environments.
Ensure that test coverage is no less than the last release (ideally, 100%).
Increment the version number in tmsyscall/version and add version and release date to CHANGES.rst, then push to GitHub.
Confirm that README.rst renders correctly on GitHub.
Upload package to testpypi:
Make sure your ~/.pypirc file is correct (a repo called test for https://testpypi.python.org/pypi)
rm -Rf dist
python setup.py register -r https://testpypi.python.org/pypi
python setup.py sdist bdist_wheel
twine upload -r test dist/*
Check that the README renders at https://testpypi.python.org/pypi/tmsyscall
Create a pull request for the release to be merged into master. Upon successful Travis build, merge it.
Tag the release in Git, push tag to GitHub:
tag the release. for now the message is quite simple: git tag -s -a X.Y.Z -m 'X.Y.Z released YYYY-MM-DD'
push the tag to GitHub: git push origin X.Y.Z
Upload package to live pypi:
twine upload dist/*
make sure any GH issues fixed in the release were closed.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tmsyscall-0.0.8.tar.gz
.
File metadata
- Download URL: tmsyscall-0.0.8.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ac6506f159d15fc306888cefbe3a2eaf56b3cd02279bcf5cadfe948aae26605 |
|
MD5 | cdbd2e03c1faf686aed87af7413bdfbd |
|
BLAKE2b-256 | 63fc3ccb7463bd71c247cc58161b9409bcc16e9dd2706e5a7a7fb1dca4021c15 |
File details
Details for the file tmsyscall-0.0.8-py2.py3-none-any.whl
.
File metadata
- Download URL: tmsyscall-0.0.8-py2.py3-none-any.whl
- Upload date:
- Size: 24.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ead08894ceea0b6f5fd9b9a84b0511b428baecfe9e184f25e42a7818f9546ee3 |
|
MD5 | ae51794c202907e22afdced0a1a5067f |
|
BLAKE2b-256 | 3711d4967c9df3b43a34ee54e13f08bb8bdc9f973ade414fe8660fc3e19016a6 |