Giter Club home page Giter Club logo

luxon's Introduction

Installation

Tachyonic Luxon currently fully supports CPython 3.6.

CPython

A universal wheel is available on PyPI for Luxon. Installing it is as simple as:

$ pip3 install luxon

Installing the Luxon wheel is a conveniant way to get up and running quickly in a development environment, but for an extra speed boost when deploying your application in production, Luxon can compile itself with Cython.

The following commands tell pip to install Cython, and then to invoke Luxon's setup.py, which will in turn detect the presence of Cython and then compile the cythonized Luxon framework with the system's default C compiler.

$ pip3 install cython
$ pip3 install luxon

Source Code

Luxon infrastructure and code is hosted on GitHub. Making the code easy to browse, download, fork, etc. Pull requests are always welcome!

Clone the project like this:

$ git clone https://github.com/TachyonicProject/luxon.git

Once you have cloned the repo or downloaded a tarball from GitHub, you can install Tachyon like this:

$ cd luxon
$ pip3 install .

Or, if you want to edit the code, first fork the main repo, clone the fork to your development area, and then run the following to install it using symbolic linking, so that when you change your code, the changes will be automatically available to your app without having to reinstall the package.

Keep in mind Cythonized C code for all modules is included during install or develop. During development code alterations you need run setup.py after each change.

$ cd luxon
$ python3 setup.py develop

During development without explicitly running setup.py after each change, you can use the following. It clears the compiled .cpython.so modules to ensure code is loaded from Python sources.

$ python3 setup.py clean

You can manually test changes to the luxon by switching to the directory of the cloned repo:

$ python3 setup.py test

luxon's People

Contributors

hieronymuscrouse avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.